Hello!
Thanks for all the help with choosing hardware and software. I’ve received the Blueboard LPC1768-H, and I intend to use Eclipse + Yagarto (no debugging yet). Unfortunately, I’ve already encountered a problem I can’t understand! I’ve Googled, but I’m still completely confused. First, here’s the problem:
More Info:**** Build of configuration Default for project starter ****
make all
arm-none-eabi-g++ -O2 -gdwarf-2 -mcpu=cortex-m3 -mthumb -mthumb-interwork -mlong-calls -ffunction-sections -fdata-sections -fpromote-loop-indices -Wall -Wextra -Wimplicit -Wcast-align -Wpointer-arith -Wredundant-decls -Wshadow -Wcast-qual -Wcast-align -fno-rtti -fno-exceptions -I./ -Iinc/delay -Iinc/mini_cpp -Iinc/syscalls -Icore/cm3/ -I. -c main.cpp -o main.o
cc1plus.exe: warning: command line option ‘-Wimplicit’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus.exe: error: unrecognized command line option ‘-fpromote-loop-indices’
make: *** [main.o] Error 1
I get this in the “Console” tab in Eclipse. For installation, I followed instructions found in these links:
http://www.yagarto.de/howto/yagarto2/index.html and
http://msys-mv.blogspot.com/2010/10/sof … -with.html
I followed the instructions as closely as I can, and installed Yagarto instead of CodeSourcery’s G++ Lite. In short, I installed Yagarto Tools and Yagarto Toolchain → For Eclipse, I extracted it (it’s the 64 bit version), updated it, installed CDT as per instructions (plus a plugin called CDT Cross ARM GNU). I then started a project and imported files found here: http://cortex-m3-tutorials.googlecode.c … ar2011.rar, and selected GNU ELF Parser as the Binary Parser.
Everything seemed fine. I hit CTRL+B (to build all), and there are no errors. However, the moment I change something in main.cpp, I get the error above. All I’m trying to do is get the project to build with my own code!
Can anyone shed some light on this? Thank you!