![]() ![]() Running this bat-file should do the job! If all goes well, you get one. Huray, now I got all the GNU tools up and running on my system! I put the following build.bat file in the same folder as the makefile: off Next I made a new folder on my harddrive and copied all these GNU tools into it: C:\Apps\AC6GCCĪnd I add these entries to the "Environment Path variable": - C:\Apps\AC6GCC\bin ) in the following folder, after installing SW4STM32 (System Workbench for STM32): C:\Ac6\SystemWorkbench\plugins\fr.-none.win32_1.02121829\tools\compiler\ Note that I found the GNU tools (compiler, linker, make utility, GDB. You don't need Eclipse anymore for that! Especially if you can read (and understand) the makefile and tweak it to your needs when your project advances. ![]() Once you know where they are, all you've got to do is opening a command terminal, and type the GNU make command. The key to success was finding out where Eclipse puts its make-files for a specific project. I am now able to compile and link my software into a binary. Please open all the command terminals with admin rights. ![]() But most stuff explained here also applies on Linux systems. To get such deeper understanding, it would be wonderful to run the whole procedure from the command line. I'd like to discover what happens behind the scenes when I build (compile - link - flash) my software, and when I run a debug session. Eclipse has definitely its merits, but I'd like to feel independent from this IDE. The standard (low-cost) way to program ARM microcontrollers is using Eclipse with a complex toolchain plugged into it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |