Revision 6feb961b README.txt
| README.txt | ||
|---|---|---|
| 81 | 81 |
1.1 - stm32flash |
| 82 | 82 |
---------------- |
| 83 | 83 |
|
| 84 |
To build the tool from source, clone the GIT repository to a local folder on |
|
| 85 |
your machine: |
|
| 86 |
>$ git clone git://git.code.sf.net/p/stm32flash/code |
|
| 87 |
Make sure that you have selected version 0.4 or later of the tool. You can now |
|
| 88 |
build the tool simply by executing 'make'. Finally, you must make the resulting |
|
| 89 |
binary (stm32flash) globally available in your environment. You can do so by |
|
| 90 |
either copying the file to an appropriate location (e.g. /usr/local/bin/) or |
|
| 91 |
creating an according link. The tool must be available as 'stm32flash' in every |
|
| 92 |
new shell. |
|
| 84 |
This tool is required to flash the bootloader binaries to the microcontrollers. |
|
| 85 |
Since it is included in this project as a submodule, you can just run the setup |
|
| 86 |
script in the root directory: |
|
| 87 |
>$ ./setup.sh |
|
| 88 |
Follow the instructions to download the source code and compile the tool. The |
|
| 89 |
resulting binary path is ./Host/stm32flash/stm32flash. |
|
| 90 |
|
|
| 91 |
The setup script does not install the tool to your system path, though, since |
|
| 92 |
this usually requires root permissions. However, stm32flash provides a Makefile |
|
| 93 |
with installation capabilities. Just Follow the instructions given in the file |
|
| 94 |
./Host/stm32flash/INSTALL. |
|
| 93 | 95 |
|
| 94 | 96 |
|
| 95 | 97 |
1.2 - GCC ARM Embedded Toolchain |
Also available in: Unified diff