I am using the SAM4s Xplained board and I did successfully compile the Starter_kit demo1 and downloaded the application and verified the operation with the ATMEL studio 7.0 debugger.
The board uses the ATSAM4sD32C chip with is the M4 family . I copied all the FReeRTOS files including the portc for CM4F and I am getting the errors shown below. Looking at the specification, it does say that this processor support the Thumb -2 instruction set and is an ARM CORTEX RISC processor.
Any ideas?
Thanks,
charles
Invoking: ARM/GNU C Compiler : 6.2.1
"C:Program FilesAtmelStudio7.0toolchainarmarm-gnu-toolchainbinarm-none-eabi-gcc.exe" -x c -mthumb -D__SAM4SD32C__ -DDEBUG -DBOARD=SAM4S_XPLAINED_PRO -D__SAM4SD32C__ -DSD_MMC_ENABLE -DARM_MATH_CM4=true -Dprintf=iprintf -Dscanf=iscanf
-tudio7.0STARTER_KIT_DEMO1STARTER_KIT_DEMO1Debug{standard input}(456,1):
error: selected processor does not support `vstmdbeq r0!,{s16-s31}' in Thumb mode
Studio7.0STARTER
KITDEMO1STARTER
KITDEMO1Debug{standard input}(458,1): error: instruction not allowed in IT block —
stmdb r0!,{r4-r11,r14}'
Studio7.0STARTER_KIT_DEMO1STARTER_KIT_DEMO1Debug{standard input}(478,1): error: selected processor does not support
vldmiaeq r0!,{s16-s31}’ in Thumb mode
Studio7.0STARTER
KITDEMO1STARTER
KITDEMO1Debug{standard input}(480,1): error: instruction not allowed in IT block — `msr psp,r0′