We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent debac3e commit 557290fCopy full SHA for 557290f
1 file changed
ports/qemu/mcu/arm/startup.c
@@ -47,7 +47,7 @@ __attribute__((naked)) void Reset_Handler(void) {
47
for (uint32_t *dest = &_sbss; dest < &_ebss;) {
48
*dest++ = 0;
49
}
50
- #if MICROPY_HW_FPU && defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH == 7
+ #if MICROPY_HW_FPU && defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH >= 7
51
// initialise the FPU (full access to CP10 and CP11, as per B3.2.20)
52
*((volatile uint32_t *)0xE000ED88) |= 0x00F00000;
53
__asm volatile ("dsb");
0 commit comments