diff options
Diffstat (limited to 'stm/mpconfigport.h')
| -rw-r--r-- | stm/mpconfigport.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/stm/mpconfigport.h b/stm/mpconfigport.h index 3577918be..75f6fe11b 100644 --- a/stm/mpconfigport.h +++ b/stm/mpconfigport.h @@ -27,6 +27,14 @@ machine_float_t machine_sqrt(machine_float_t x); #define PYBOARD4 //#define STM32F4DISC +#if defined(PYBOARD) || defined(PYBOARD4) +#define BOARD_HAS_MMA7660 (1) +#define BOARD_HAS_LIS3DSH (0) +#else +#define BOARD_HAS_MMA7660 (0) +#define BOARD_HAS_LIS3DSH (1) +#endif + #define STM32F40_41xxx #define USE_STDPERIPH_DRIVER #define HSE_VALUE (8000000) |
