Hi!
I am midway through compiling the STM32F4 / LibMaple.
I originally tried this through Win7, but decided to go back to Linux as this is my preferred choice when it comes to this sort of thing.
Ref:
http://leaflabs.com/docs/unix-toolchain.html#toolchain-test
https://github.com/leaflabs/maple-ide
https://github.com/gbulmer/openstm32sw/tree/master/stm32f4/libmaple
This is where I am getting a little 'unstuck'.
I am a little confused..
Can I run the STM32F4 SW solo, or do I need the original source and then overwrite the original source with the F4 lib structure?
I've tried both methods, and keep getting the same error.
I have managed to get my discovery running with st-util / st-flash, but wished to use the Maple IDE as I am familiar with Arduino.
These are the current errors I am getting (on make / make install):
/home/sickform/src/NewMaple/libraries/mapleSDfat/SdFile.cpp: In member function 'uint8_t SdFile::rmRfStar()':
/home/sickform/src/NewMaple/libraries/mapleSDfat/SdFile.cpp:912:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
arm-none-eabi-g++: error: unrecognized command line option '--print-gc-sections'
arm-none-eabi-g++: error: unrecognized command line option '--march=armv7-m'
make: *** [build/discovery_f4.elf] Error 1
Any help on this would be appreciated.
Thanks in advance.