Hi all and thanks to GBulmer for advice on libmaple. I have an STM32F4 disco board and would like to use the libmaple library to build sketches using Coocox or Keil. I have experience in importing files into both IDEs but have no idea how I would compile a .bin or .hex from a sketch file and the libmaple libraries. If anyone knows which files I would need to add to a new project using either Coocox or Keil could you please help?
I have some experience with these IDEs but not in starting a project from scratch,( expecially not a libmaple project.)
Thanks all.
Steve.
'Help needed to use STM32F4 with libmaple or Maple IDE
(3 posts) (2 voices)-
Posted 3 years ago #
-
Oh and also, I can successfully burn ala42's mapleboot.bin onto my board using the St-link ( windows not linux.)
I know I have talked to you before ala42 about this and am sorry it still hasn't sunk in..:oI have also just managed to get ala42's main.cpp built in a command shell using make tool. I had a problem at first with the process halting because an ld file couldn't find crt0.o
This was fixed by installing yagarto 4.6.2 (4.7.2 doesn't seem to have crt0.o) so now I can build the main.cpp file.
I have now tried changing the main.cpp file by replacing it with other examples from ala42's "examples" folder. I then burn the stm32_f4.bin to the board but as far as i can see it just overwrites the mapleboot.bin??
So if i can burn mapleboot.bin onto the board at address 0x8000000, how do I then burn the maple .cpp files onto it?
cheers again,
a sad and confused but enthusiastic persaon.Posted 3 years ago # -
While it is not an easy start, you can get the complete AeroQuad project from https://github.com/AeroQuad/AeroQuad/tree/development
Change the boardtype in BuildAq32\Makefile and Libmaple\libmaple\Makefile from aeroquad32 to discovery_f4
You find the batch file to build libmaple and the main aeroquad code in BuildAQ32. The easiest way to flash it is using the FlashV2.bat file over the on board STLinkV2.
If that works you can remove all the stuff you do not need.Posted 3 years ago #
Reply
You must log in to post.