@@ -12,6 +12,7 @@ HAL_DIR=hal/$(MCU_SERIES)
1212
1313ifeq ($(CIRCUITPY_CYW43 ) ,1)
1414INC_CYW43 := \
15+ -isystem lib/cyw43-driver \
1516 -isystem lib/cyw43-driver/firmware \
1617 -isystem lib/cyw43-driver/src \
1718 -isystem lib/lwip/src/include \
@@ -92,8 +93,6 @@ INC += \
9293 -I../shared/timeutils \
9394 -Iboards/$(BOARD ) \
9495 -Iboards/ \
95- -isystem ./../../lib/cmsis/inc \
96- -isystem sdk/ \
9796 -isystem sdk/src/common/boot_picobin_headers/include/ \
9897 -isystem sdk/src/common/boot_picoboot_headers/include/ \
9998 -isystem sdk/src/common/hardware_claim/include/ \
@@ -107,6 +106,8 @@ INC += \
107106 -isystem sdk/src/$(CHIP_VARIANT_LOWER ) /hardware_structs/include/ \
108107 -isystem sdk/src/$(CHIP_VARIANT_LOWER ) /pico_platform/include/ \
109108 -isystem sdk/src/rp2_common/boot_bootrom_headers/include/ \
109+ -isystem sdk/src/rp2_common/cmsis/stub/CMSIS/Core/Include/ \
110+ -isystem sdk/src/rp2_common/cmsis/stub/CMSIS/Device/${CHIP_VARIANT}/Include \
110111 -isystem sdk/src/rp2_common/cmsis/ \
111112 -isystem sdk/src/rp2_common/hardware_adc/include/ \
112113 -isystem sdk/src/rp2_common/hardware_base/include/ \
@@ -153,7 +154,7 @@ INC += \
153154 -isystem sdk/src/rp2_common/pico_platform_panic/include/ \
154155 -isystem sdk/src/rp2_common/pico_time_adapter/include/ \
155156 -isystem sdk/src/rp2_common/pico_unique_id/include/ \
156- $(INC_CYW43 ) \
157+ $(INC_CYW43 ) \
157158 -Isdk_config \
158159 -I../../lib/tinyusb/src \
159160 -I../../supervisor/shared/usb \
0 commit comments