Skip to content

Commit

Permalink
samd/mcu: Add floating point suport for SAMD21 devices.
Browse files Browse the repository at this point in the history
For consistency it should be there.
  • Loading branch information
robert-hh authored and dpgeorge committed Oct 6, 2022
1 parent d9338aa commit 00dcf04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ports/samd/mcu/samd21/mpconfigmcu.h
Expand Up @@ -7,7 +7,10 @@
#define MICROPY_EMIT_THUMB (0)
#define MICROPY_EMIT_INLINE_THUMB (0)

#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_NONE)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
#define MICROPY_PY_BUILTINS_COMPLEX (0)
#define MICROPY_PY_MATH (0)
#define MICROPY_PY_CMATH (0)

#define MICROPY_HW_FLASH_STORAGE_BASE (0x30000)
#define MICROPY_HW_FLASH_STORAGE_BYTES (0xFFFF)
Expand Down

0 comments on commit 00dcf04

Please sign in to comment.