diff --git a/cores/nRF5/softdevice/s132/headers/ble.h b/cores/nRF5/softdevice/s132_v201/headers/ble.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble.h rename to cores/nRF5/softdevice/s132_v201/headers/ble.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_err.h b/cores/nRF5/softdevice/s132_v201/headers/ble_err.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_err.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_err.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_gap.h b/cores/nRF5/softdevice/s132_v201/headers/ble_gap.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_gap.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_gap.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_gatt.h b/cores/nRF5/softdevice/s132_v201/headers/ble_gatt.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_gatt.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_gatt.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_gattc.h b/cores/nRF5/softdevice/s132_v201/headers/ble_gattc.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_gattc.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_gattc.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_gatts.h b/cores/nRF5/softdevice/s132_v201/headers/ble_gatts.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_gatts.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_gatts.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_hci.h b/cores/nRF5/softdevice/s132_v201/headers/ble_hci.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_hci.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_hci.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_l2cap.h b/cores/nRF5/softdevice/s132_v201/headers/ble_l2cap.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_l2cap.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_l2cap.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_ranges.h b/cores/nRF5/softdevice/s132_v201/headers/ble_ranges.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_ranges.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_ranges.h diff --git a/cores/nRF5/softdevice/s132/headers/ble_types.h b/cores/nRF5/softdevice/s132_v201/headers/ble_types.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/ble_types.h rename to cores/nRF5/softdevice/s132_v201/headers/ble_types.h diff --git a/cores/nRF5/softdevice/s132/headers/nrf52/nrf_mbr.h b/cores/nRF5/softdevice/s132_v201/headers/nrf52/nrf_mbr.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/nrf52/nrf_mbr.h rename to cores/nRF5/softdevice/s132_v201/headers/nrf52/nrf_mbr.h diff --git a/cores/nRF5/softdevice/s132/headers/nrf_error.h b/cores/nRF5/softdevice/s132_v201/headers/nrf_error.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/nrf_error.h rename to cores/nRF5/softdevice/s132_v201/headers/nrf_error.h diff --git a/cores/nRF5/softdevice/s132/headers/nrf_error_sdm.h b/cores/nRF5/softdevice/s132_v201/headers/nrf_error_sdm.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/nrf_error_sdm.h rename to cores/nRF5/softdevice/s132_v201/headers/nrf_error_sdm.h diff --git a/cores/nRF5/softdevice/s132/headers/nrf_error_soc.h b/cores/nRF5/softdevice/s132_v201/headers/nrf_error_soc.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/nrf_error_soc.h rename to cores/nRF5/softdevice/s132_v201/headers/nrf_error_soc.h diff --git a/cores/nRF5/softdevice/s132/headers/nrf_nvic.h b/cores/nRF5/softdevice/s132_v201/headers/nrf_nvic.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/nrf_nvic.h rename to cores/nRF5/softdevice/s132_v201/headers/nrf_nvic.h diff --git a/cores/nRF5/softdevice/s132/headers/nrf_sdm.h b/cores/nRF5/softdevice/s132_v201/headers/nrf_sdm.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/nrf_sdm.h rename to cores/nRF5/softdevice/s132_v201/headers/nrf_sdm.h diff --git a/cores/nRF5/softdevice/s132/headers/nrf_soc.h b/cores/nRF5/softdevice/s132_v201/headers/nrf_soc.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/nrf_soc.h rename to cores/nRF5/softdevice/s132_v201/headers/nrf_soc.h diff --git a/cores/nRF5/softdevice/s132/headers/nrf_svc.h b/cores/nRF5/softdevice/s132_v201/headers/nrf_svc.h similarity index 100% rename from cores/nRF5/softdevice/s132/headers/nrf_svc.h rename to cores/nRF5/softdevice/s132_v201/headers/nrf_svc.h diff --git a/platform.txt b/platform.txt index 9dd7b222..cf20a1a0 100644 --- a/platform.txt +++ b/platform.txt @@ -67,7 +67,7 @@ nffs.path={runtime.platform.path}/libraries/nffs/src nffs.includes="-I{nffs.path}/fs/nffs/include" "-I{nffs.path}/fs/fs/include" "-I{nffs.path}/fs/disk/include" "-I{nffs.path}/util/crc/include" "-I{nffs.path}/kernel/os/include" "-I{nffs.path}/kernel/os/include/os/arch/cortex_m4" "-I{nffs.path}/hw/hal/include" "-I{nffs.path}/sys/flash_map/include" "-I{nffs.path}/sys/defs/include" -compiler.nrf.flags=-DARDUINO_NRF52_ADAFRUIT -DNRF5 -DNRF52 -DNRF52832_XXAA -DUSE_LFXO {build.sd_flags} {build.debug_flags} "-I{nrf.sdk.path}/components/toolchain/" "-I{nrf.sdk.path}/components/toolchain/CMSIS/Include" "-I{nrf.sdk.path}/components/toolchain/gcc/" "-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{build.core.path}/softdevice/s132/headers/" "-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" {nffs.includes} +compiler.nrf.flags=-DARDUINO_NRF52_ADAFRUIT -DNRF5 -DNRF52 -DNRF52832_XXAA -DUSE_LFXO {build.sd_flags} {build.debug_flags} "-I{nrf.sdk.path}/components/toolchain/" "-I{nrf.sdk.path}/components/toolchain/CMSIS/Include" "-I{nrf.sdk.path}/components/toolchain/gcc/" "-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{build.core.path}/softdevice/{build.sd_name}/headers/" "-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" {nffs.includes} # These can be overridden in platform.local.txt compiler.c.extra_flags=