File tree Expand file tree Collapse file tree 3 files changed +7
-260
lines changed
source/hic_hal/nordic/nrf52820 Expand file tree Collapse file tree 3 files changed +7
-260
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ common:
22
22
- source/hic_hal/nordic/nrf52820
23
23
- source/hic_hal/nordic/nrf52820/cmsis
24
24
- source/hic_hal/nordic/nrf52820/nrfx/drivers
25
+ - source/hic_hal/cmsis-driver/uart
25
26
26
27
tool_specific :
27
28
uvision :
Original file line number Diff line number Diff line change @@ -85,6 +85,12 @@ extern uint32_t i2c_sda_pin;
85
85
#define UART_TX_PIN uart_tx_pin
86
86
#define UART_RX_PIN uart_rx_pin
87
87
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
+
88
94
// I2C
89
95
#define I2C_SCL_PIN i2c_scl_pin
90
96
#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