Content originally posted in LPCWare by okano on Tue Feb 25 19:40:20 MST 2014
A library "CMSISv1p30_LPC13xx" cannot be build on LPCXpresso ver.7.
It shows error message like below.
Any suggestion to fix this?
11:36:35 **** Build of configuration Debug for project CMSISv1p30_LPC13xx ****
make all
Building file: ../src/core_cm3.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -DDEBUG -D__CODE_RED -D__REDLIB__ -I"/Users/tedd/Documents/LPCXpresso_7.0.0/workspace/CMSISv1p30_LPC13xx/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -mcpu=cortex-m3 -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"src/core_cm3.d" -MT"src/core_cm3.d" -o "src/core_cm3.o" "../src/core_cm3.c"
/var/folders/q0/zbz1k45n2nd_glxn8d0_gl580000gq/T//ccjj72lU.s: Assembler messages:
/var/folders/q0/zbz1k45n2nd_glxn8d0_gl580000gq/T//ccjj72lU.s:772: Error: registers may not be the same -- `strexb r3,r2,[r3]'
/var/folders/q0/zbz1k45n2nd_glxn8d0_gl580000gq/T//ccjj72lU.s:818: Error: registers may not be the same -- `strexh r3,r2,[r3]'
make: *** [src/core_cm3.o] Error 1
11:36:35 Build Finished (took 109ms)