I'm testing Argon RTOS on a ATSAM4LS8C, which is a Cortex-M4 without FPU.
When compiling for this chip, gcc assembler refuses to translate the FPU-specific instructions (see below).
I added an alternative ar_handlers_cm4_nofpu.S which does the same as ar_handlers_cm4.S, but without doing the FPU-specific extended frame handling.
/home/patrick/src/argon-rtos/src/cortex_m/ar_handlers_cm4.S: Assembler messages:
/home/patrick/src/argon-rtos/src/cortex_m/ar_handlers_cm4.S:64: Error: selected FPU does not support instruction -- `vstmdb r0!,{s16-s31}'
/home/patrick/src/argon-rtos/src/cortex_m/ar_handlers_cm4.S:90: Error: selected FPU does not support instruction -- `vldmia r0!,{s16-s31}'
I'm testing Argon RTOS on a ATSAM4LS8C, which is a Cortex-M4 without FPU. When compiling for this chip, gcc assembler refuses to translate the FPU-specific instructions (see below).
I added an alternative
ar_handlers_cm4_nofpu.S
which does the same asar_handlers_cm4.S
, but without doing the FPU-specific extended frame handling.