Content originally posted in LPCWare by rcazalis on Wed Aug 18 13:23:25 MST 2010
Hi again,
by the way, I've inserted all the C_CAN API code examples that is in the LPC11C14 user manual but I get an error message on:
ROM **rom = (ROM **)0x1fff1ff8UL;
Error message is:
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__USE_CMSIS=CMSISv1p30_LPC11xx -DDEBUG -D__CODE_RED -D__REDLIB__ -I"C:\Documents and Settings\User\My Documents\lpcxpresso_3.4\workspace\CMSISv1p30_LPC11xx\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -Wa,-ahlnds=main.asm -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/main.d" -MT"src/main.d" -o"src/main.o" "../src/main.c"
../src/main.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token