Cortex-m4 Error: lo register required
Asked by
Clive Stubbings
Hi,
I'm trying to build some cortex-m4 code with the gcc-arm-
arm-none-eabi-gcc seems to be compiling OK, but I can't assemble a '.s' file.
This is pure assembler (not gcc output), but it does assemble with the freescale codewarrior assembler.
Options to arm-none-eabi-as are
-mthumb -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -EL
But I get a load of errors like
Error: lo register required -- `stmdb r0!,{r4-r11}'
Am I missing something obvious?
Thanks
Clive
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Terry Guo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.