Skip to content

Commit

Permalink
drivers serial nrfx: Apply workaround also for bsim targets
Browse files Browse the repository at this point in the history
Or more precisely, do not remove the workaround for them.
The current HW models are accurate enough in this area for the
workaround to work properly.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
  • Loading branch information
aescolar authored and kartben committed Nov 29, 2024
1 parent c2778e7 commit fedda6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/serial/uart_nrfx_uarte.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@

LOG_MODULE_REGISTER(uart_nrfx_uarte, CONFIG_UART_LOG_LEVEL);

#if !defined(CONFIG_ARCH_POSIX)
#define RX_FLUSH_WORKAROUND 1
#endif

#define UARTE(idx) DT_NODELABEL(uart##idx)
#define UARTE_HAS_PROP(idx, prop) DT_NODE_HAS_PROP(UARTE(idx), prop)
Expand Down

0 comments on commit fedda6d

Please sign in to comment.