nrf5/boards: Enable TWI hal for pca10028 (nrf51), pca10040 (nrf52832) and pca10056 (nrf52840) boards.
This commit is contained in:
parent
d7eec2032e
commit
8ca63e7196
|
@ -6,5 +6,6 @@
|
||||||
#define HAL_TIME_MODULE_ENABLED
|
#define HAL_TIME_MODULE_ENABLED
|
||||||
#define HAL_RTC_MODULE_ENABLED
|
#define HAL_RTC_MODULE_ENABLED
|
||||||
#define HAL_TIMER_MODULE_ENABLED
|
#define HAL_TIMER_MODULE_ENABLED
|
||||||
|
#define HAL_TWI_MODULE_ENABLED
|
||||||
|
|
||||||
#endif // NRF51_HAL_CONF_H__
|
#endif // NRF51_HAL_CONF_H__
|
||||||
|
|
|
@ -2,12 +2,14 @@
|
||||||
#define NRF52_HAL_CONF_H__
|
#define NRF52_HAL_CONF_H__
|
||||||
|
|
||||||
#define HAL_UART_MODULE_ENABLED
|
#define HAL_UART_MODULE_ENABLED
|
||||||
// #define HAL_UARTE_MODULE_ENABLED
|
|
||||||
#define HAL_SPI_MODULE_ENABLED
|
#define HAL_SPI_MODULE_ENABLED
|
||||||
// #define HAL_SPIE_MODULE_ENABLED
|
|
||||||
#define HAL_TIME_MODULE_ENABLED
|
#define HAL_TIME_MODULE_ENABLED
|
||||||
#define HAL_PWM_MODULE_ENABLED
|
#define HAL_PWM_MODULE_ENABLED
|
||||||
#define HAL_RTC_MODULE_ENABLED
|
#define HAL_RTC_MODULE_ENABLED
|
||||||
#define HAL_TIMER_MODULE_ENABLED
|
#define HAL_TIMER_MODULE_ENABLED
|
||||||
|
#define HAL_TWI_MODULE_ENABLED
|
||||||
|
// #define HAL_UARTE_MODULE_ENABLED
|
||||||
|
// #define HAL_SPIE_MODULE_ENABLED
|
||||||
|
// #define HAL_TWIE_MODULE_ENABLED
|
||||||
|
|
||||||
#endif // NRF52_HAL_CONF_H__
|
#endif // NRF52_HAL_CONF_H__
|
||||||
|
|
|
@ -2,10 +2,14 @@
|
||||||
#define NRF52_HAL_CONF_H__
|
#define NRF52_HAL_CONF_H__
|
||||||
|
|
||||||
#define HAL_UART_MODULE_ENABLED
|
#define HAL_UART_MODULE_ENABLED
|
||||||
// #define HAL_UARTE_MODULE_ENABLED
|
|
||||||
#define HAL_SPI_MODULE_ENABLED
|
#define HAL_SPI_MODULE_ENABLED
|
||||||
// #define HAL_SPIE_MODULE_ENABLED
|
|
||||||
#define HAL_TIME_MODULE_ENABLED
|
#define HAL_TIME_MODULE_ENABLED
|
||||||
#define HAL_PWM_MODULE_ENABLED
|
#define HAL_PWM_MODULE_ENABLED
|
||||||
|
#define HAL_RTC_MODULE_ENABLED
|
||||||
|
#define HAL_TIMER_MODULE_ENABLED
|
||||||
|
#define HAL_TWI_MODULE_ENABLED
|
||||||
|
// #define HAL_UARTE_MODULE_ENABLED
|
||||||
|
// #define HAL_SPIE_MODULE_ENABLED
|
||||||
|
// #define HAL_TWIE_MODULE_ENABLED
|
||||||
|
|
||||||
#endif // NRF52_HAL_CONF_H__
|
#endif // NRF52_HAL_CONF_H__
|
||||||
|
|
Loading…
Reference in New Issue