nrf_wifi: Move QSPI defines to buslib
These are QSPI related which is part of buslib. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
parent
b84076a192
commit
49a8dd51e4
2 changed files with 12 additions and 11 deletions
|
@ -70,17 +70,6 @@ zephyr_library_sources_ifdef(CONFIG_NRF70_DEBUG_SHELL
|
|||
src/debug_shell.c
|
||||
)
|
||||
|
||||
zephyr_compile_definitions_ifdef(CONFIG_NRF70_ON_QSPI
|
||||
# These are XIP related anomalies and aren't applicable for nRF7002 and cause
|
||||
# throughput issues.
|
||||
-DNRF53_ERRATA_43_ENABLE_WORKAROUND=0
|
||||
-DNRF52_ERRATA_215_ENABLE_WORKAROUND=0
|
||||
# nRF70 QSPI doesn't use 192MHz clock and most samples use 128MHz, this can cause anomaly 159
|
||||
# but as its rare and not seen in most cases, we can disable it.
|
||||
# Alternative is 128MHz CPU should be disabled that impacts Wi-Fi performance.
|
||||
-DNRF53_ERRATA_159_ENABLE_WORKAROUND=0
|
||||
)
|
||||
|
||||
zephyr_library_link_libraries(nrf70-buslib nrf-wifi-shim)
|
||||
|
||||
if (CONFIG_NRF_WIFI_PATCHES_BUILTIN)
|
||||
|
|
|
@ -7,6 +7,18 @@
|
|||
set(NRF_WIFI_DIR ${ZEPHYR_CURRENT_MODULE_DIR})
|
||||
|
||||
if (CONFIG_NRF70_BUSLIB)
|
||||
|
||||
zephyr_compile_definitions_ifdef(CONFIG_NRF70_ON_QSPI
|
||||
# These are XIP related anomalies and aren't applicable for nRF7002 and cause
|
||||
# throughput issues.
|
||||
-DNRF53_ERRATA_43_ENABLE_WORKAROUND=0
|
||||
-DNRF52_ERRATA_215_ENABLE_WORKAROUND=0
|
||||
# nRF70 QSPI doesn't use 192MHz clock and most samples use 128MHz, this can cause anomaly 159
|
||||
# but as its rare and not seen in most cases, we can disable it.
|
||||
# Alternative is 128MHz CPU should be disabled that impacts Wi-Fi performance.
|
||||
-DNRF53_ERRATA_159_ENABLE_WORKAROUND=0
|
||||
)
|
||||
|
||||
zephyr_library_named(nrf70-buslib)
|
||||
zephyr_library_include_directories(
|
||||
inc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue