26
Committing
Updating
Reverting
Publishing
Appendix
Batch Scripts
make.bat
set PATH=<GnuWin32 Make install directory path>\bin;<GNU Tools ARM Embedded install path>\bin
make.exe
mbed.bat
set PATH=<Python27 install directory path>\scripts;<GNU Tools ARM Embedded install path>\bin
mbed.exe compile -t gcc_arm --build .\BUILD --profile .\mbed-os\tools\profiles\debug.json
MyStart.bat
pushd "C:\Program Files\OpenOCD\0.10.0-5-20171110-1117"
dir
.\bin\openocd.exe –d -s .\scripts -f board\st_nucleo_f4.cfg -c init -c "reset init"
popd
Supported Boards
pyocd-gdbserver
kl25z, kl26z, lpc824, k82f25615, lpc11xx_32, kinetis, lpc800, lpc4088qsb,
maxwsnenv, kl05z, k64f, lpc1768, lpc4088, lpc4330, max32600mb, k66f18,
w7500, ke18f16, k22f, lpc4088dm, ke15z7, kv11z7, nrf51, nrf52, kv10z7,
k20d50m, kl46z, stm32f103r, kl27z4, kw40z4, cortex_m, lpc11u24, stm32f051,
kl02z, ncs36510, kl28z, kl43z4, kw01z4
OpenOCD
Converting Release Build Makefiles to Debug Build MakeFiles
1. Open the Makefile in VSCODE
2. Search for the term –DTARGET_RELEASE and replace with –DTARGET_DEBUG
(you should find two occurrences – one in C_FLAGS and one in CXX_FLAGS
3. Search for the term eabi-gcc you should find three occurrences