Manual Build GNU-ARM project from Command line

<< Click to Display Table of Contents >>

Navigation:  Tips & Tricks > Compilers > GNU-ARM >

Manual Build GNU-ARM project from Command line

Previous pageReturn to chapter overviewNext page

1. Prepare the source code.


2. Open the directory of source files, delete .hex and .bin file to make sure they're re-created from next build process.


3. Run command line prompt (cmd.exe), change directory (cd) to source files location. Then run <modelname>.bat from command line console.


4. Console log after build process success. Now, new .hex and .bin files re-created.


5. Program the output file to MCU board with ST-Link Utilities (use only one of file format, .hex or .bin).

oST-LINK/V2 download page (You may already done this).
oReference and Instruction: UM0892: STM32 ST-LINK Utility software description