nrf/boards/wt51822_s4at: Fixes after nrfx and Pin IRQ introduction

This commit is contained in:
Glenn Ruben Bakke 2018-04-10 21:56:47 +02:00 committed by Damien George
parent 72aacef02e
commit f4382a2885
2 changed files with 5 additions and 19 deletions

View File

@ -41,12 +41,12 @@
#define MICROPY_HW_HAS_LED (0) #define MICROPY_HW_HAS_LED (0)
// UART config // UART config
#define MICROPY_HW_UART1_RX (pin_P1) #define MICROPY_HW_UART1_RX (1)
#define MICROPY_HW_UART1_TX (pin_P2) #define MICROPY_HW_UART1_TX (2)
#define MICROPY_HW_UART1_HWFC (0) #define MICROPY_HW_UART1_HWFC (0)
// SPI0 config // SPI0 config
#define MICROPY_HW_SPI0_NAME "SPI0" #define MICROPY_HW_SPI0_NAME "SPI0"
#define MICROPY_HW_SPI0_SCK (pin_P9) #define MICROPY_HW_SPI0_SCK (9)
#define MICROPY_HW_SPI0_MOSI (pin_P10) #define MICROPY_HW_SPI0_MOSI (10)
#define MICROPY_HW_SPI0_MISO (pin_P13) #define MICROPY_HW_SPI0_MISO (13)

View File

@ -1,14 +0,0 @@
#ifndef NRF51_HAL_CONF_H__
#define NRF51_HAL_CONF_H__
#define HAL_UART_MODULE_ENABLED
#define HAL_SPI_MODULE_ENABLED
#define HAL_TIME_MODULE_ENABLED
#define HAL_RTC_MODULE_ENABLED
#define HAL_TIMER_MODULE_ENABLED
#define HAL_TWI_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
#define HAL_TEMP_MODULE_ENABLED
#define HAL_RNG_MODULE_ENABLED
#endif // NRF51_HAL_CONF_H__