Skip to content

Commit 00dcf04

Browse files
robert-hhdpgeorge
authored andcommitted
samd/mcu: Add floating point suport for SAMD21 devices.
For consistency it should be there.
1 parent d9338aa commit 00dcf04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ports/samd/mcu/samd21/mpconfigmcu.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
#define MICROPY_EMIT_THUMB (0)
88
#define MICROPY_EMIT_INLINE_THUMB (0)
99

10-
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE)
10+
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
11+
#define MICROPY_PY_BUILTINS_COMPLEX (0)
12+
#define MICROPY_PY_MATH (0)
13+
#define MICROPY_PY_CMATH (0)
1114

1215
#define MICROPY_HW_FLASH_STORAGE_BASE (0x30000)
1316
#define MICROPY_HW_FLASH_STORAGE_BYTES (0xFFFF)

0 commit comments

Comments
 (0)