Skip to content

Instantly share code, notes, and snippets.

@chmanie
Last active May 24, 2020 00:07
Show Gist options
  • Save chmanie/37565de568d8bc36329b90533b12e344 to your computer and use it in GitHub Desktop.
Save chmanie/37565de568d8bc36329b90533b12e344 to your computer and use it in GitHub Desktop.
  1. cd mutable-dev-environment
  2. vagrant up
  3. vagrant ssh
  4. cd /vagrant
  5. git clone https://github.com/forestcaver/parasites.git --recursive # Mind the --recursive!!! It will fail at the last step but we'll fix it
  6. cd parasites
  7. git clone https://github.com/mqtthiqs/stmlib.git
  8. cd stmlib && git checkout 8ab2aae
  9. Go into parasites folder and see if there is a folder labeled build, if not, then create one.
  10. Go inside build folder. Create another folder and label the new folder as warps_bootloader
  11. make -f warps/bootloader/makefile hex
  12. make -f warps/makefile
  13. export PGM_INTERFACE=stlink-v2 (in case that you are using a stlink/v2)
  14. export PGM_INTERFACE_TYPE=hla (although Forest Caver wrote that it is refundant, but I don’t know why)
  15. make -f warps/makefile upload_combo_jtag (in case that you are using a stlink/v2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment