-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
- Type: Bug
- Priority: Blocker
- Branch: https://github.com/ARMmbed/mbed-os/tree/feature_cmsis5
- Related: cmsis5/rtx2: ST: execution never leaves SystemInit #3683
Bug
Target
Nucleo F401RE
Toolchain:
ARM
Toolchain version:
uVision 5.2
ARMC 5.06
Expected behavior
It compiles for both ARMC and uVision
Actual behavior
It works fine for ARMC:
mbed compile -t arm -m nucleo_f401re -c
[...]
Link: mbed-os
Elf2Bin: mbed-os
+-----------+-------+-------+------+
| Module | .text | .data | .bss |
+-----------+-------+-------+------+
| Misc | 36516 | 1725 | 5808 |
| Subtotals | 36516 | 1725 | 5808 |
+-----------+-------+-------+------+
Allocated Heap: unknown
Allocated Stack: unknown
Total Static RAM memory (data + bss): 7533 bytes
Total RAM memory (data + bss + heap + stack): 7533 bytes
Total Flash memory (text + data + misc): 38241 bytes
Image: .\BUILD\nucleo_f401re\arm\mbed-os.bin
but for uVision:
mbed export -m nucleo_f401re -i uvision5
I'm getting errors:
assembling irq_cm4f.s...
rtos\rtx2\TARGET_CORTEX_M\TARGET_RTOS_M4_M7\TOOLCHAIN_ARM\irq_cm4f.s(81): error: A1854E: Unknown opcode 'VSTMDBEQ', maybe wrong target CPU?
rtos\rtx2\TARGET_CORTEX_M\TARGET_RTOS_M4_M7\TOOLCHAIN_ARM\irq_cm4f.s(97): error: A1854E: Unknown opcode 'VLDMIAEQ', maybe wrong target CPU?
F401 has FPU so that should work, not to mention that it works fine for CLI ARMC build. It's a blocker for cmsis update, as ST guys can't really debug their boards with the feature branch.