Skip to content

Commit

Permalink
Revert "nrfx: drivers: nrfx_uarte: skip flush workaround for BSIM tar…
Browse files Browse the repository at this point in the history
…get"

This reverts commit 54bde38.

Let's not treat differently the simulated targets than others.
The workaround works on them with the updated HW models.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
  • Loading branch information
aescolar committed Nov 29, 2024
1 parent 95ec8e4 commit 5fbccc3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nrfx/drivers/src/nrfx_uarte.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@
#define MIN_RX_CACHE_SIZE 8
// There is a HW bug which results in RX amount value not being updated when FIFO was empty.
// It is then hard to determine if FIFO contained anything or not.
#if defined(CONFIG_SOC_SERIES_BSIM_NRFXX)
#define USE_WORKAROUND_FOR_FLUSHRX_ANOMALY 0
#else
#define USE_WORKAROUND_FOR_FLUSHRX_ANOMALY 1
#endif

// Size of the RX HW FIFO
#define UARTE_HW_RX_FIFO_SIZE 5
Expand Down

0 comments on commit 5fbccc3

Please sign in to comment.