nrf5/boards: Enable hardware I2C machine module for pca10028 (nrf51), pca10040 (nrf52832) and pca10056 (nrf52840) boards.

This commit is contained in:
Glenn Ruben Bakke 2017-01-11 16:54:00 +01:00
parent 8ca63e7196
commit 383db817f9
3 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@
#define MICROPY_PY_MACHINE_PWM (0) #define MICROPY_PY_MACHINE_PWM (0)
#define MICROPY_PY_MACHINE_TIMER (1) #define MICROPY_PY_MACHINE_TIMER (1)
#define MICROPY_PY_MACHINE_RTC (1) #define MICROPY_PY_MACHINE_RTC (1)
#define MICROPY_PY_MACHINE_HW_I2C (1)
#define MICROPY_PY_USOCKET (0) #define MICROPY_PY_USOCKET (0)
#define MICROPY_PY_NETWORK (0) #define MICROPY_PY_NETWORK (0)

View File

@ -34,6 +34,7 @@
#define MICROPY_PY_MACHINE_SPI (1) #define MICROPY_PY_MACHINE_SPI (1)
#define MICROPY_PY_MACHINE_TIMER (1) #define MICROPY_PY_MACHINE_TIMER (1)
#define MICROPY_PY_MACHINE_RTC (1) #define MICROPY_PY_MACHINE_RTC (1)
#define MICROPY_PY_MACHINE_HW_I2C (1)
#define MICROPY_PY_DISPLAY (1) #define MICROPY_PY_DISPLAY (1)
#define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (1) #define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (1)

View File

@ -32,6 +32,7 @@
#define MICROPY_PY_MACHINE_PWM (1) #define MICROPY_PY_MACHINE_PWM (1)
#define MICROPY_PY_MACHINE_SPI (1) #define MICROPY_PY_MACHINE_SPI (1)
#define MICROPY_PY_MACHINE_HW_I2C (1)
#define MICROPY_PY_DISPLAY (1) #define MICROPY_PY_DISPLAY (1)
#define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (1) #define MICROPY_PY_DISPLAY_EPAPER_SLD00200P (1)