File tree 2 files changed +12
-11
lines changed
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -70,17 +70,6 @@ zephyr_library_sources_ifdef(CONFIG_NRF70_DEBUG_SHELL
70
70
src/debug_shell.c
71
71
)
72
72
73
- zephyr_compile_definitions_ifdef(CONFIG_NRF70_ON_QSPI
74
- # These are XIP related anomalies and aren't applicable for nRF7002 and cause
75
- # throughput issues.
76
- -DNRF53_ERRATA_43_ENABLE_WORKAROUND=0
77
- -DNRF52_ERRATA_215_ENABLE_WORKAROUND=0
78
- # nRF70 QSPI doesn't use 192MHz clock and most samples use 128MHz, this can cause anomaly 159
79
- # but as its rare and not seen in most cases, we can disable it.
80
- # Alternative is 128MHz CPU should be disabled that impacts Wi-Fi performance.
81
- -DNRF53_ERRATA_159_ENABLE_WORKAROUND=0
82
- )
83
-
84
73
zephyr_library_link_libraries(nrf70-buslib nrf-wifi-shim)
85
74
86
75
if (CONFIG_NRF_WIFI_PATCHES_BUILTIN)
Original file line number Diff line number Diff line change @@ -12,6 +12,18 @@ endif()
12
12
set (NRF_WIFI_DIR ${ZEPHYR_CURRENT_MODULE_DIR} )
13
13
14
14
if (CONFIG_NRF70_BUSLIB)
15
+
16
+ zephyr_compile_definitions_ifdef(CONFIG_NRF70_ON_QSPI
17
+ # These are XIP related anomalies and aren't applicable for nRF7002 and cause
18
+ # throughput issues.
19
+ -DNRF53_ERRATA_43_ENABLE_WORKAROUND=0
20
+ -DNRF52_ERRATA_215_ENABLE_WORKAROUND=0
21
+ # nRF70 QSPI doesn't use 192MHz clock and most samples use 128MHz, this can cause anomaly 159
22
+ # but as its rare and not seen in most cases, we can disable it.
23
+ # Alternative is 128MHz CPU should be disabled that impacts Wi-Fi performance.
24
+ -DNRF53_ERRATA_159_ENABLE_WORKAROUND=0
25
+ )
26
+
15
27
zephyr_library_named(nrf70-buslib)
16
28
zephyr_library_include_directories(
17
29
inc
You can’t perform that action at this time.
0 commit comments