diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/arm_common_tables.h b/cores/nRF5/cmsis/include/arm_common_tables.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/arm_common_tables.h rename to cores/nRF5/cmsis/include/arm_common_tables.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/arm_const_structs.h b/cores/nRF5/cmsis/include/arm_const_structs.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/arm_const_structs.h rename to cores/nRF5/cmsis/include/arm_const_structs.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/arm_math.h b/cores/nRF5/cmsis/include/arm_math.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/arm_math.h rename to cores/nRF5/cmsis/include/arm_math.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/cmsis_armcc.h b/cores/nRF5/cmsis/include/cmsis_armcc.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/cmsis_armcc.h rename to cores/nRF5/cmsis/include/cmsis_armcc.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/cmsis_armcc_V6.h b/cores/nRF5/cmsis/include/cmsis_armcc_V6.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/cmsis_armcc_V6.h rename to cores/nRF5/cmsis/include/cmsis_armcc_V6.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/cmsis_gcc.h b/cores/nRF5/cmsis/include/cmsis_gcc.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/cmsis_gcc.h rename to cores/nRF5/cmsis/include/cmsis_gcc.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/core_cm4.h b/cores/nRF5/cmsis/include/core_cm4.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/core_cm4.h rename to cores/nRF5/cmsis/include/core_cm4.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/core_cm7.h b/cores/nRF5/cmsis/include/core_cm7.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/core_cm7.h rename to cores/nRF5/cmsis/include/core_cm7.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/core_cmFunc.h b/cores/nRF5/cmsis/include/core_cmFunc.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/core_cmFunc.h rename to cores/nRF5/cmsis/include/core_cmFunc.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/core_cmInstr.h b/cores/nRF5/cmsis/include/core_cmInstr.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/core_cmInstr.h rename to cores/nRF5/cmsis/include/core_cmInstr.h diff --git a/cores/nRF5/SDK/components/toolchain/cmsis/include/core_cmSimd.h b/cores/nRF5/cmsis/include/core_cmSimd.h similarity index 100% rename from cores/nRF5/SDK/components/toolchain/cmsis/include/core_cmSimd.h rename to cores/nRF5/cmsis/include/core_cmSimd.h diff --git a/platform.txt b/platform.txt index 3b7d808d..37d524b7 100644 --- a/platform.txt +++ b/platform.txt @@ -64,7 +64,7 @@ nffs.includes="-I{nffs.path}/fs/nffs/include" "-I{nffs.path}/fs/fs/include" "-I # ARDUINO_FEATHER52 is defined for backward compatiable with other lib only # should be replaced by ARDUINO_NRF52_ADAFRUIT in the future -compiler.nrf.flags= -DARDUINO_FEATHER52 -DARDUINO_NRF52_ADAFRUIT -DNRF52_SERIES -DUSE_LFXO {build.sd_flags} {build.debug_flags} "-I{nrf.sdk.path}/components/toolchain/cmsis/include" "-I{nrf.sdk.path}/components/device/" "-I{nrf.sdk.path}/components/drivers_nrf/delay/" "-I{nrf.sdk.path}/components/drivers_nrf/hal/" "-I{nrf.sdk.path}/components/libraries/util/" "-I{nordic.path}" "-I{nordic.path}/nrfx" "-I{nordic.path}/nrfx/hal" "-I{nordic.path}/nrfx/mdk" "-I{nordic.path}/nrfx/soc" "-I{nordic.path}/nrfx/drivers/include" "-I{nordic.path}/softdevice/{build.sd_name}_nrf52_{build.sd_version}_API/include" "-I{rtos.path}/Source/include" "-I{rtos.path}/config" "-I{rtos.path}/portable/GCC/nrf52" "-I{rtos.path}/portable/CMSIS/nrf52" "-I{build.core.path}/sysview/SEGGER" "-I{build.core.path}/sysview/Config" "-I{runtime.platform.path}/libraries/tinyusb/src" {nffs.includes} +compiler.nrf.flags= -DARDUINO_FEATHER52 -DARDUINO_NRF52_ADAFRUIT -DNRF52_SERIES -DUSE_LFXO {build.sd_flags} {build.debug_flags} "-I{build.core.path}/cmsis/include" "-I{nrf.sdk.path}/components/drivers_nrf/delay/" "-I{nrf.sdk.path}/components/drivers_nrf/hal/" "-I{nrf.sdk.path}/components/libraries/util/" "-I{nordic.path}" "-I{nordic.path}/nrfx" "-I{nordic.path}/nrfx/hal" "-I{nordic.path}/nrfx/mdk" "-I{nordic.path}/nrfx/soc" "-I{nordic.path}/nrfx/drivers/include" "-I{nordic.path}/softdevice/{build.sd_name}_nrf52_{build.sd_version}_API/include" "-I{rtos.path}/Source/include" "-I{rtos.path}/config" "-I{rtos.path}/portable/GCC/nrf52" "-I{rtos.path}/portable/CMSIS/nrf52" "-I{build.core.path}/sysview/SEGGER" "-I{build.core.path}/sysview/Config" "-I{runtime.platform.path}/libraries/tinyusb/src" {nffs.includes} # These can be overridden in platform.local.txt compiler.c.extra_flags=