...
Code Block |
---|
# to build project
make all
# to open a serial port (make sure /dev/tty0/ACM0 exists first)
minicom -b 115200 -o -D /dev/ttyACM0
# to emulate MCU code
renode
# to flash STM board with Raspberry Pi Probe
openocd -f interface/cmsis-dap.cfg -f target/stm32f4x.cfg -c "adapter speed 5000" -c "program ./build/cerberus.elf verify reset exit" |