| Can't make CodeSourcery G++ for ARM m4 work on Eclipse [message #853257]
||Sun, 22 April 2012 22:04
| Danny M
Registered: April 2012
Not sure if it's an Eclipse issue, either way, I could really really use some help.|
I have plenty of experience with microcontrollers, C, and the PIC MPLAB IDE. I now have the STM32F4 Discovery kit with the ARM Cortex m4 on it. So, time to learn a new thing, but the toolchain for the m4 seems to be less than "well-established".
I tried to follow the procedure at http: //shareee.netne.net/wordpress/?p=5 to use CodeSourcery G++ Lite for Cortex m4 with the demo LED_Blink project, designed for the STM32F4 board, with the Eclipse Indigo IDE.
I had trouble with the long list shown there in "Paths and Symbols", no such list was showing up by default and the install path names for my EABI package was somewhat different. I skipped that step, tried to compile, of course it bombed because it couldn't find certain files, I looked for where those files were and added them under "Paths and Symbols".
Now I get a situation where there are no FILES which can't be found, so that's good, but an issue of unresolved symbols shows up from core_cm4.h:
make: *** [Template.elf] Error 1
Symbol '__NVIC_PRIO_BITS' could not be resolved (this repeats a bunch of times on the error list)
undefined reference to '_init'
I don't understand what would cause these errors, the LED_Blink project should be complete and very simple. Any help?
I do have a warning about a duplicate path entry, but I don't think it's related to this.
[Updated on: Mon, 23 April 2012 01:31]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03249 seconds