File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 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
7070  src/debug_shell.c
7171)
7272
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- 
8473zephyr_library_link_libraries(nrf70-buslib nrf-wifi-shim)
8574
8675if  (CONFIG_NRF_WIFI_PATCHES_BUILTIN)
Original file line number Diff line number Diff line change @@ -12,6 +12,18 @@ endif()
1212set (NRF_WIFI_DIR ${ZEPHYR_CURRENT_MODULE_DIR} )
1313
1414if  (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+ 
1527  zephyr_library_named(nrf70-buslib)
1628  zephyr_library_include_directories(
1729    inc
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments