File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,8 @@ function(add_subdirectory_exclude_platforms NAME)
4343endfunction ()
4444
4545# Add blink example 
46- if  (PICO_CYW43_SUPPORTED) # set by PICO_BOARD=pico_w 
47-     if  (NOT  TARGET  pico_cyw43_arch)
48-         message ("Skipping blink for Pico W as support is not available" )
49-     else ()
50-         add_subdirectory_exclude_platforms(blink)
51-     endif ()
46+ if  (PICO_CYW43_SUPPORTED AND  NOT  TARGET  pico_cyw43_arch)
47+     message ("Skipping blink for Pico W as support is not available" )
5248else ()
5349    add_subdirectory_exclude_platforms(blink)
5450endif ()
Original file line number Diff line number Diff line change @@ -5,12 +5,8 @@ if (TARGET hardware_adc)
55    add_subdirectory_exclude_platforms(joystick_display)
66    add_subdirectory_exclude_platforms(onboard_temperature)
77    add_subdirectory_exclude_platforms(microphone_adc)
8-     if  (PICO_CYW43_SUPPORTED) # set by PICO_BOARD=pico_w 
9-         if  (NOT  TARGET  pico_cyw43_arch)
10-             message ("Skipping read_vsys for Pico W as support is not available" )
11-         else ()
12-             add_subdirectory_exclude_platforms(read_vsys)
13-         endif ()
8+     if  (PICO_CYW43_SUPPORTED AND  NOT  TARGET  pico_cyw43_arch)
9+         message ("Skipping read_vsys for Pico W as support is not available" )
1410    else ()
1511        add_subdirectory_exclude_platforms(read_vsys)
1612    endif ()
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments