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 @@ -72,17 +72,6 @@ zephyr_library_sources_ifdef(CONFIG_NRF70_DEBUG_SHELL
72
72
src/debug_shell.c
73
73
)
74
74
75
- zephyr_compile_definitions_ifdef(CONFIG_NRF70_ON_QSPI
76
- # These are XIP related anomalies and aren't applicable for nRF7002 and cause
77
- # throughput issues.
78
- -DNRF53_ERRATA_43_ENABLE_WORKAROUND=0
79
- -DNRF52_ERRATA_215_ENABLE_WORKAROUND=0
80
- # nRF70 QSPI doesn't use 192MHz clock and most samples use 128MHz, this can cause anomaly 159
81
- # but as its rare and not seen in most cases, we can disable it.
82
- # Alternative is 128MHz CPU should be disabled that impacts Wi-Fi performance.
83
- -DNRF53_ERRATA_159_ENABLE_WORKAROUND=0
84
- )
85
-
86
75
zephyr_library_link_libraries(nrf70-buslib nrf-wifi-shim)
87
76
88
77
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