Hi all,
I have C::B 10.05 and have downloaded the latest Yagarto GNU ARM toolset with the intent of working on a project based around an LPC1756 Cortex-M3. I desperately need assistance to get this going.
Under Settings>Compiler and Debugger... I have selected the GNU ARM GCC Compiler and have set the Toolchain Executables to the various required exe files (e.g. arm-none-eabi-gcc.exe for the C compiler) and ensured that the installation directory points to my Yagarto install. Under Project>Properties...>Project's Build Options in the Linker Settings tab I have the following:
-Wl,-Map,map.txt
-mcpu=cortex-m3
-T ld/LPC17xx_Linker_Script.ld
Under the Compiler Settings tab I have the following under the "Other Options" tab:
-fno-common
-mcpu=cortex-m3
My current "test project" is very simple main.c. The main problem I'm seeing right now (the first of many I bet) is that I get the following error when I try to build things:
src\LPC17xx_Startup.c|1|error: target CPU does not support ARM mode|
||=== Build finished: 1 errors, 0 warnings ===|
I suspect I may have an issue with having to have chosen a non-Cortex device in the wizard and now I've missed something...
Is there a tutorial around showing how to set up C::B for use with an ARM Cortex device or can someone offer some insight as to why I'm getting this error?
Thanks.