diff options
| author | hathach <thach@tinyusb.org> | 2018-09-24 14:37:28 +0700 |
|---|---|---|
| committer | hathach <thach@tinyusb.org> | 2018-09-24 14:56:52 +0700 |
| commit | fdd3e91753a74dc779fbb001abaf6b2d0761ec42 (patch) | |
| tree | d7c1ceb430fce28de4332f4feda06f5875981b9a /ports/nrf/nrfx_config.h | |
| parent | 7a1b4ccc9b52b5e7da62748a15d5e334d485738f (diff) | |
changing to nrf uarte, tx works fine
Diffstat (limited to 'ports/nrf/nrfx_config.h')
| -rw-r--r-- | ports/nrf/nrfx_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/nrf/nrfx_config.h b/ports/nrf/nrfx_config.h index cc4d19327..0ccfecb21 100644 --- a/ports/nrf/nrfx_config.h +++ b/ports/nrf/nrfx_config.h @@ -45,8 +45,13 @@ #define NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0 // UART +#if 0 #define NRFX_UART_ENABLED 1 #define NRFX_UART0_ENABLED 1 +#else +#define NRFX_UARTE_ENABLED 1 +#define NRFX_UARTE0_ENABLED 1 +#endif #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 7 #define NRFX_UART_DEFAULT_CONFIG_HWFC NRF_UART_HWFC_DISABLED |
