Skip to content

Commit

Permalink
applications: nrf5340_audio: Disable RTC pretick workaround for B0N
Browse files Browse the repository at this point in the history
Disable the RTC pretick anomaly workaround for B0N. The workaround
causes a resource conflict between B0N and the controller, causing
the controller to never start advertising. As the controller does not
use RTC to wake up from sleep it is not affected by the anomaly.

Signed-off-by: Andreas Vibeto <[email protected]>
  • Loading branch information
andvib authored and cvinayak committed Dec 15, 2023
1 parent 2696599 commit 52b34ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions applications/nrf5340_audio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ if ((CONFIG_AUDIO_DFU EQUAL 1) OR (CONFIG_AUDIO_DFU EQUAL 2))
list(APPEND empty_net_core_OVERLAY_CONFIG
"${CMAKE_CURRENT_LIST_DIR}/dfu/conf/overlay-empty_net_core.conf"
)

# Disable pretick anomaly workaround. The workaround causes a resource conflict between B0N and
# the controller, and as the controller does not use RTC to wake up from sleep it is not
# affected by the anomaly.
list(APPEND empty_net_core_b0n_CONFIG_SOC_NRF53_RTC_PRETICK n)

if (CONFIG_B0N_MINIMAL)
set(min_b0n_flag "-m")
list(APPEND empty_net_core_b0n_OVERLAY_CONFIG overlay-minimal-size.conf)
Expand Down

0 comments on commit 52b34ac

Please sign in to comment.