nrf/boards/wt51822_s4at: Fixes after nrfx and Pin IRQ introduction
This commit is contained in:
parent
72aacef02e
commit
f4382a2885
|
@ -41,12 +41,12 @@
|
|||
#define MICROPY_HW_HAS_LED (0)
|
||||
|
||||
// UART config
|
||||
#define MICROPY_HW_UART1_RX (pin_P1)
|
||||
#define MICROPY_HW_UART1_TX (pin_P2)
|
||||
#define MICROPY_HW_UART1_RX (1)
|
||||
#define MICROPY_HW_UART1_TX (2)
|
||||
#define MICROPY_HW_UART1_HWFC (0)
|
||||
|
||||
// SPI0 config
|
||||
#define MICROPY_HW_SPI0_NAME "SPI0"
|
||||
#define MICROPY_HW_SPI0_SCK (pin_P9)
|
||||
#define MICROPY_HW_SPI0_MOSI (pin_P10)
|
||||
#define MICROPY_HW_SPI0_MISO (pin_P13)
|
||||
#define MICROPY_HW_SPI0_SCK (9)
|
||||
#define MICROPY_HW_SPI0_MOSI (10)
|
||||
#define MICROPY_HW_SPI0_MISO (13)
|
||||
|
|
|
@ -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__
|
Loading…
Reference in New Issue