sdk17.1.0 build with ANT_s313_nrf52_7.0.1 has error, because S313 MACRO is removed form sdk17.1.0
..\sdk_bases\components\ble\ble_advertising\ble_advertising.c(242): error: #20: identifier "BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED" is undefined
p_adv_params->properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED;
..\sdk_bases\components\ble\ble_advertising\ble_advertising.c(316): error: #20: identifier "BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED" is undefined
p_advertising->adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED;
..\sdk_bases\components\ble\ble_advertising\ble_advertising.c(363): error: #20: identifier "BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED" is undefined
p_advertising->adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED;
..\sdk_bases\components\ble\ble_advertising\ble_advertising.c: 0 warnings, 3 errors
compiling nrf_ble_gatt.c...
..\sdk_bases\components\ble\nrf_ble_gatt\nrf_ble_gatt.c(141): error: #20: identifier "BLE_GAP_ROLE_CENTRAL" is undefined
case BLE_GAP_ROLE_CENTRAL:
..\sdk_bases\components\ble\nrf_ble_gatt\nrf_ble_gatt.c: 0 warnings, 1 error
compiling nrf_sdh_ble.c...
..\sdk_bases\components\softdevice\common\nrf_sdh_ble.c(143): error: #136: struct "<unnamed>" has no field "central_role_count"
ble_cfg.gap_cfg.role_count_cfg.central_role_count = NRF_SDH_BLE_CENTRAL_LINK_COUNT;
..\sdk_bases\components\softdevice\common\nrf_sdh_ble.c(144): error: #136: struct "<unnamed>" has no field "central_sec_count"
ble_cfg.gap_cfg.role_count_cfg.central_sec_count = MIN(NRF_SDH_BLE_CENTRAL_LINK_COUNT,
..\sdk_bases\components\softdevice\common\nrf_sdh_ble.c(144): error: #20: identifier "BLE_GAP_ROLE_COUNT_CENTRAL_SEC_DEFAULT" is undefined
ble_cfg.gap_cfg.role_count_cfg.central_sec_count = MIN(NRF_SDH_BLE_CENTRAL_LINK_COUNT,
..\sdk_bases\components\softdevice\common\nrf_sdh_ble.c: 0 warnings, 3 errors