File tree Expand file tree Collapse file tree 3 files changed +7
-262
lines changed
source/hic_hal/nordic/nrf52820 Expand file tree Collapse file tree 3 files changed +7
-262
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ common:
2222 - source/hic_hal/nordic/nrf52820
2323 - source/hic_hal/nordic/nrf52820/cmsis
2424 - source/hic_hal/nordic/nrf52820/nrfx/drivers
25+ - source/hic_hal/cmsis-driver/uart
2526
2627tool_specific :
2728 uvision :
Original file line number Diff line number Diff line change @@ -85,6 +85,12 @@ extern uint32_t i2c_sda_pin;
8585#define UART_TX_PIN uart_tx_pin
8686#define UART_RX_PIN uart_rx_pin
8787
88+ // cmsis-driver/uart/uart.c configuration
89+ #include "Driver_USART.h"
90+ extern ARM_DRIVER_USART Driver_USART0 ;
91+ #define CMSIS_UART_INSTANCE (Driver_USART0)
92+ #define CMSIS_UART_IRQ (UARTE0_UART0_IRQn)
93+
8894// I2C
8995#define I2C_SCL_PIN i2c_scl_pin
9096#define I2C_SDA_PIN i2c_sda_pin
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments