diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_err.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_err.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_err.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_err.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_gap.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_gap.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_gap.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_gap.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_gatt.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_gatt.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_gatt.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_gatt.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_gattc.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_gattc.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_gattc.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_gattc.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_gatts.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_gatts.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_gatts.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_gatts.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_hci.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_hci.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_hci.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_hci.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_l2cap.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_l2cap.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_l2cap.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_l2cap.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_ranges.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_ranges.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_ranges.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_ranges.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/ble_types.h b/cores/nRF5/softdevice/s132/2.1.0/headers/ble_types.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/ble_types.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/ble_types.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/nrf52/nrf_mbr.h b/cores/nRF5/softdevice/s132/2.1.0/headers/nrf52/nrf_mbr.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/nrf52/nrf_mbr.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/nrf52/nrf_mbr.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/nrf_error.h b/cores/nRF5/softdevice/s132/2.1.0/headers/nrf_error.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/nrf_error.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/nrf_error.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/nrf_error_sdm.h b/cores/nRF5/softdevice/s132/2.1.0/headers/nrf_error_sdm.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/nrf_error_sdm.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/nrf_error_sdm.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/nrf_error_soc.h b/cores/nRF5/softdevice/s132/2.1.0/headers/nrf_error_soc.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/nrf_error_soc.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/nrf_error_soc.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/nrf_nvic.h b/cores/nRF5/softdevice/s132/2.1.0/headers/nrf_nvic.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/nrf_nvic.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/nrf_nvic.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/nrf_sdm.h b/cores/nRF5/softdevice/s132/2.1.0/headers/nrf_sdm.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/nrf_sdm.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/nrf_sdm.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/nrf_soc.h b/cores/nRF5/softdevice/s132/2.1.0/headers/nrf_soc.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/nrf_soc.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/nrf_soc.h diff --git a/cores/nRF5/softdevice/s132_v201/headers/nrf_svc.h b/cores/nRF5/softdevice/s132/2.1.0/headers/nrf_svc.h similarity index 100% rename from cores/nRF5/softdevice/s132_v201/headers/nrf_svc.h rename to cores/nRF5/softdevice/s132/2.1.0/headers/nrf_svc.h diff --git a/cores/nRF5/utility/utilities.c b/cores/nRF5/utility/utilities.c index 824723af..23b76cbc 100644 --- a/cores/nRF5/utility/utilities.c +++ b/cores/nRF5/utility/utilities.c @@ -46,6 +46,7 @@ static lookup_entry_t const sd_lookup_items[] = { { .key = 0x0088, .data = "S132 2.0.1" }, { .key = 0x009D, .data = "S132 5.0.0" }, + { .key = 0x00A5, .data = "S132 5.1.0" }, }; static const lookup_table_t sd_lookup_table = diff --git a/tools/nrfutil-0.5.2/nordicsemi/dfu/dfu.py b/tools/nrfutil-0.5.2/nordicsemi/dfu/dfu.py index a8391591..a018cbe9 100644 --- a/tools/nrfutil-0.5.2/nordicsemi/dfu/dfu.py +++ b/tools/nrfutil-0.5.2/nordicsemi/dfu/dfu.py @@ -195,8 +195,6 @@ class Dfu(object): bootloader_size, application_size) - #logger.info("Sending DFU start packet, afterwards we wait for the flash on " - # "target to be initialized before continuing.") logger.info("Sending DFU start packet") self.dfu_transport.send_start_dfu(program_mode, softdevice_size, bootloader_size, application_size)