diff --git a/bundles/exp/ING9168xx/apis.json b/bundles/exp/ING9168xx/apis.json index e2b752e94..86044af9c 100644 --- a/bundles/exp/ING9168xx/apis.json +++ b/bundles/exp/ING9168xx/apis.json @@ -238,162 +238,164 @@ "nibble_for_char": "0x020233ad", "platform_calibrate_rt_clk": "0x02023457", "platform_call_on_stack": "0x020030fb", - "platform_config": "0x0202345d", - "platform_delete_timer": "0x02023585", - "platform_enable_irq": "0x0202358d", - "platform_get_current_task": "0x020235c1", - "platform_get_gen_os_driver": "0x020235e5", - "platform_get_heap_status": "0x020235ed", - "platform_get_link_layer_interf": "0x02023605", - "platform_get_task_handle": "0x0202360d", - "platform_get_timer_counter": "0x0202362d", - "platform_get_us_time": "0x02023631", - "platform_get_version": "0x02023635", - "platform_hrng": "0x02023651", - "platform_install_isr_stack": "0x02023659", - "platform_install_task_stack": "0x02023665", - "platform_patch_rf_init_data": "0x0202369d", - "platform_printf": "0x020236a9", - "platform_raise_assertion": "0x020236bd", - "platform_rand": "0x020236d1", - "platform_read_info": "0x020236d5", - "platform_read_persistent_reg": "0x02023705", - "platform_reset": "0x02023711", - "platform_rt_rc_auto_tune": "0x02023725", - "platform_rt_rc_auto_tune2": "0x0202372d", - "platform_rt_rc_tune": "0x02023795", - "platform_set_abs_timer": "0x020237b1", - "platform_set_evt_callback": "0x020237b5", - "platform_set_evt_callback_table": "0x020237c9", - "platform_set_irq_callback": "0x020237d5", - "platform_set_irq_callback_table": "0x020237f1", - "platform_set_rf_clk_source": "0x020237fd", - "platform_set_rf_init_data": "0x02023809", - "platform_set_rf_power_mapping": "0x02023815", - "platform_set_timer": "0x02023821", - "platform_shutdown": "0x02023825", - "platform_switch_app": "0x02023829", - "platform_trace_raw": "0x02023841", - "platform_write_persistent_reg": "0x02023859", - "printf_hexdump": "0x02023a11", - "pvPortMalloc": "0x020244e9", - "pvTaskIncrementMutexHeldCount": "0x020245d1", - "pvTimerGetTimerID": "0x020245e9", - "pxPortInitialiseStack": "0x02024615", - "reverse_128": "0x020247fd", - "reverse_24": "0x02024803", - "reverse_256": "0x02024809", - "reverse_48": "0x0202480f", - "reverse_56": "0x02024815", - "reverse_64": "0x0202481b", - "reverse_bd_addr": "0x02024821", - "reverse_bytes": "0x02024827", - "sm_add_event_handler": "0x02024ba5", - "sm_address_resolution_lookup": "0x02024ce9", - "sm_authenticated": "0x02025141", - "sm_authorization_decline": "0x0202514f", - "sm_authorization_grant": "0x0202516f", - "sm_authorization_state": "0x0202518f", - "sm_bonding_decline": "0x020251a9", - "sm_config": "0x02025625", - "sm_config_conn": "0x02025659", - "sm_encryption_key_size": "0x02025813", - "sm_just_works_confirm": "0x0202655d", - "sm_le_device_key": "0x0202694d", - "sm_numeric_comparison_confirm": "0x02026aa3", - "sm_passkey_input": "0x02026ae1", - "sm_private_random_address_generation_get": "0x020270e9", - "sm_private_random_address_generation_get_mode": "0x020270f1", - "sm_private_random_address_generation_set_mode": "0x020270fd", - "sm_private_random_address_generation_set_update_period": "0x02027125", - "sm_register_external_ltk_callback": "0x020273b1", - "sm_register_oob_data_callback": "0x020273bd", - "sm_register_sc_oob_data_callback": "0x020273c9", - "sm_request_pairing": "0x020273d5", - "sm_sc_generate_oob_data": "0x02028015", - "sm_send_security_request": "0x02028145", - "sm_set_accepted_stk_generation_methods": "0x0202816d", - "sm_set_authentication_requirements": "0x02028179", - "sm_set_encryption_key_size_range": "0x02028189", - "sscanf_bd_addr": "0x0202859d", - "sysSetPublicDeviceAddr": "0x02028ac5", - "uuid128_to_str": "0x02029345", - "uuid_add_bluetooth_prefix": "0x0202939d", - "uuid_has_bluetooth_prefix": "0x020293bd", - "uxListRemove": "0x020293d9", - "uxQueueMessagesWaiting": "0x02029401", - "uxQueueMessagesWaitingFromISR": "0x02029429", - "uxQueueSpacesAvailable": "0x02029445", - "uxTaskGetStackHighWaterMark": "0x02029471", - "uxTaskPriorityGet": "0x02029491", - "uxTaskPriorityGetFromISR": "0x020294ad", - "vListInitialise": "0x0202956b", - "vListInitialiseItem": "0x02029581", - "vListInsert": "0x02029587", - "vListInsertEnd": "0x020295b7", - "vPortEndScheduler": "0x020295d1", - "vPortEnterCritical": "0x020295fd", - "vPortExitCritical": "0x02029641", - "vPortFree": "0x02029675", - "vPortSuppressTicksAndSleep": "0x02029719", - "vPortValidateInterruptPriority": "0x02029841", - "vQueueDelete": "0x0202989d", - "vQueueWaitForMessageRestricted": "0x020298c9", - "vTaskDelay": "0x0202990d", - "vTaskInternalSetTimeOutState": "0x02029959", - "vTaskMissedYield": "0x02029969", - "vTaskPlaceOnEventList": "0x02029975", - "vTaskPlaceOnEventListRestricted": "0x020299ad", - "vTaskPriorityDisinheritAfterTimeout": "0x020299ed", - "vTaskPrioritySet": "0x02029a99", - "vTaskResume": "0x02029b61", - "vTaskStartScheduler": "0x02029be5", - "vTaskStepTick": "0x02029c75", - "vTaskSuspend": "0x02029ca5", - "vTaskSuspendAll": "0x02029d61", - "vTaskSwitchContext": "0x02029d71", - "xPortStartScheduler": "0x02029e21", - "xQueueAddToSet": "0x02029f25", - "xQueueCreateCountingSemaphore": "0x02029f49", - "xQueueCreateCountingSemaphoreStatic": "0x02029f85", - "xQueueCreateMutex": "0x02029fc9", - "xQueueCreateMutexStatic": "0x02029fdf", - "xQueueCreateSet": "0x02029ff9", - "xQueueGenericCreate": "0x0202a001", - "xQueueGenericCreateStatic": "0x0202a04d", - "xQueueGenericReset": "0x0202a0b5", - "xQueueGenericSend": "0x0202a141", - "xQueueGenericSendFromISR": "0x0202a2ad", - "xQueueGiveFromISR": "0x0202a36d", - "xQueueGiveMutexRecursive": "0x0202a411", - "xQueueIsQueueEmptyFromISR": "0x0202a451", - "xQueueIsQueueFullFromISR": "0x0202a475", - "xQueuePeek": "0x0202a49d", - "xQueuePeekFromISR": "0x0202a5c5", - "xQueueReceive": "0x0202a631", - "xQueueReceiveFromISR": "0x0202a75d", - "xQueueRemoveFromSet": "0x0202a7f1", - "xQueueSelectFromSet": "0x0202a813", - "xQueueSelectFromSetFromISR": "0x0202a825", - "xQueueSemaphoreTake": "0x0202a839", - "xQueueTakeMutexRecursive": "0x0202a9a5", - "xTaskCheckForTimeOut": "0x0202a9e9", - "xTaskCreate": "0x0202aa59", - "xTaskCreateStatic": "0x0202aab5", - "xTaskGetCurrentTaskHandle": "0x0202ab25", - "xTaskGetSchedulerState": "0x0202ab31", - "xTaskGetTickCount": "0x0202ab4d", - "xTaskGetTickCountFromISR": "0x0202ab59", - "xTaskIncrementTick": "0x0202ab69", - "xTaskPriorityDisinherit": "0x0202ac35", - "xTaskPriorityInherit": "0x0202acc9", - "xTaskRemoveFromEventList": "0x0202ad5d", - "xTaskResumeAll": "0x0202addd", - "xTaskResumeFromISR": "0x0202aea5", - "xTimerCreate": "0x0202af31", - "xTimerCreateStatic": "0x0202af65", - "xTimerCreateTimerTask": "0x0202af9d", - "xTimerGenericCommand": "0x0202b009", - "xTimerGetExpiryTime": "0x0202b079", - "xTimerGetTimerDaemonTaskHandle": "0x0202b099" + "platform_cancel_us_timer": "0x0202345b", + "platform_config": "0x02023471", + "platform_create_us_timer": "0x020235a5", + "platform_delete_timer": "0x020235b9", + "platform_enable_irq": "0x020235c1", + "platform_get_current_task": "0x020235f5", + "platform_get_gen_os_driver": "0x02023619", + "platform_get_heap_status": "0x02023621", + "platform_get_link_layer_interf": "0x02023639", + "platform_get_task_handle": "0x02023641", + "platform_get_timer_counter": "0x02023661", + "platform_get_us_time": "0x02023665", + "platform_get_version": "0x02023669", + "platform_hrng": "0x02023685", + "platform_install_isr_stack": "0x0202368d", + "platform_install_task_stack": "0x02023699", + "platform_patch_rf_init_data": "0x020236d1", + "platform_printf": "0x020236dd", + "platform_raise_assertion": "0x020236f1", + "platform_rand": "0x02023705", + "platform_read_info": "0x02023709", + "platform_read_persistent_reg": "0x02023739", + "platform_reset": "0x02023745", + "platform_rt_rc_auto_tune": "0x02023759", + "platform_rt_rc_auto_tune2": "0x02023761", + "platform_rt_rc_tune": "0x020237c9", + "platform_set_abs_timer": "0x020237e5", + "platform_set_evt_callback": "0x020237e9", + "platform_set_evt_callback_table": "0x020237fd", + "platform_set_irq_callback": "0x02023809", + "platform_set_irq_callback_table": "0x02023825", + "platform_set_rf_clk_source": "0x02023831", + "platform_set_rf_init_data": "0x0202383d", + "platform_set_rf_power_mapping": "0x02023849", + "platform_set_timer": "0x02023855", + "platform_shutdown": "0x02023859", + "platform_switch_app": "0x0202385d", + "platform_trace_raw": "0x02023875", + "platform_write_persistent_reg": "0x0202388d", + "printf_hexdump": "0x02023a45", + "pvPortMalloc": "0x0202451d", + "pvTaskIncrementMutexHeldCount": "0x02024605", + "pvTimerGetTimerID": "0x0202461d", + "pxPortInitialiseStack": "0x02024649", + "reverse_128": "0x02024831", + "reverse_24": "0x02024837", + "reverse_256": "0x0202483d", + "reverse_48": "0x02024843", + "reverse_56": "0x02024849", + "reverse_64": "0x0202484f", + "reverse_bd_addr": "0x02024855", + "reverse_bytes": "0x0202485b", + "sm_add_event_handler": "0x02024bd9", + "sm_address_resolution_lookup": "0x02024d1d", + "sm_authenticated": "0x02025175", + "sm_authorization_decline": "0x02025183", + "sm_authorization_grant": "0x020251a3", + "sm_authorization_state": "0x020251c3", + "sm_bonding_decline": "0x020251dd", + "sm_config": "0x02025659", + "sm_config_conn": "0x0202568d", + "sm_encryption_key_size": "0x02025847", + "sm_just_works_confirm": "0x02026591", + "sm_le_device_key": "0x02026981", + "sm_numeric_comparison_confirm": "0x02026ad7", + "sm_passkey_input": "0x02026b15", + "sm_private_random_address_generation_get": "0x0202711d", + "sm_private_random_address_generation_get_mode": "0x02027125", + "sm_private_random_address_generation_set_mode": "0x02027131", + "sm_private_random_address_generation_set_update_period": "0x02027159", + "sm_register_external_ltk_callback": "0x020273e5", + "sm_register_oob_data_callback": "0x020273f1", + "sm_register_sc_oob_data_callback": "0x020273fd", + "sm_request_pairing": "0x02027409", + "sm_sc_generate_oob_data": "0x02028049", + "sm_send_security_request": "0x02028179", + "sm_set_accepted_stk_generation_methods": "0x020281a1", + "sm_set_authentication_requirements": "0x020281ad", + "sm_set_encryption_key_size_range": "0x020281bd", + "sscanf_bd_addr": "0x020285d1", + "sysSetPublicDeviceAddr": "0x02028b0d", + "uuid128_to_str": "0x0202938d", + "uuid_add_bluetooth_prefix": "0x020293e5", + "uuid_has_bluetooth_prefix": "0x02029405", + "uxListRemove": "0x02029421", + "uxQueueMessagesWaiting": "0x02029449", + "uxQueueMessagesWaitingFromISR": "0x02029471", + "uxQueueSpacesAvailable": "0x0202948d", + "uxTaskGetStackHighWaterMark": "0x020294b9", + "uxTaskPriorityGet": "0x020294d9", + "uxTaskPriorityGetFromISR": "0x020294f5", + "vListInitialise": "0x020295b3", + "vListInitialiseItem": "0x020295c9", + "vListInsert": "0x020295cf", + "vListInsertEnd": "0x020295ff", + "vPortEndScheduler": "0x02029619", + "vPortEnterCritical": "0x02029645", + "vPortExitCritical": "0x02029689", + "vPortFree": "0x020296bd", + "vPortSuppressTicksAndSleep": "0x02029761", + "vPortValidateInterruptPriority": "0x02029889", + "vQueueDelete": "0x020298e5", + "vQueueWaitForMessageRestricted": "0x02029911", + "vTaskDelay": "0x02029955", + "vTaskInternalSetTimeOutState": "0x020299a1", + "vTaskMissedYield": "0x020299b1", + "vTaskPlaceOnEventList": "0x020299bd", + "vTaskPlaceOnEventListRestricted": "0x020299f5", + "vTaskPriorityDisinheritAfterTimeout": "0x02029a35", + "vTaskPrioritySet": "0x02029ae1", + "vTaskResume": "0x02029ba9", + "vTaskStartScheduler": "0x02029c2d", + "vTaskStepTick": "0x02029cbd", + "vTaskSuspend": "0x02029ced", + "vTaskSuspendAll": "0x02029da9", + "vTaskSwitchContext": "0x02029db9", + "xPortStartScheduler": "0x02029e69", + "xQueueAddToSet": "0x02029f6d", + "xQueueCreateCountingSemaphore": "0x02029f91", + "xQueueCreateCountingSemaphoreStatic": "0x02029fcd", + "xQueueCreateMutex": "0x0202a011", + "xQueueCreateMutexStatic": "0x0202a027", + "xQueueCreateSet": "0x0202a041", + "xQueueGenericCreate": "0x0202a049", + "xQueueGenericCreateStatic": "0x0202a095", + "xQueueGenericReset": "0x0202a0fd", + "xQueueGenericSend": "0x0202a189", + "xQueueGenericSendFromISR": "0x0202a2f5", + "xQueueGiveFromISR": "0x0202a3b5", + "xQueueGiveMutexRecursive": "0x0202a459", + "xQueueIsQueueEmptyFromISR": "0x0202a499", + "xQueueIsQueueFullFromISR": "0x0202a4bd", + "xQueuePeek": "0x0202a4e5", + "xQueuePeekFromISR": "0x0202a60d", + "xQueueReceive": "0x0202a679", + "xQueueReceiveFromISR": "0x0202a7a5", + "xQueueRemoveFromSet": "0x0202a839", + "xQueueSelectFromSet": "0x0202a85b", + "xQueueSelectFromSetFromISR": "0x0202a86d", + "xQueueSemaphoreTake": "0x0202a881", + "xQueueTakeMutexRecursive": "0x0202a9ed", + "xTaskCheckForTimeOut": "0x0202aa31", + "xTaskCreate": "0x0202aaa1", + "xTaskCreateStatic": "0x0202aafd", + "xTaskGetCurrentTaskHandle": "0x0202ab6d", + "xTaskGetSchedulerState": "0x0202ab79", + "xTaskGetTickCount": "0x0202ab95", + "xTaskGetTickCountFromISR": "0x0202aba1", + "xTaskIncrementTick": "0x0202abb1", + "xTaskPriorityDisinherit": "0x0202ac7d", + "xTaskPriorityInherit": "0x0202ad11", + "xTaskRemoveFromEventList": "0x0202ada5", + "xTaskResumeAll": "0x0202ae25", + "xTaskResumeFromISR": "0x0202aeed", + "xTimerCreate": "0x0202af79", + "xTimerCreateStatic": "0x0202afad", + "xTimerCreateTimerTask": "0x0202afe5", + "xTimerGenericCommand": "0x0202b051", + "xTimerGetExpiryTime": "0x0202b0c1", + "xTimerGetTimerDaemonTaskHandle": "0x0202b0e1" } \ No newline at end of file diff --git a/bundles/exp/ING9168xx/meta.json b/bundles/exp/ING9168xx/meta.json index 2be7770c2..07a8b0b01 100644 --- a/bundles/exp/ING9168xx/meta.json +++ b/bundles/exp/ING9168xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 33562624, - "size": 177828 + "size": 177912 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/exp/ING9168xx/platform.bin b/bundles/exp/ING9168xx/platform.bin index bdfc12739..530a77321 100644 Binary files a/bundles/exp/ING9168xx/platform.bin and b/bundles/exp/ING9168xx/platform.bin differ diff --git a/bundles/exp/ING9187xx/apis.json b/bundles/exp/ING9187xx/apis.json index cfda757a5..584c74cad 100644 --- a/bundles/exp/ING9187xx/apis.json +++ b/bundles/exp/ING9187xx/apis.json @@ -209,162 +209,164 @@ "nibble_for_char": "0x0001fed5", "platform_calibrate_rt_clk": "0x0001ff83", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001ff89", - "platform_delete_timer": "0x000200ad", - "platform_enable_irq": "0x000200b5", - "platform_get_current_task": "0x000200ed", - "platform_get_gen_os_driver": "0x00020111", - "platform_get_heap_status": "0x00020119", - "platform_get_link_layer_interf": "0x00020131", - "platform_get_task_handle": "0x00020139", - "platform_get_timer_counter": "0x00020159", - "platform_get_us_time": "0x0002015d", - "platform_get_version": "0x00020161", - "platform_hrng": "0x00020169", - "platform_install_isr_stack": "0x00020171", - "platform_install_task_stack": "0x0002017d", - "platform_patch_rf_init_data": "0x000201b5", - "platform_printf": "0x000201c1", - "platform_raise_assertion": "0x000201d5", - "platform_rand": "0x000201e9", - "platform_read_info": "0x000201ed", - "platform_read_persistent_reg": "0x0002021d", - "platform_reset": "0x0002022d", - "platform_rt_rc_auto_tune": "0x00020251", - "platform_rt_rc_auto_tune2": "0x00020259", - "platform_rt_rc_tune": "0x000202e1", - "platform_set_abs_timer": "0x000202f5", - "platform_set_evt_callback": "0x000202f9", - "platform_set_evt_callback_table": "0x0002030d", - "platform_set_irq_callback": "0x00020319", - "platform_set_irq_callback_table": "0x00020335", - "platform_set_rf_clk_source": "0x00020341", - "platform_set_rf_init_data": "0x0002034d", - "platform_set_rf_power_mapping": "0x00020359", - "platform_set_timer": "0x00020365", - "platform_shutdown": "0x00020369", - "platform_switch_app": "0x0002036d", - "platform_trace_raw": "0x00020399", - "platform_write_persistent_reg": "0x000203b1", - "printf_hexdump": "0x00020565", - "pvPortMalloc": "0x00021059", - "pvTaskIncrementMutexHeldCount": "0x00021141", - "pvTimerGetTimerID": "0x00021159", - "pxPortInitialiseStack": "0x00021185", - "reverse_128": "0x0002132d", - "reverse_24": "0x00021333", - "reverse_256": "0x00021339", - "reverse_48": "0x0002133f", - "reverse_56": "0x00021345", - "reverse_64": "0x0002134b", - "reverse_bd_addr": "0x00021351", - "reverse_bytes": "0x00021357", - "sm_add_event_handler": "0x00021545", - "sm_address_resolution_lookup": "0x00021689", - "sm_authenticated": "0x00021ae1", - "sm_authorization_decline": "0x00021aef", - "sm_authorization_grant": "0x00021b0f", - "sm_authorization_state": "0x00021b2f", - "sm_bonding_decline": "0x00021b49", - "sm_config": "0x00021fc9", - "sm_config_conn": "0x00021ffd", - "sm_encryption_key_size": "0x000221b7", - "sm_just_works_confirm": "0x00022efd", - "sm_le_device_key": "0x000232ed", - "sm_numeric_comparison_confirm": "0x00023443", - "sm_passkey_input": "0x00023481", - "sm_private_random_address_generation_get": "0x00023a89", - "sm_private_random_address_generation_get_mode": "0x00023a91", - "sm_private_random_address_generation_set_mode": "0x00023a9d", - "sm_private_random_address_generation_set_update_period": "0x00023ac5", - "sm_register_external_ltk_callback": "0x00023d51", - "sm_register_oob_data_callback": "0x00023d5d", - "sm_register_sc_oob_data_callback": "0x00023d69", - "sm_request_pairing": "0x00023d75", - "sm_sc_generate_oob_data": "0x000249b1", - "sm_send_security_request": "0x00024ae1", - "sm_set_accepted_stk_generation_methods": "0x00024b09", - "sm_set_authentication_requirements": "0x00024b15", - "sm_set_encryption_key_size_range": "0x00024b25", - "sscanf_bd_addr": "0x00024f31", - "sysSetPublicDeviceAddr": "0x000252e5", - "uuid128_to_str": "0x00025921", - "uuid_add_bluetooth_prefix": "0x00025979", - "uuid_has_bluetooth_prefix": "0x00025999", - "uxListRemove": "0x000259b5", - "uxQueueMessagesWaiting": "0x000259dd", - "uxQueueMessagesWaitingFromISR": "0x00025a05", - "uxQueueSpacesAvailable": "0x00025a21", - "uxTaskGetStackHighWaterMark": "0x00025a4d", - "uxTaskPriorityGet": "0x00025a6d", - "uxTaskPriorityGetFromISR": "0x00025a89", - "vListInitialise": "0x00025b43", - "vListInitialiseItem": "0x00025b59", - "vListInsert": "0x00025b5f", - "vListInsertEnd": "0x00025b8f", - "vPortEndScheduler": "0x00025ba9", - "vPortEnterCritical": "0x00025bd5", - "vPortExitCritical": "0x00025c19", - "vPortFree": "0x00025c4d", - "vPortSuppressTicksAndSleep": "0x00025ce1", - "vPortValidateInterruptPriority": "0x00025e09", - "vQueueDelete": "0x00025e65", - "vQueueWaitForMessageRestricted": "0x00025e91", - "vTaskDelay": "0x00025ed9", - "vTaskInternalSetTimeOutState": "0x00025f25", - "vTaskMissedYield": "0x00025f35", - "vTaskPlaceOnEventList": "0x00025f41", - "vTaskPlaceOnEventListRestricted": "0x00025f79", - "vTaskPriorityDisinheritAfterTimeout": "0x00025fb9", - "vTaskPrioritySet": "0x00026065", - "vTaskResume": "0x0002612d", - "vTaskStartScheduler": "0x000261b1", - "vTaskStepTick": "0x00026241", - "vTaskSuspend": "0x00026271", - "vTaskSuspendAll": "0x0002632d", - "vTaskSwitchContext": "0x0002633d", - "xPortStartScheduler": "0x000263ed", - "xQueueAddToSet": "0x000264b5", - "xQueueCreateCountingSemaphore": "0x000264d9", - "xQueueCreateCountingSemaphoreStatic": "0x00026515", - "xQueueCreateMutex": "0x00026559", - "xQueueCreateMutexStatic": "0x0002656f", - "xQueueCreateSet": "0x00026589", - "xQueueGenericCreate": "0x00026591", - "xQueueGenericCreateStatic": "0x000265dd", - "xQueueGenericReset": "0x00026645", - "xQueueGenericSend": "0x000266d1", - "xQueueGenericSendFromISR": "0x0002683d", - "xQueueGiveFromISR": "0x000268fd", - "xQueueGiveMutexRecursive": "0x000269a1", - "xQueueIsQueueEmptyFromISR": "0x000269e1", - "xQueueIsQueueFullFromISR": "0x00026a05", - "xQueuePeek": "0x00026a2d", - "xQueuePeekFromISR": "0x00026b55", - "xQueueReceive": "0x00026bc1", - "xQueueReceiveFromISR": "0x00026ced", - "xQueueRemoveFromSet": "0x00026d81", - "xQueueSelectFromSet": "0x00026da3", - "xQueueSelectFromSetFromISR": "0x00026db5", - "xQueueSemaphoreTake": "0x00026dc9", - "xQueueTakeMutexRecursive": "0x00026f35", - "xTaskCheckForTimeOut": "0x00026f79", - "xTaskCreate": "0x00026fe9", - "xTaskCreateStatic": "0x00027045", - "xTaskGetCurrentTaskHandle": "0x000270b5", - "xTaskGetSchedulerState": "0x000270c1", - "xTaskGetTickCount": "0x000270dd", - "xTaskGetTickCountFromISR": "0x000270e9", - "xTaskIncrementTick": "0x000270f9", - "xTaskPriorityDisinherit": "0x000271c5", - "xTaskPriorityInherit": "0x00027259", - "xTaskRemoveFromEventList": "0x000272ed", - "xTaskResumeAll": "0x0002736d", - "xTaskResumeFromISR": "0x00027435", - "xTimerCreate": "0x000274c1", - "xTimerCreateStatic": "0x000274f5", - "xTimerCreateTimerTask": "0x0002752d", - "xTimerGenericCommand": "0x00027599", - "xTimerGetExpiryTime": "0x00027609", - "xTimerGetTimerDaemonTaskHandle": "0x00027629" + "platform_cancel_us_timer": "0x0001ff87", + "platform_config": "0x0001ff9d", + "platform_create_us_timer": "0x000200c1", + "platform_delete_timer": "0x000200d5", + "platform_enable_irq": "0x000200dd", + "platform_get_current_task": "0x00020115", + "platform_get_gen_os_driver": "0x00020139", + "platform_get_heap_status": "0x00020141", + "platform_get_link_layer_interf": "0x00020159", + "platform_get_task_handle": "0x00020161", + "platform_get_timer_counter": "0x00020181", + "platform_get_us_time": "0x00020185", + "platform_get_version": "0x00020189", + "platform_hrng": "0x00020191", + "platform_install_isr_stack": "0x00020199", + "platform_install_task_stack": "0x000201a5", + "platform_patch_rf_init_data": "0x000201dd", + "platform_printf": "0x000201e9", + "platform_raise_assertion": "0x000201fd", + "platform_rand": "0x00020211", + "platform_read_info": "0x00020215", + "platform_read_persistent_reg": "0x00020245", + "platform_reset": "0x00020255", + "platform_rt_rc_auto_tune": "0x00020279", + "platform_rt_rc_auto_tune2": "0x00020281", + "platform_rt_rc_tune": "0x00020309", + "platform_set_abs_timer": "0x0002031d", + "platform_set_evt_callback": "0x00020321", + "platform_set_evt_callback_table": "0x00020335", + "platform_set_irq_callback": "0x00020341", + "platform_set_irq_callback_table": "0x0002035d", + "platform_set_rf_clk_source": "0x00020369", + "platform_set_rf_init_data": "0x00020375", + "platform_set_rf_power_mapping": "0x00020381", + "platform_set_timer": "0x0002038d", + "platform_shutdown": "0x00020391", + "platform_switch_app": "0x00020395", + "platform_trace_raw": "0x000203c1", + "platform_write_persistent_reg": "0x000203d9", + "printf_hexdump": "0x0002058d", + "pvPortMalloc": "0x00021081", + "pvTaskIncrementMutexHeldCount": "0x00021169", + "pvTimerGetTimerID": "0x00021181", + "pxPortInitialiseStack": "0x000211ad", + "reverse_128": "0x00021355", + "reverse_24": "0x0002135b", + "reverse_256": "0x00021361", + "reverse_48": "0x00021367", + "reverse_56": "0x0002136d", + "reverse_64": "0x00021373", + "reverse_bd_addr": "0x00021379", + "reverse_bytes": "0x0002137f", + "sm_add_event_handler": "0x0002156d", + "sm_address_resolution_lookup": "0x000216b1", + "sm_authenticated": "0x00021b09", + "sm_authorization_decline": "0x00021b17", + "sm_authorization_grant": "0x00021b37", + "sm_authorization_state": "0x00021b57", + "sm_bonding_decline": "0x00021b71", + "sm_config": "0x00021ff1", + "sm_config_conn": "0x00022025", + "sm_encryption_key_size": "0x000221df", + "sm_just_works_confirm": "0x00022f25", + "sm_le_device_key": "0x00023315", + "sm_numeric_comparison_confirm": "0x0002346b", + "sm_passkey_input": "0x000234a9", + "sm_private_random_address_generation_get": "0x00023ab1", + "sm_private_random_address_generation_get_mode": "0x00023ab9", + "sm_private_random_address_generation_set_mode": "0x00023ac5", + "sm_private_random_address_generation_set_update_period": "0x00023aed", + "sm_register_external_ltk_callback": "0x00023d79", + "sm_register_oob_data_callback": "0x00023d85", + "sm_register_sc_oob_data_callback": "0x00023d91", + "sm_request_pairing": "0x00023d9d", + "sm_sc_generate_oob_data": "0x000249d9", + "sm_send_security_request": "0x00024b09", + "sm_set_accepted_stk_generation_methods": "0x00024b31", + "sm_set_authentication_requirements": "0x00024b3d", + "sm_set_encryption_key_size_range": "0x00024b4d", + "sscanf_bd_addr": "0x00024f59", + "sysSetPublicDeviceAddr": "0x0002530d", + "uuid128_to_str": "0x00025949", + "uuid_add_bluetooth_prefix": "0x000259a1", + "uuid_has_bluetooth_prefix": "0x000259c1", + "uxListRemove": "0x000259dd", + "uxQueueMessagesWaiting": "0x00025a05", + "uxQueueMessagesWaitingFromISR": "0x00025a2d", + "uxQueueSpacesAvailable": "0x00025a49", + "uxTaskGetStackHighWaterMark": "0x00025a75", + "uxTaskPriorityGet": "0x00025a95", + "uxTaskPriorityGetFromISR": "0x00025ab1", + "vListInitialise": "0x00025b6b", + "vListInitialiseItem": "0x00025b81", + "vListInsert": "0x00025b87", + "vListInsertEnd": "0x00025bb7", + "vPortEndScheduler": "0x00025bd1", + "vPortEnterCritical": "0x00025bfd", + "vPortExitCritical": "0x00025c41", + "vPortFree": "0x00025c75", + "vPortSuppressTicksAndSleep": "0x00025d09", + "vPortValidateInterruptPriority": "0x00025e31", + "vQueueDelete": "0x00025e8d", + "vQueueWaitForMessageRestricted": "0x00025eb9", + "vTaskDelay": "0x00025f01", + "vTaskInternalSetTimeOutState": "0x00025f4d", + "vTaskMissedYield": "0x00025f5d", + "vTaskPlaceOnEventList": "0x00025f69", + "vTaskPlaceOnEventListRestricted": "0x00025fa1", + "vTaskPriorityDisinheritAfterTimeout": "0x00025fe1", + "vTaskPrioritySet": "0x0002608d", + "vTaskResume": "0x00026155", + "vTaskStartScheduler": "0x000261d9", + "vTaskStepTick": "0x00026269", + "vTaskSuspend": "0x00026299", + "vTaskSuspendAll": "0x00026355", + "vTaskSwitchContext": "0x00026365", + "xPortStartScheduler": "0x00026415", + "xQueueAddToSet": "0x000264dd", + "xQueueCreateCountingSemaphore": "0x00026501", + "xQueueCreateCountingSemaphoreStatic": "0x0002653d", + "xQueueCreateMutex": "0x00026581", + "xQueueCreateMutexStatic": "0x00026597", + "xQueueCreateSet": "0x000265b1", + "xQueueGenericCreate": "0x000265b9", + "xQueueGenericCreateStatic": "0x00026605", + "xQueueGenericReset": "0x0002666d", + "xQueueGenericSend": "0x000266f9", + "xQueueGenericSendFromISR": "0x00026865", + "xQueueGiveFromISR": "0x00026925", + "xQueueGiveMutexRecursive": "0x000269c9", + "xQueueIsQueueEmptyFromISR": "0x00026a09", + "xQueueIsQueueFullFromISR": "0x00026a2d", + "xQueuePeek": "0x00026a55", + "xQueuePeekFromISR": "0x00026b7d", + "xQueueReceive": "0x00026be9", + "xQueueReceiveFromISR": "0x00026d15", + "xQueueRemoveFromSet": "0x00026da9", + "xQueueSelectFromSet": "0x00026dcb", + "xQueueSelectFromSetFromISR": "0x00026ddd", + "xQueueSemaphoreTake": "0x00026df1", + "xQueueTakeMutexRecursive": "0x00026f5d", + "xTaskCheckForTimeOut": "0x00026fa1", + "xTaskCreate": "0x00027011", + "xTaskCreateStatic": "0x0002706d", + "xTaskGetCurrentTaskHandle": "0x000270dd", + "xTaskGetSchedulerState": "0x000270e9", + "xTaskGetTickCount": "0x00027105", + "xTaskGetTickCountFromISR": "0x00027111", + "xTaskIncrementTick": "0x00027121", + "xTaskPriorityDisinherit": "0x000271ed", + "xTaskPriorityInherit": "0x00027281", + "xTaskRemoveFromEventList": "0x00027315", + "xTaskResumeAll": "0x00027395", + "xTaskResumeFromISR": "0x0002745d", + "xTimerCreate": "0x000274e9", + "xTimerCreateStatic": "0x0002751d", + "xTimerCreateTimerTask": "0x00027555", + "xTimerGenericCommand": "0x000275c1", + "xTimerGetExpiryTime": "0x00027631", + "xTimerGetTimerDaemonTaskHandle": "0x00027651" } \ No newline at end of file diff --git a/bundles/exp/ING9187xx/meta.json b/bundles/exp/ING9187xx/meta.json index fcc5870d3..9676b61a7 100644 --- a/bundles/exp/ING9187xx/meta.json +++ b/bundles/exp/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 152084 + "size": 152136 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/exp/ING9187xx/platform.bin b/bundles/exp/ING9187xx/platform.bin index 5c6558fee..908a99f44 100644 Binary files a/bundles/exp/ING9187xx/platform.bin and b/bundles/exp/ING9187xx/platform.bin differ diff --git a/bundles/exp/ING9188xx/apis.json b/bundles/exp/ING9188xx/apis.json index a737feaf9..85a44bea4 100644 --- a/bundles/exp/ING9188xx/apis.json +++ b/bundles/exp/ING9188xx/apis.json @@ -228,162 +228,164 @@ "nibble_for_char": "0x000214f1", "platform_calibrate_rt_clk": "0x0002159f", "platform_call_on_stack": "0x00004183", - "platform_config": "0x000215a5", - "platform_delete_timer": "0x000216c9", - "platform_enable_irq": "0x000216d1", - "platform_get_current_task": "0x00021709", - "platform_get_gen_os_driver": "0x0002172d", - "platform_get_heap_status": "0x00021735", - "platform_get_link_layer_interf": "0x0002174d", - "platform_get_task_handle": "0x00021755", - "platform_get_timer_counter": "0x00021775", - "platform_get_us_time": "0x00021779", - "platform_get_version": "0x0002177d", - "platform_hrng": "0x00021785", - "platform_install_isr_stack": "0x0002178d", - "platform_install_task_stack": "0x00021799", - "platform_patch_rf_init_data": "0x000217d1", - "platform_printf": "0x000217dd", - "platform_raise_assertion": "0x000217f1", - "platform_rand": "0x00021805", - "platform_read_info": "0x00021809", - "platform_read_persistent_reg": "0x00021839", - "platform_reset": "0x00021849", - "platform_rt_rc_auto_tune": "0x0002186d", - "platform_rt_rc_auto_tune2": "0x00021875", - "platform_rt_rc_tune": "0x000218fd", - "platform_set_abs_timer": "0x00021911", - "platform_set_evt_callback": "0x00021915", - "platform_set_evt_callback_table": "0x00021929", - "platform_set_irq_callback": "0x00021935", - "platform_set_irq_callback_table": "0x00021951", - "platform_set_rf_clk_source": "0x0002195d", - "platform_set_rf_init_data": "0x00021969", - "platform_set_rf_power_mapping": "0x00021975", - "platform_set_timer": "0x00021981", - "platform_shutdown": "0x00021985", - "platform_switch_app": "0x00021989", - "platform_trace_raw": "0x000219b5", - "platform_write_persistent_reg": "0x000219cd", - "printf_hexdump": "0x00021b81", - "pvPortMalloc": "0x00022675", - "pvTaskIncrementMutexHeldCount": "0x0002275d", - "pvTimerGetTimerID": "0x00022775", - "pxPortInitialiseStack": "0x000227a1", - "reverse_128": "0x00022981", - "reverse_24": "0x00022987", - "reverse_256": "0x0002298d", - "reverse_48": "0x00022993", - "reverse_56": "0x00022999", - "reverse_64": "0x0002299f", - "reverse_bd_addr": "0x000229a5", - "reverse_bytes": "0x000229ab", - "sm_add_event_handler": "0x00022ce9", - "sm_address_resolution_lookup": "0x00022e2d", - "sm_authenticated": "0x00023285", - "sm_authorization_decline": "0x00023293", - "sm_authorization_grant": "0x000232b3", - "sm_authorization_state": "0x000232d3", - "sm_bonding_decline": "0x000232ed", - "sm_config": "0x0002376d", - "sm_config_conn": "0x000237a1", - "sm_encryption_key_size": "0x0002395b", - "sm_just_works_confirm": "0x000246a1", - "sm_le_device_key": "0x00024a91", - "sm_numeric_comparison_confirm": "0x00024be7", - "sm_passkey_input": "0x00024c25", - "sm_private_random_address_generation_get": "0x0002522d", - "sm_private_random_address_generation_get_mode": "0x00025235", - "sm_private_random_address_generation_set_mode": "0x00025241", - "sm_private_random_address_generation_set_update_period": "0x00025269", - "sm_register_external_ltk_callback": "0x000254f5", - "sm_register_oob_data_callback": "0x00025501", - "sm_register_sc_oob_data_callback": "0x0002550d", - "sm_request_pairing": "0x00025519", - "sm_sc_generate_oob_data": "0x00026155", - "sm_send_security_request": "0x00026285", - "sm_set_accepted_stk_generation_methods": "0x000262ad", - "sm_set_authentication_requirements": "0x000262b9", - "sm_set_encryption_key_size_range": "0x000262c9", - "sscanf_bd_addr": "0x000266d5", - "sysSetPublicDeviceAddr": "0x00026a89", - "uuid128_to_str": "0x0002725d", - "uuid_add_bluetooth_prefix": "0x000272b5", - "uuid_has_bluetooth_prefix": "0x000272d5", - "uxListRemove": "0x000272f1", - "uxQueueMessagesWaiting": "0x00027319", - "uxQueueMessagesWaitingFromISR": "0x00027341", - "uxQueueSpacesAvailable": "0x0002735d", - "uxTaskGetStackHighWaterMark": "0x00027389", - "uxTaskPriorityGet": "0x000273a9", - "uxTaskPriorityGetFromISR": "0x000273c5", - "vListInitialise": "0x0002747f", - "vListInitialiseItem": "0x00027495", - "vListInsert": "0x0002749b", - "vListInsertEnd": "0x000274cb", - "vPortEndScheduler": "0x000274e5", - "vPortEnterCritical": "0x00027511", - "vPortExitCritical": "0x00027555", - "vPortFree": "0x00027589", - "vPortSuppressTicksAndSleep": "0x0002761d", - "vPortValidateInterruptPriority": "0x00027745", - "vQueueDelete": "0x000277a1", - "vQueueWaitForMessageRestricted": "0x000277cd", - "vTaskDelay": "0x00027815", - "vTaskInternalSetTimeOutState": "0x00027861", - "vTaskMissedYield": "0x00027871", - "vTaskPlaceOnEventList": "0x0002787d", - "vTaskPlaceOnEventListRestricted": "0x000278b5", - "vTaskPriorityDisinheritAfterTimeout": "0x000278f5", - "vTaskPrioritySet": "0x000279a1", - "vTaskResume": "0x00027a69", - "vTaskStartScheduler": "0x00027aed", - "vTaskStepTick": "0x00027b7d", - "vTaskSuspend": "0x00027bad", - "vTaskSuspendAll": "0x00027c69", - "vTaskSwitchContext": "0x00027c79", - "xPortStartScheduler": "0x00027d29", - "xQueueAddToSet": "0x00027df1", - "xQueueCreateCountingSemaphore": "0x00027e15", - "xQueueCreateCountingSemaphoreStatic": "0x00027e51", - "xQueueCreateMutex": "0x00027e95", - "xQueueCreateMutexStatic": "0x00027eab", - "xQueueCreateSet": "0x00027ec5", - "xQueueGenericCreate": "0x00027ecd", - "xQueueGenericCreateStatic": "0x00027f19", - "xQueueGenericReset": "0x00027f81", - "xQueueGenericSend": "0x0002800d", - "xQueueGenericSendFromISR": "0x00028179", - "xQueueGiveFromISR": "0x00028239", - "xQueueGiveMutexRecursive": "0x000282dd", - "xQueueIsQueueEmptyFromISR": "0x0002831d", - "xQueueIsQueueFullFromISR": "0x00028341", - "xQueuePeek": "0x00028369", - "xQueuePeekFromISR": "0x00028491", - "xQueueReceive": "0x000284fd", - "xQueueReceiveFromISR": "0x00028629", - "xQueueRemoveFromSet": "0x000286bd", - "xQueueSelectFromSet": "0x000286df", - "xQueueSelectFromSetFromISR": "0x000286f1", - "xQueueSemaphoreTake": "0x00028705", - "xQueueTakeMutexRecursive": "0x00028871", - "xTaskCheckForTimeOut": "0x000288b5", - "xTaskCreate": "0x00028925", - "xTaskCreateStatic": "0x00028981", - "xTaskGetCurrentTaskHandle": "0x000289f1", - "xTaskGetSchedulerState": "0x000289fd", - "xTaskGetTickCount": "0x00028a19", - "xTaskGetTickCountFromISR": "0x00028a25", - "xTaskIncrementTick": "0x00028a35", - "xTaskPriorityDisinherit": "0x00028b01", - "xTaskPriorityInherit": "0x00028b95", - "xTaskRemoveFromEventList": "0x00028c29", - "xTaskResumeAll": "0x00028ca9", - "xTaskResumeFromISR": "0x00028d71", - "xTimerCreate": "0x00028dfd", - "xTimerCreateStatic": "0x00028e31", - "xTimerCreateTimerTask": "0x00028e69", - "xTimerGenericCommand": "0x00028ed5", - "xTimerGetExpiryTime": "0x00028f45", - "xTimerGetTimerDaemonTaskHandle": "0x00028f65" + "platform_cancel_us_timer": "0x000215a3", + "platform_config": "0x000215b9", + "platform_create_us_timer": "0x000216dd", + "platform_delete_timer": "0x000216f1", + "platform_enable_irq": "0x000216f9", + "platform_get_current_task": "0x00021731", + "platform_get_gen_os_driver": "0x00021755", + "platform_get_heap_status": "0x0002175d", + "platform_get_link_layer_interf": "0x00021775", + "platform_get_task_handle": "0x0002177d", + "platform_get_timer_counter": "0x0002179d", + "platform_get_us_time": "0x000217a1", + "platform_get_version": "0x000217a5", + "platform_hrng": "0x000217ad", + "platform_install_isr_stack": "0x000217b5", + "platform_install_task_stack": "0x000217c1", + "platform_patch_rf_init_data": "0x000217f9", + "platform_printf": "0x00021805", + "platform_raise_assertion": "0x00021819", + "platform_rand": "0x0002182d", + "platform_read_info": "0x00021831", + "platform_read_persistent_reg": "0x00021861", + "platform_reset": "0x00021871", + "platform_rt_rc_auto_tune": "0x00021895", + "platform_rt_rc_auto_tune2": "0x0002189d", + "platform_rt_rc_tune": "0x00021925", + "platform_set_abs_timer": "0x00021939", + "platform_set_evt_callback": "0x0002193d", + "platform_set_evt_callback_table": "0x00021951", + "platform_set_irq_callback": "0x0002195d", + "platform_set_irq_callback_table": "0x00021979", + "platform_set_rf_clk_source": "0x00021985", + "platform_set_rf_init_data": "0x00021991", + "platform_set_rf_power_mapping": "0x0002199d", + "platform_set_timer": "0x000219a9", + "platform_shutdown": "0x000219ad", + "platform_switch_app": "0x000219b1", + "platform_trace_raw": "0x000219dd", + "platform_write_persistent_reg": "0x000219f5", + "printf_hexdump": "0x00021ba9", + "pvPortMalloc": "0x0002269d", + "pvTaskIncrementMutexHeldCount": "0x00022785", + "pvTimerGetTimerID": "0x0002279d", + "pxPortInitialiseStack": "0x000227c9", + "reverse_128": "0x000229a9", + "reverse_24": "0x000229af", + "reverse_256": "0x000229b5", + "reverse_48": "0x000229bb", + "reverse_56": "0x000229c1", + "reverse_64": "0x000229c7", + "reverse_bd_addr": "0x000229cd", + "reverse_bytes": "0x000229d3", + "sm_add_event_handler": "0x00022d11", + "sm_address_resolution_lookup": "0x00022e55", + "sm_authenticated": "0x000232ad", + "sm_authorization_decline": "0x000232bb", + "sm_authorization_grant": "0x000232db", + "sm_authorization_state": "0x000232fb", + "sm_bonding_decline": "0x00023315", + "sm_config": "0x00023795", + "sm_config_conn": "0x000237c9", + "sm_encryption_key_size": "0x00023983", + "sm_just_works_confirm": "0x000246c9", + "sm_le_device_key": "0x00024ab9", + "sm_numeric_comparison_confirm": "0x00024c0f", + "sm_passkey_input": "0x00024c4d", + "sm_private_random_address_generation_get": "0x00025255", + "sm_private_random_address_generation_get_mode": "0x0002525d", + "sm_private_random_address_generation_set_mode": "0x00025269", + "sm_private_random_address_generation_set_update_period": "0x00025291", + "sm_register_external_ltk_callback": "0x0002551d", + "sm_register_oob_data_callback": "0x00025529", + "sm_register_sc_oob_data_callback": "0x00025535", + "sm_request_pairing": "0x00025541", + "sm_sc_generate_oob_data": "0x0002617d", + "sm_send_security_request": "0x000262ad", + "sm_set_accepted_stk_generation_methods": "0x000262d5", + "sm_set_authentication_requirements": "0x000262e1", + "sm_set_encryption_key_size_range": "0x000262f1", + "sscanf_bd_addr": "0x000266fd", + "sysSetPublicDeviceAddr": "0x00026ab1", + "uuid128_to_str": "0x00027285", + "uuid_add_bluetooth_prefix": "0x000272dd", + "uuid_has_bluetooth_prefix": "0x000272fd", + "uxListRemove": "0x00027319", + "uxQueueMessagesWaiting": "0x00027341", + "uxQueueMessagesWaitingFromISR": "0x00027369", + "uxQueueSpacesAvailable": "0x00027385", + "uxTaskGetStackHighWaterMark": "0x000273b1", + "uxTaskPriorityGet": "0x000273d1", + "uxTaskPriorityGetFromISR": "0x000273ed", + "vListInitialise": "0x000274a7", + "vListInitialiseItem": "0x000274bd", + "vListInsert": "0x000274c3", + "vListInsertEnd": "0x000274f3", + "vPortEndScheduler": "0x0002750d", + "vPortEnterCritical": "0x00027539", + "vPortExitCritical": "0x0002757d", + "vPortFree": "0x000275b1", + "vPortSuppressTicksAndSleep": "0x00027645", + "vPortValidateInterruptPriority": "0x0002776d", + "vQueueDelete": "0x000277c9", + "vQueueWaitForMessageRestricted": "0x000277f5", + "vTaskDelay": "0x0002783d", + "vTaskInternalSetTimeOutState": "0x00027889", + "vTaskMissedYield": "0x00027899", + "vTaskPlaceOnEventList": "0x000278a5", + "vTaskPlaceOnEventListRestricted": "0x000278dd", + "vTaskPriorityDisinheritAfterTimeout": "0x0002791d", + "vTaskPrioritySet": "0x000279c9", + "vTaskResume": "0x00027a91", + "vTaskStartScheduler": "0x00027b15", + "vTaskStepTick": "0x00027ba5", + "vTaskSuspend": "0x00027bd5", + "vTaskSuspendAll": "0x00027c91", + "vTaskSwitchContext": "0x00027ca1", + "xPortStartScheduler": "0x00027d51", + "xQueueAddToSet": "0x00027e19", + "xQueueCreateCountingSemaphore": "0x00027e3d", + "xQueueCreateCountingSemaphoreStatic": "0x00027e79", + "xQueueCreateMutex": "0x00027ebd", + "xQueueCreateMutexStatic": "0x00027ed3", + "xQueueCreateSet": "0x00027eed", + "xQueueGenericCreate": "0x00027ef5", + "xQueueGenericCreateStatic": "0x00027f41", + "xQueueGenericReset": "0x00027fa9", + "xQueueGenericSend": "0x00028035", + "xQueueGenericSendFromISR": "0x000281a1", + "xQueueGiveFromISR": "0x00028261", + "xQueueGiveMutexRecursive": "0x00028305", + "xQueueIsQueueEmptyFromISR": "0x00028345", + "xQueueIsQueueFullFromISR": "0x00028369", + "xQueuePeek": "0x00028391", + "xQueuePeekFromISR": "0x000284b9", + "xQueueReceive": "0x00028525", + "xQueueReceiveFromISR": "0x00028651", + "xQueueRemoveFromSet": "0x000286e5", + "xQueueSelectFromSet": "0x00028707", + "xQueueSelectFromSetFromISR": "0x00028719", + "xQueueSemaphoreTake": "0x0002872d", + "xQueueTakeMutexRecursive": "0x00028899", + "xTaskCheckForTimeOut": "0x000288dd", + "xTaskCreate": "0x0002894d", + "xTaskCreateStatic": "0x000289a9", + "xTaskGetCurrentTaskHandle": "0x00028a19", + "xTaskGetSchedulerState": "0x00028a25", + "xTaskGetTickCount": "0x00028a41", + "xTaskGetTickCountFromISR": "0x00028a4d", + "xTaskIncrementTick": "0x00028a5d", + "xTaskPriorityDisinherit": "0x00028b29", + "xTaskPriorityInherit": "0x00028bbd", + "xTaskRemoveFromEventList": "0x00028c51", + "xTaskResumeAll": "0x00028cd1", + "xTaskResumeFromISR": "0x00028d99", + "xTimerCreate": "0x00028e25", + "xTimerCreateStatic": "0x00028e59", + "xTimerCreateTimerTask": "0x00028e91", + "xTimerGenericCommand": "0x00028efd", + "xTimerGetExpiryTime": "0x00028f6d", + "xTimerGetTimerDaemonTaskHandle": "0x00028f8d" } \ No newline at end of file diff --git a/bundles/exp/ING9188xx/meta.json b/bundles/exp/ING9188xx/meta.json index ccc109c2d..7fd1b70ab 100644 --- a/bundles/exp/ING9188xx/meta.json +++ b/bundles/exp/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 158996 + "size": 159048 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/exp/ING9188xx/platform.bin b/bundles/exp/ING9188xx/platform.bin index 8599c94ec..df43e74c8 100644 Binary files a/bundles/exp/ING9188xx/platform.bin and b/bundles/exp/ING9188xx/platform.bin differ diff --git a/bundles/exp/inc/platform_api.h b/bundles/exp/inc/platform_api.h index b16a6c17c..27b03f259 100644 --- a/bundles/exp/inc/platform_api.h +++ b/bundles/exp/inc/platform_api.h @@ -464,8 +464,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -783,6 +788,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/extension/ING9168xx/apis.json b/bundles/extension/ING9168xx/apis.json index 69d1c3c51..004bac598 100644 --- a/bundles/extension/ING9168xx/apis.json +++ b/bundles/extension/ING9168xx/apis.json @@ -221,159 +221,161 @@ "nibble_for_char": "0x02021525", "platform_calibrate_rt_clk": "0x020215cf", "platform_call_on_stack": "0x020030fb", - "platform_config": "0x020215d5", - "platform_delete_timer": "0x020216fd", - "platform_enable_irq": "0x02021705", - "platform_get_current_task": "0x02021739", - "platform_get_gen_os_driver": "0x0202175d", - "platform_get_heap_status": "0x02021765", - "platform_get_link_layer_interf": "0x0202177d", - "platform_get_task_handle": "0x02021785", - "platform_get_timer_counter": "0x020217a5", - "platform_get_us_time": "0x020217a9", - "platform_get_version": "0x020217ad", - "platform_hrng": "0x020217c9", - "platform_install_isr_stack": "0x020217d1", - "platform_install_task_stack": "0x020217dd", - "platform_patch_rf_init_data": "0x02021815", - "platform_printf": "0x02021821", - "platform_raise_assertion": "0x02021835", - "platform_rand": "0x02021849", - "platform_read_info": "0x0202184d", - "platform_read_persistent_reg": "0x0202187d", - "platform_reset": "0x02021889", - "platform_rt_rc_auto_tune": "0x0202189d", - "platform_rt_rc_auto_tune2": "0x020218a5", - "platform_rt_rc_tune": "0x0202190d", - "platform_set_abs_timer": "0x02021929", - "platform_set_evt_callback": "0x0202192d", - "platform_set_evt_callback_table": "0x02021941", - "platform_set_irq_callback": "0x0202194d", - "platform_set_irq_callback_table": "0x02021969", - "platform_set_rf_clk_source": "0x02021975", - "platform_set_rf_init_data": "0x02021981", - "platform_set_rf_power_mapping": "0x0202198d", - "platform_set_timer": "0x02021999", - "platform_shutdown": "0x0202199d", - "platform_switch_app": "0x020219a1", - "platform_trace_raw": "0x020219b9", - "platform_write_persistent_reg": "0x020219d1", - "printf_hexdump": "0x02021b89", - "pvPortMalloc": "0x02022661", - "pvTaskIncrementMutexHeldCount": "0x02022749", - "pvTimerGetTimerID": "0x02022761", - "pxPortInitialiseStack": "0x0202278d", - "reverse_128": "0x02022975", - "reverse_24": "0x0202297b", - "reverse_256": "0x02022981", - "reverse_48": "0x02022987", - "reverse_56": "0x0202298d", - "reverse_64": "0x02022993", - "reverse_bd_addr": "0x02022999", - "reverse_bytes": "0x0202299f", - "sm_add_event_handler": "0x02022d2d", - "sm_address_resolution_lookup": "0x02022e85", - "sm_authenticated": "0x0202322d", - "sm_authorization_decline": "0x0202323b", - "sm_authorization_grant": "0x0202325b", - "sm_authorization_state": "0x0202327b", - "sm_bonding_decline": "0x02023295", - "sm_config": "0x020236e9", - "sm_config_conn": "0x0202371d", - "sm_encryption_key_size": "0x020238d7", - "sm_just_works_confirm": "0x02023e5d", - "sm_le_device_key": "0x0202419d", - "sm_passkey_input": "0x02024233", - "sm_private_random_address_generation_get": "0x020245ed", - "sm_private_random_address_generation_get_mode": "0x020245f5", - "sm_private_random_address_generation_set_mode": "0x02024601", - "sm_private_random_address_generation_set_update_period": "0x02024629", - "sm_register_external_ltk_callback": "0x02024765", - "sm_register_oob_data_callback": "0x02024771", - "sm_request_pairing": "0x0202477d", - "sm_send_security_request": "0x0202525b", - "sm_set_accepted_stk_generation_methods": "0x02025281", - "sm_set_authentication_requirements": "0x0202528d", - "sm_set_encryption_key_size_range": "0x0202529d", - "sscanf_bd_addr": "0x02025665", - "sysSetPublicDeviceAddr": "0x02025b8d", - "uuid128_to_str": "0x020263e9", - "uuid_add_bluetooth_prefix": "0x02026441", - "uuid_has_bluetooth_prefix": "0x02026461", - "uxListRemove": "0x0202647d", - "uxQueueMessagesWaiting": "0x020264a5", - "uxQueueMessagesWaitingFromISR": "0x020264cd", - "uxQueueSpacesAvailable": "0x020264e9", - "uxTaskGetStackHighWaterMark": "0x02026515", - "uxTaskPriorityGet": "0x02026535", - "uxTaskPriorityGetFromISR": "0x02026551", - "vListInitialise": "0x0202660f", - "vListInitialiseItem": "0x02026625", - "vListInsert": "0x0202662b", - "vListInsertEnd": "0x0202665b", - "vPortEndScheduler": "0x02026675", - "vPortEnterCritical": "0x020266a1", - "vPortExitCritical": "0x020266e5", - "vPortFree": "0x02026719", - "vPortSuppressTicksAndSleep": "0x020267bd", - "vPortValidateInterruptPriority": "0x020268e5", - "vQueueDelete": "0x02026941", - "vQueueWaitForMessageRestricted": "0x0202696d", - "vTaskDelay": "0x020269b1", - "vTaskInternalSetTimeOutState": "0x020269fd", - "vTaskMissedYield": "0x02026a0d", - "vTaskPlaceOnEventList": "0x02026a19", - "vTaskPlaceOnEventListRestricted": "0x02026a51", - "vTaskPriorityDisinheritAfterTimeout": "0x02026a91", - "vTaskPrioritySet": "0x02026b3d", - "vTaskResume": "0x02026c05", - "vTaskStartScheduler": "0x02026c89", - "vTaskStepTick": "0x02026d19", - "vTaskSuspend": "0x02026d49", - "vTaskSuspendAll": "0x02026e05", - "vTaskSwitchContext": "0x02026e15", - "xPortStartScheduler": "0x02026ec5", - "xQueueAddToSet": "0x02026fc9", - "xQueueCreateCountingSemaphore": "0x02026fed", - "xQueueCreateCountingSemaphoreStatic": "0x02027029", - "xQueueCreateMutex": "0x0202706d", - "xQueueCreateMutexStatic": "0x02027083", - "xQueueCreateSet": "0x0202709d", - "xQueueGenericCreate": "0x020270a5", - "xQueueGenericCreateStatic": "0x020270f1", - "xQueueGenericReset": "0x02027159", - "xQueueGenericSend": "0x020271e5", - "xQueueGenericSendFromISR": "0x02027351", - "xQueueGiveFromISR": "0x02027411", - "xQueueGiveMutexRecursive": "0x020274b5", - "xQueueIsQueueEmptyFromISR": "0x020274f5", - "xQueueIsQueueFullFromISR": "0x02027519", - "xQueuePeek": "0x02027541", - "xQueuePeekFromISR": "0x02027669", - "xQueueReceive": "0x020276d5", - "xQueueReceiveFromISR": "0x02027801", - "xQueueRemoveFromSet": "0x02027895", - "xQueueSelectFromSet": "0x020278b7", - "xQueueSelectFromSetFromISR": "0x020278c9", - "xQueueSemaphoreTake": "0x020278dd", - "xQueueTakeMutexRecursive": "0x02027a49", - "xTaskCheckForTimeOut": "0x02027a8d", - "xTaskCreate": "0x02027afd", - "xTaskCreateStatic": "0x02027b59", - "xTaskGetCurrentTaskHandle": "0x02027bc9", - "xTaskGetSchedulerState": "0x02027bd5", - "xTaskGetTickCount": "0x02027bf1", - "xTaskGetTickCountFromISR": "0x02027bfd", - "xTaskIncrementTick": "0x02027c0d", - "xTaskPriorityDisinherit": "0x02027cd9", - "xTaskPriorityInherit": "0x02027d6d", - "xTaskRemoveFromEventList": "0x02027e01", - "xTaskResumeAll": "0x02027e81", - "xTaskResumeFromISR": "0x02027f49", - "xTimerCreate": "0x02027fd5", - "xTimerCreateStatic": "0x02028009", - "xTimerCreateTimerTask": "0x02028041", - "xTimerGenericCommand": "0x020280ad", - "xTimerGetExpiryTime": "0x0202811d", - "xTimerGetTimerDaemonTaskHandle": "0x0202813d" + "platform_cancel_us_timer": "0x020215d3", + "platform_config": "0x020215e9", + "platform_create_us_timer": "0x0202171d", + "platform_delete_timer": "0x02021731", + "platform_enable_irq": "0x02021739", + "platform_get_current_task": "0x0202176d", + "platform_get_gen_os_driver": "0x02021791", + "platform_get_heap_status": "0x02021799", + "platform_get_link_layer_interf": "0x020217b1", + "platform_get_task_handle": "0x020217b9", + "platform_get_timer_counter": "0x020217d9", + "platform_get_us_time": "0x020217dd", + "platform_get_version": "0x020217e1", + "platform_hrng": "0x020217fd", + "platform_install_isr_stack": "0x02021805", + "platform_install_task_stack": "0x02021811", + "platform_patch_rf_init_data": "0x02021849", + "platform_printf": "0x02021855", + "platform_raise_assertion": "0x02021869", + "platform_rand": "0x0202187d", + "platform_read_info": "0x02021881", + "platform_read_persistent_reg": "0x020218b1", + "platform_reset": "0x020218bd", + "platform_rt_rc_auto_tune": "0x020218d1", + "platform_rt_rc_auto_tune2": "0x020218d9", + "platform_rt_rc_tune": "0x02021941", + "platform_set_abs_timer": "0x0202195d", + "platform_set_evt_callback": "0x02021961", + "platform_set_evt_callback_table": "0x02021975", + "platform_set_irq_callback": "0x02021981", + "platform_set_irq_callback_table": "0x0202199d", + "platform_set_rf_clk_source": "0x020219a9", + "platform_set_rf_init_data": "0x020219b5", + "platform_set_rf_power_mapping": "0x020219c1", + "platform_set_timer": "0x020219cd", + "platform_shutdown": "0x020219d1", + "platform_switch_app": "0x020219d5", + "platform_trace_raw": "0x020219ed", + "platform_write_persistent_reg": "0x02021a05", + "printf_hexdump": "0x02021bbd", + "pvPortMalloc": "0x02022695", + "pvTaskIncrementMutexHeldCount": "0x0202277d", + "pvTimerGetTimerID": "0x02022795", + "pxPortInitialiseStack": "0x020227c1", + "reverse_128": "0x020229a9", + "reverse_24": "0x020229af", + "reverse_256": "0x020229b5", + "reverse_48": "0x020229bb", + "reverse_56": "0x020229c1", + "reverse_64": "0x020229c7", + "reverse_bd_addr": "0x020229cd", + "reverse_bytes": "0x020229d3", + "sm_add_event_handler": "0x02022d61", + "sm_address_resolution_lookup": "0x02022eb9", + "sm_authenticated": "0x02023261", + "sm_authorization_decline": "0x0202326f", + "sm_authorization_grant": "0x0202328f", + "sm_authorization_state": "0x020232af", + "sm_bonding_decline": "0x020232c9", + "sm_config": "0x0202371d", + "sm_config_conn": "0x02023751", + "sm_encryption_key_size": "0x0202390b", + "sm_just_works_confirm": "0x02023e91", + "sm_le_device_key": "0x020241d1", + "sm_passkey_input": "0x02024267", + "sm_private_random_address_generation_get": "0x02024621", + "sm_private_random_address_generation_get_mode": "0x02024629", + "sm_private_random_address_generation_set_mode": "0x02024635", + "sm_private_random_address_generation_set_update_period": "0x0202465d", + "sm_register_external_ltk_callback": "0x02024799", + "sm_register_oob_data_callback": "0x020247a5", + "sm_request_pairing": "0x020247b1", + "sm_send_security_request": "0x0202528f", + "sm_set_accepted_stk_generation_methods": "0x020252b5", + "sm_set_authentication_requirements": "0x020252c1", + "sm_set_encryption_key_size_range": "0x020252d1", + "sscanf_bd_addr": "0x02025699", + "sysSetPublicDeviceAddr": "0x02025bd5", + "uuid128_to_str": "0x02026431", + "uuid_add_bluetooth_prefix": "0x02026489", + "uuid_has_bluetooth_prefix": "0x020264a9", + "uxListRemove": "0x020264c5", + "uxQueueMessagesWaiting": "0x020264ed", + "uxQueueMessagesWaitingFromISR": "0x02026515", + "uxQueueSpacesAvailable": "0x02026531", + "uxTaskGetStackHighWaterMark": "0x0202655d", + "uxTaskPriorityGet": "0x0202657d", + "uxTaskPriorityGetFromISR": "0x02026599", + "vListInitialise": "0x02026657", + "vListInitialiseItem": "0x0202666d", + "vListInsert": "0x02026673", + "vListInsertEnd": "0x020266a3", + "vPortEndScheduler": "0x020266bd", + "vPortEnterCritical": "0x020266e9", + "vPortExitCritical": "0x0202672d", + "vPortFree": "0x02026761", + "vPortSuppressTicksAndSleep": "0x02026805", + "vPortValidateInterruptPriority": "0x0202692d", + "vQueueDelete": "0x02026989", + "vQueueWaitForMessageRestricted": "0x020269b5", + "vTaskDelay": "0x020269f9", + "vTaskInternalSetTimeOutState": "0x02026a45", + "vTaskMissedYield": "0x02026a55", + "vTaskPlaceOnEventList": "0x02026a61", + "vTaskPlaceOnEventListRestricted": "0x02026a99", + "vTaskPriorityDisinheritAfterTimeout": "0x02026ad9", + "vTaskPrioritySet": "0x02026b85", + "vTaskResume": "0x02026c4d", + "vTaskStartScheduler": "0x02026cd1", + "vTaskStepTick": "0x02026d61", + "vTaskSuspend": "0x02026d91", + "vTaskSuspendAll": "0x02026e4d", + "vTaskSwitchContext": "0x02026e5d", + "xPortStartScheduler": "0x02026f0d", + "xQueueAddToSet": "0x02027011", + "xQueueCreateCountingSemaphore": "0x02027035", + "xQueueCreateCountingSemaphoreStatic": "0x02027071", + "xQueueCreateMutex": "0x020270b5", + "xQueueCreateMutexStatic": "0x020270cb", + "xQueueCreateSet": "0x020270e5", + "xQueueGenericCreate": "0x020270ed", + "xQueueGenericCreateStatic": "0x02027139", + "xQueueGenericReset": "0x020271a1", + "xQueueGenericSend": "0x0202722d", + "xQueueGenericSendFromISR": "0x02027399", + "xQueueGiveFromISR": "0x02027459", + "xQueueGiveMutexRecursive": "0x020274fd", + "xQueueIsQueueEmptyFromISR": "0x0202753d", + "xQueueIsQueueFullFromISR": "0x02027561", + "xQueuePeek": "0x02027589", + "xQueuePeekFromISR": "0x020276b1", + "xQueueReceive": "0x0202771d", + "xQueueReceiveFromISR": "0x02027849", + "xQueueRemoveFromSet": "0x020278dd", + "xQueueSelectFromSet": "0x020278ff", + "xQueueSelectFromSetFromISR": "0x02027911", + "xQueueSemaphoreTake": "0x02027925", + "xQueueTakeMutexRecursive": "0x02027a91", + "xTaskCheckForTimeOut": "0x02027ad5", + "xTaskCreate": "0x02027b45", + "xTaskCreateStatic": "0x02027ba1", + "xTaskGetCurrentTaskHandle": "0x02027c11", + "xTaskGetSchedulerState": "0x02027c1d", + "xTaskGetTickCount": "0x02027c39", + "xTaskGetTickCountFromISR": "0x02027c45", + "xTaskIncrementTick": "0x02027c55", + "xTaskPriorityDisinherit": "0x02027d21", + "xTaskPriorityInherit": "0x02027db5", + "xTaskRemoveFromEventList": "0x02027e49", + "xTaskResumeAll": "0x02027ec9", + "xTaskResumeFromISR": "0x02027f91", + "xTimerCreate": "0x0202801d", + "xTimerCreateStatic": "0x02028051", + "xTimerCreateTimerTask": "0x02028089", + "xTimerGenericCommand": "0x020280f5", + "xTimerGetExpiryTime": "0x02028165", + "xTimerGetTimerDaemonTaskHandle": "0x02028185" } \ No newline at end of file diff --git a/bundles/extension/ING9168xx/meta.json b/bundles/extension/ING9168xx/meta.json index 9db6c3acf..4f333ab2e 100644 --- a/bundles/extension/ING9168xx/meta.json +++ b/bundles/extension/ING9168xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 33562624, - "size": 165272 + "size": 165356 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/extension/ING9168xx/platform.bin b/bundles/extension/ING9168xx/platform.bin index 3d157a4f7..cf5d172b2 100644 Binary files a/bundles/extension/ING9168xx/platform.bin and b/bundles/extension/ING9168xx/platform.bin differ diff --git a/bundles/extension/ING9187xx/apis.json b/bundles/extension/ING9187xx/apis.json index 5e57d9302..cc07082e4 100644 --- a/bundles/extension/ING9187xx/apis.json +++ b/bundles/extension/ING9187xx/apis.json @@ -194,159 +194,161 @@ "nibble_for_char": "0x0001e0e5", "platform_calibrate_rt_clk": "0x0001e191", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001e195", - "platform_delete_timer": "0x0001e2b9", - "platform_enable_irq": "0x0001e2c1", - "platform_get_current_task": "0x0001e2f9", - "platform_get_gen_os_driver": "0x0001e31d", - "platform_get_heap_status": "0x0001e325", - "platform_get_link_layer_interf": "0x0001e33d", - "platform_get_task_handle": "0x0001e345", - "platform_get_timer_counter": "0x0001e365", - "platform_get_us_time": "0x0001e369", - "platform_get_version": "0x0001e36d", - "platform_hrng": "0x0001e375", - "platform_install_isr_stack": "0x0001e37d", - "platform_install_task_stack": "0x0001e389", - "platform_patch_rf_init_data": "0x0001e3c1", - "platform_printf": "0x0001e3cd", - "platform_raise_assertion": "0x0001e3e1", - "platform_rand": "0x0001e3f5", - "platform_read_info": "0x0001e3f9", - "platform_read_persistent_reg": "0x0001e429", - "platform_reset": "0x0001e439", - "platform_rt_rc_auto_tune": "0x0001e45d", - "platform_rt_rc_auto_tune2": "0x0001e465", - "platform_rt_rc_tune": "0x0001e4ed", - "platform_set_abs_timer": "0x0001e501", - "platform_set_evt_callback": "0x0001e505", - "platform_set_evt_callback_table": "0x0001e519", - "platform_set_irq_callback": "0x0001e525", - "platform_set_irq_callback_table": "0x0001e541", - "platform_set_rf_clk_source": "0x0001e54d", - "platform_set_rf_init_data": "0x0001e559", - "platform_set_rf_power_mapping": "0x0001e565", - "platform_set_timer": "0x0001e571", - "platform_shutdown": "0x0001e575", - "platform_switch_app": "0x0001e579", - "platform_trace_raw": "0x0001e5a5", - "platform_write_persistent_reg": "0x0001e5bd", - "printf_hexdump": "0x0001e771", - "pvPortMalloc": "0x0001f265", - "pvTaskIncrementMutexHeldCount": "0x0001f34d", - "pvTimerGetTimerID": "0x0001f365", - "pxPortInitialiseStack": "0x0001f391", - "reverse_128": "0x0001f539", - "reverse_24": "0x0001f53f", - "reverse_256": "0x0001f545", - "reverse_48": "0x0001f54b", - "reverse_56": "0x0001f551", - "reverse_64": "0x0001f557", - "reverse_bd_addr": "0x0001f55d", - "reverse_bytes": "0x0001f563", - "sm_add_event_handler": "0x0001f731", - "sm_address_resolution_lookup": "0x0001f889", - "sm_authenticated": "0x0001fc31", - "sm_authorization_decline": "0x0001fc3f", - "sm_authorization_grant": "0x0001fc5f", - "sm_authorization_state": "0x0001fc7f", - "sm_bonding_decline": "0x0001fc99", - "sm_config": "0x000200f5", - "sm_config_conn": "0x00020129", - "sm_encryption_key_size": "0x000202e3", - "sm_just_works_confirm": "0x00020869", - "sm_le_device_key": "0x00020ba9", - "sm_passkey_input": "0x00020c3f", - "sm_private_random_address_generation_get": "0x00020ff9", - "sm_private_random_address_generation_get_mode": "0x00021001", - "sm_private_random_address_generation_set_mode": "0x0002100d", - "sm_private_random_address_generation_set_update_period": "0x00021035", - "sm_register_external_ltk_callback": "0x00021171", - "sm_register_oob_data_callback": "0x0002117d", - "sm_request_pairing": "0x00021189", - "sm_send_security_request": "0x00021c67", - "sm_set_accepted_stk_generation_methods": "0x00021c8d", - "sm_set_authentication_requirements": "0x00021c99", - "sm_set_encryption_key_size_range": "0x00021ca9", - "sscanf_bd_addr": "0x00022069", - "sysSetPublicDeviceAddr": "0x0002241d", - "uuid128_to_str": "0x00022a31", - "uuid_add_bluetooth_prefix": "0x00022a89", - "uuid_has_bluetooth_prefix": "0x00022aa9", - "uxListRemove": "0x00022ac5", - "uxQueueMessagesWaiting": "0x00022aed", - "uxQueueMessagesWaitingFromISR": "0x00022b15", - "uxQueueSpacesAvailable": "0x00022b31", - "uxTaskGetStackHighWaterMark": "0x00022b5d", - "uxTaskPriorityGet": "0x00022b7d", - "uxTaskPriorityGetFromISR": "0x00022b99", - "vListInitialise": "0x00022c53", - "vListInitialiseItem": "0x00022c69", - "vListInsert": "0x00022c6f", - "vListInsertEnd": "0x00022c9f", - "vPortEndScheduler": "0x00022cb9", - "vPortEnterCritical": "0x00022ce5", - "vPortExitCritical": "0x00022d29", - "vPortFree": "0x00022d5d", - "vPortSuppressTicksAndSleep": "0x00022df1", - "vPortValidateInterruptPriority": "0x00022f19", - "vQueueDelete": "0x00022f75", - "vQueueWaitForMessageRestricted": "0x00022fa1", - "vTaskDelay": "0x00022fe9", - "vTaskInternalSetTimeOutState": "0x00023035", - "vTaskMissedYield": "0x00023045", - "vTaskPlaceOnEventList": "0x00023051", - "vTaskPlaceOnEventListRestricted": "0x00023089", - "vTaskPriorityDisinheritAfterTimeout": "0x000230c9", - "vTaskPrioritySet": "0x00023175", - "vTaskResume": "0x0002323d", - "vTaskStartScheduler": "0x000232c1", - "vTaskStepTick": "0x00023351", - "vTaskSuspend": "0x00023381", - "vTaskSuspendAll": "0x0002343d", - "vTaskSwitchContext": "0x0002344d", - "xPortStartScheduler": "0x000234fd", - "xQueueAddToSet": "0x000235c5", - "xQueueCreateCountingSemaphore": "0x000235e9", - "xQueueCreateCountingSemaphoreStatic": "0x00023625", - "xQueueCreateMutex": "0x00023669", - "xQueueCreateMutexStatic": "0x0002367f", - "xQueueCreateSet": "0x00023699", - "xQueueGenericCreate": "0x000236a1", - "xQueueGenericCreateStatic": "0x000236ed", - "xQueueGenericReset": "0x00023755", - "xQueueGenericSend": "0x000237e1", - "xQueueGenericSendFromISR": "0x0002394d", - "xQueueGiveFromISR": "0x00023a0d", - "xQueueGiveMutexRecursive": "0x00023ab1", - "xQueueIsQueueEmptyFromISR": "0x00023af1", - "xQueueIsQueueFullFromISR": "0x00023b15", - "xQueuePeek": "0x00023b3d", - "xQueuePeekFromISR": "0x00023c65", - "xQueueReceive": "0x00023cd1", - "xQueueReceiveFromISR": "0x00023dfd", - "xQueueRemoveFromSet": "0x00023e91", - "xQueueSelectFromSet": "0x00023eb3", - "xQueueSelectFromSetFromISR": "0x00023ec5", - "xQueueSemaphoreTake": "0x00023ed9", - "xQueueTakeMutexRecursive": "0x00024045", - "xTaskCheckForTimeOut": "0x00024089", - "xTaskCreate": "0x000240f9", - "xTaskCreateStatic": "0x00024155", - "xTaskGetCurrentTaskHandle": "0x000241c5", - "xTaskGetSchedulerState": "0x000241d1", - "xTaskGetTickCount": "0x000241ed", - "xTaskGetTickCountFromISR": "0x000241f9", - "xTaskIncrementTick": "0x00024209", - "xTaskPriorityDisinherit": "0x000242d5", - "xTaskPriorityInherit": "0x00024369", - "xTaskRemoveFromEventList": "0x000243fd", - "xTaskResumeAll": "0x0002447d", - "xTaskResumeFromISR": "0x00024545", - "xTimerCreate": "0x000245d1", - "xTimerCreateStatic": "0x00024605", - "xTimerCreateTimerTask": "0x0002463d", - "xTimerGenericCommand": "0x000246a9", - "xTimerGetExpiryTime": "0x00024719", - "xTimerGetTimerDaemonTaskHandle": "0x00024739" + "platform_cancel_us_timer": "0x0001e195", + "platform_config": "0x0001e1a9", + "platform_create_us_timer": "0x0001e2cd", + "platform_delete_timer": "0x0001e2e1", + "platform_enable_irq": "0x0001e2e9", + "platform_get_current_task": "0x0001e321", + "platform_get_gen_os_driver": "0x0001e345", + "platform_get_heap_status": "0x0001e34d", + "platform_get_link_layer_interf": "0x0001e365", + "platform_get_task_handle": "0x0001e36d", + "platform_get_timer_counter": "0x0001e38d", + "platform_get_us_time": "0x0001e391", + "platform_get_version": "0x0001e395", + "platform_hrng": "0x0001e39d", + "platform_install_isr_stack": "0x0001e3a5", + "platform_install_task_stack": "0x0001e3b1", + "platform_patch_rf_init_data": "0x0001e3e9", + "platform_printf": "0x0001e3f5", + "platform_raise_assertion": "0x0001e409", + "platform_rand": "0x0001e41d", + "platform_read_info": "0x0001e421", + "platform_read_persistent_reg": "0x0001e451", + "platform_reset": "0x0001e461", + "platform_rt_rc_auto_tune": "0x0001e485", + "platform_rt_rc_auto_tune2": "0x0001e48d", + "platform_rt_rc_tune": "0x0001e515", + "platform_set_abs_timer": "0x0001e529", + "platform_set_evt_callback": "0x0001e52d", + "platform_set_evt_callback_table": "0x0001e541", + "platform_set_irq_callback": "0x0001e54d", + "platform_set_irq_callback_table": "0x0001e569", + "platform_set_rf_clk_source": "0x0001e575", + "platform_set_rf_init_data": "0x0001e581", + "platform_set_rf_power_mapping": "0x0001e58d", + "platform_set_timer": "0x0001e599", + "platform_shutdown": "0x0001e59d", + "platform_switch_app": "0x0001e5a1", + "platform_trace_raw": "0x0001e5cd", + "platform_write_persistent_reg": "0x0001e5e5", + "printf_hexdump": "0x0001e799", + "pvPortMalloc": "0x0001f28d", + "pvTaskIncrementMutexHeldCount": "0x0001f375", + "pvTimerGetTimerID": "0x0001f38d", + "pxPortInitialiseStack": "0x0001f3b9", + "reverse_128": "0x0001f561", + "reverse_24": "0x0001f567", + "reverse_256": "0x0001f56d", + "reverse_48": "0x0001f573", + "reverse_56": "0x0001f579", + "reverse_64": "0x0001f57f", + "reverse_bd_addr": "0x0001f585", + "reverse_bytes": "0x0001f58b", + "sm_add_event_handler": "0x0001f759", + "sm_address_resolution_lookup": "0x0001f8b1", + "sm_authenticated": "0x0001fc59", + "sm_authorization_decline": "0x0001fc67", + "sm_authorization_grant": "0x0001fc87", + "sm_authorization_state": "0x0001fca7", + "sm_bonding_decline": "0x0001fcc1", + "sm_config": "0x0002011d", + "sm_config_conn": "0x00020151", + "sm_encryption_key_size": "0x0002030b", + "sm_just_works_confirm": "0x00020891", + "sm_le_device_key": "0x00020bd1", + "sm_passkey_input": "0x00020c67", + "sm_private_random_address_generation_get": "0x00021021", + "sm_private_random_address_generation_get_mode": "0x00021029", + "sm_private_random_address_generation_set_mode": "0x00021035", + "sm_private_random_address_generation_set_update_period": "0x0002105d", + "sm_register_external_ltk_callback": "0x00021199", + "sm_register_oob_data_callback": "0x000211a5", + "sm_request_pairing": "0x000211b1", + "sm_send_security_request": "0x00021c8f", + "sm_set_accepted_stk_generation_methods": "0x00021cb5", + "sm_set_authentication_requirements": "0x00021cc1", + "sm_set_encryption_key_size_range": "0x00021cd1", + "sscanf_bd_addr": "0x00022091", + "sysSetPublicDeviceAddr": "0x00022445", + "uuid128_to_str": "0x00022a59", + "uuid_add_bluetooth_prefix": "0x00022ab1", + "uuid_has_bluetooth_prefix": "0x00022ad1", + "uxListRemove": "0x00022aed", + "uxQueueMessagesWaiting": "0x00022b15", + "uxQueueMessagesWaitingFromISR": "0x00022b3d", + "uxQueueSpacesAvailable": "0x00022b59", + "uxTaskGetStackHighWaterMark": "0x00022b85", + "uxTaskPriorityGet": "0x00022ba5", + "uxTaskPriorityGetFromISR": "0x00022bc1", + "vListInitialise": "0x00022c7b", + "vListInitialiseItem": "0x00022c91", + "vListInsert": "0x00022c97", + "vListInsertEnd": "0x00022cc7", + "vPortEndScheduler": "0x00022ce1", + "vPortEnterCritical": "0x00022d0d", + "vPortExitCritical": "0x00022d51", + "vPortFree": "0x00022d85", + "vPortSuppressTicksAndSleep": "0x00022e19", + "vPortValidateInterruptPriority": "0x00022f41", + "vQueueDelete": "0x00022f9d", + "vQueueWaitForMessageRestricted": "0x00022fc9", + "vTaskDelay": "0x00023011", + "vTaskInternalSetTimeOutState": "0x0002305d", + "vTaskMissedYield": "0x0002306d", + "vTaskPlaceOnEventList": "0x00023079", + "vTaskPlaceOnEventListRestricted": "0x000230b1", + "vTaskPriorityDisinheritAfterTimeout": "0x000230f1", + "vTaskPrioritySet": "0x0002319d", + "vTaskResume": "0x00023265", + "vTaskStartScheduler": "0x000232e9", + "vTaskStepTick": "0x00023379", + "vTaskSuspend": "0x000233a9", + "vTaskSuspendAll": "0x00023465", + "vTaskSwitchContext": "0x00023475", + "xPortStartScheduler": "0x00023525", + "xQueueAddToSet": "0x000235ed", + "xQueueCreateCountingSemaphore": "0x00023611", + "xQueueCreateCountingSemaphoreStatic": "0x0002364d", + "xQueueCreateMutex": "0x00023691", + "xQueueCreateMutexStatic": "0x000236a7", + "xQueueCreateSet": "0x000236c1", + "xQueueGenericCreate": "0x000236c9", + "xQueueGenericCreateStatic": "0x00023715", + "xQueueGenericReset": "0x0002377d", + "xQueueGenericSend": "0x00023809", + "xQueueGenericSendFromISR": "0x00023975", + "xQueueGiveFromISR": "0x00023a35", + "xQueueGiveMutexRecursive": "0x00023ad9", + "xQueueIsQueueEmptyFromISR": "0x00023b19", + "xQueueIsQueueFullFromISR": "0x00023b3d", + "xQueuePeek": "0x00023b65", + "xQueuePeekFromISR": "0x00023c8d", + "xQueueReceive": "0x00023cf9", + "xQueueReceiveFromISR": "0x00023e25", + "xQueueRemoveFromSet": "0x00023eb9", + "xQueueSelectFromSet": "0x00023edb", + "xQueueSelectFromSetFromISR": "0x00023eed", + "xQueueSemaphoreTake": "0x00023f01", + "xQueueTakeMutexRecursive": "0x0002406d", + "xTaskCheckForTimeOut": "0x000240b1", + "xTaskCreate": "0x00024121", + "xTaskCreateStatic": "0x0002417d", + "xTaskGetCurrentTaskHandle": "0x000241ed", + "xTaskGetSchedulerState": "0x000241f9", + "xTaskGetTickCount": "0x00024215", + "xTaskGetTickCountFromISR": "0x00024221", + "xTaskIncrementTick": "0x00024231", + "xTaskPriorityDisinherit": "0x000242fd", + "xTaskPriorityInherit": "0x00024391", + "xTaskRemoveFromEventList": "0x00024425", + "xTaskResumeAll": "0x000244a5", + "xTaskResumeFromISR": "0x0002456d", + "xTimerCreate": "0x000245f9", + "xTimerCreateStatic": "0x0002462d", + "xTimerCreateTimerTask": "0x00024665", + "xTimerGenericCommand": "0x000246d1", + "xTimerGetExpiryTime": "0x00024741", + "xTimerGetTimerDaemonTaskHandle": "0x00024761" } \ No newline at end of file diff --git a/bundles/extension/ING9187xx/meta.json b/bundles/extension/ING9187xx/meta.json index 25c4b260d..6ed37e0bb 100644 --- a/bundles/extension/ING9187xx/meta.json +++ b/bundles/extension/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 139308 + "size": 139360 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/extension/ING9187xx/platform.bin b/bundles/extension/ING9187xx/platform.bin index 23c4771b1..d311ff013 100644 Binary files a/bundles/extension/ING9187xx/platform.bin and b/bundles/extension/ING9187xx/platform.bin differ diff --git a/bundles/extension/ING9188xx/apis.json b/bundles/extension/ING9188xx/apis.json index 0b2c21f64..8896700f9 100644 --- a/bundles/extension/ING9188xx/apis.json +++ b/bundles/extension/ING9188xx/apis.json @@ -214,159 +214,161 @@ "nibble_for_char": "0x0001f869", "platform_calibrate_rt_clk": "0x0001f915", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001f919", - "platform_delete_timer": "0x0001fa3d", - "platform_enable_irq": "0x0001fa45", - "platform_get_current_task": "0x0001fa7d", - "platform_get_gen_os_driver": "0x0001faa1", - "platform_get_heap_status": "0x0001faa9", - "platform_get_link_layer_interf": "0x0001fac1", - "platform_get_task_handle": "0x0001fac9", - "platform_get_timer_counter": "0x0001fae9", - "platform_get_us_time": "0x0001faed", - "platform_get_version": "0x0001faf1", - "platform_hrng": "0x0001faf9", - "platform_install_isr_stack": "0x0001fb01", - "platform_install_task_stack": "0x0001fb0d", - "platform_patch_rf_init_data": "0x0001fb45", - "platform_printf": "0x0001fb51", - "platform_raise_assertion": "0x0001fb65", - "platform_rand": "0x0001fb79", - "platform_read_info": "0x0001fb7d", - "platform_read_persistent_reg": "0x0001fbad", - "platform_reset": "0x0001fbbd", - "platform_rt_rc_auto_tune": "0x0001fbe1", - "platform_rt_rc_auto_tune2": "0x0001fbe9", - "platform_rt_rc_tune": "0x0001fc71", - "platform_set_abs_timer": "0x0001fc85", - "platform_set_evt_callback": "0x0001fc89", - "platform_set_evt_callback_table": "0x0001fc9d", - "platform_set_irq_callback": "0x0001fca9", - "platform_set_irq_callback_table": "0x0001fcc5", - "platform_set_rf_clk_source": "0x0001fcd1", - "platform_set_rf_init_data": "0x0001fcdd", - "platform_set_rf_power_mapping": "0x0001fce9", - "platform_set_timer": "0x0001fcf5", - "platform_shutdown": "0x0001fcf9", - "platform_switch_app": "0x0001fcfd", - "platform_trace_raw": "0x0001fd29", - "platform_write_persistent_reg": "0x0001fd41", - "printf_hexdump": "0x0001fef5", - "pvPortMalloc": "0x000209e9", - "pvTaskIncrementMutexHeldCount": "0x00020ad1", - "pvTimerGetTimerID": "0x00020ae9", - "pxPortInitialiseStack": "0x00020b15", - "reverse_128": "0x00020cf5", - "reverse_24": "0x00020cfb", - "reverse_256": "0x00020d01", - "reverse_48": "0x00020d07", - "reverse_56": "0x00020d0d", - "reverse_64": "0x00020d13", - "reverse_bd_addr": "0x00020d19", - "reverse_bytes": "0x00020d1f", - "sm_add_event_handler": "0x0002103d", - "sm_address_resolution_lookup": "0x00021195", - "sm_authenticated": "0x0002153d", - "sm_authorization_decline": "0x0002154b", - "sm_authorization_grant": "0x0002156b", - "sm_authorization_state": "0x0002158b", - "sm_bonding_decline": "0x000215a5", - "sm_config": "0x00021a01", - "sm_config_conn": "0x00021a35", - "sm_encryption_key_size": "0x00021bef", - "sm_just_works_confirm": "0x00022175", - "sm_le_device_key": "0x000224b5", - "sm_passkey_input": "0x0002254b", - "sm_private_random_address_generation_get": "0x00022905", - "sm_private_random_address_generation_get_mode": "0x0002290d", - "sm_private_random_address_generation_set_mode": "0x00022919", - "sm_private_random_address_generation_set_update_period": "0x00022941", - "sm_register_external_ltk_callback": "0x00022a7d", - "sm_register_oob_data_callback": "0x00022a89", - "sm_request_pairing": "0x00022a95", - "sm_send_security_request": "0x00023573", - "sm_set_accepted_stk_generation_methods": "0x00023599", - "sm_set_authentication_requirements": "0x000235a5", - "sm_set_encryption_key_size_range": "0x000235b5", - "sscanf_bd_addr": "0x00023975", - "sysSetPublicDeviceAddr": "0x00023d29", - "uuid128_to_str": "0x000244d5", - "uuid_add_bluetooth_prefix": "0x0002452d", - "uuid_has_bluetooth_prefix": "0x0002454d", - "uxListRemove": "0x00024569", - "uxQueueMessagesWaiting": "0x00024591", - "uxQueueMessagesWaitingFromISR": "0x000245b9", - "uxQueueSpacesAvailable": "0x000245d5", - "uxTaskGetStackHighWaterMark": "0x00024601", - "uxTaskPriorityGet": "0x00024621", - "uxTaskPriorityGetFromISR": "0x0002463d", - "vListInitialise": "0x000246f7", - "vListInitialiseItem": "0x0002470d", - "vListInsert": "0x00024713", - "vListInsertEnd": "0x00024743", - "vPortEndScheduler": "0x0002475d", - "vPortEnterCritical": "0x00024789", - "vPortExitCritical": "0x000247cd", - "vPortFree": "0x00024801", - "vPortSuppressTicksAndSleep": "0x00024895", - "vPortValidateInterruptPriority": "0x000249bd", - "vQueueDelete": "0x00024a19", - "vQueueWaitForMessageRestricted": "0x00024a45", - "vTaskDelay": "0x00024a8d", - "vTaskInternalSetTimeOutState": "0x00024ad9", - "vTaskMissedYield": "0x00024ae9", - "vTaskPlaceOnEventList": "0x00024af5", - "vTaskPlaceOnEventListRestricted": "0x00024b2d", - "vTaskPriorityDisinheritAfterTimeout": "0x00024b6d", - "vTaskPrioritySet": "0x00024c19", - "vTaskResume": "0x00024ce1", - "vTaskStartScheduler": "0x00024d65", - "vTaskStepTick": "0x00024df5", - "vTaskSuspend": "0x00024e25", - "vTaskSuspendAll": "0x00024ee1", - "vTaskSwitchContext": "0x00024ef1", - "xPortStartScheduler": "0x00024fa1", - "xQueueAddToSet": "0x00025069", - "xQueueCreateCountingSemaphore": "0x0002508d", - "xQueueCreateCountingSemaphoreStatic": "0x000250c9", - "xQueueCreateMutex": "0x0002510d", - "xQueueCreateMutexStatic": "0x00025123", - "xQueueCreateSet": "0x0002513d", - "xQueueGenericCreate": "0x00025145", - "xQueueGenericCreateStatic": "0x00025191", - "xQueueGenericReset": "0x000251f9", - "xQueueGenericSend": "0x00025285", - "xQueueGenericSendFromISR": "0x000253f1", - "xQueueGiveFromISR": "0x000254b1", - "xQueueGiveMutexRecursive": "0x00025555", - "xQueueIsQueueEmptyFromISR": "0x00025595", - "xQueueIsQueueFullFromISR": "0x000255b9", - "xQueuePeek": "0x000255e1", - "xQueuePeekFromISR": "0x00025709", - "xQueueReceive": "0x00025775", - "xQueueReceiveFromISR": "0x000258a1", - "xQueueRemoveFromSet": "0x00025935", - "xQueueSelectFromSet": "0x00025957", - "xQueueSelectFromSetFromISR": "0x00025969", - "xQueueSemaphoreTake": "0x0002597d", - "xQueueTakeMutexRecursive": "0x00025ae9", - "xTaskCheckForTimeOut": "0x00025b2d", - "xTaskCreate": "0x00025b9d", - "xTaskCreateStatic": "0x00025bf9", - "xTaskGetCurrentTaskHandle": "0x00025c69", - "xTaskGetSchedulerState": "0x00025c75", - "xTaskGetTickCount": "0x00025c91", - "xTaskGetTickCountFromISR": "0x00025c9d", - "xTaskIncrementTick": "0x00025cad", - "xTaskPriorityDisinherit": "0x00025d79", - "xTaskPriorityInherit": "0x00025e0d", - "xTaskRemoveFromEventList": "0x00025ea1", - "xTaskResumeAll": "0x00025f21", - "xTaskResumeFromISR": "0x00025fe9", - "xTimerCreate": "0x00026075", - "xTimerCreateStatic": "0x000260a9", - "xTimerCreateTimerTask": "0x000260e1", - "xTimerGenericCommand": "0x0002614d", - "xTimerGetExpiryTime": "0x000261bd", - "xTimerGetTimerDaemonTaskHandle": "0x000261dd" + "platform_cancel_us_timer": "0x0001f919", + "platform_config": "0x0001f92d", + "platform_create_us_timer": "0x0001fa51", + "platform_delete_timer": "0x0001fa65", + "platform_enable_irq": "0x0001fa6d", + "platform_get_current_task": "0x0001faa5", + "platform_get_gen_os_driver": "0x0001fac9", + "platform_get_heap_status": "0x0001fad1", + "platform_get_link_layer_interf": "0x0001fae9", + "platform_get_task_handle": "0x0001faf1", + "platform_get_timer_counter": "0x0001fb11", + "platform_get_us_time": "0x0001fb15", + "platform_get_version": "0x0001fb19", + "platform_hrng": "0x0001fb21", + "platform_install_isr_stack": "0x0001fb29", + "platform_install_task_stack": "0x0001fb35", + "platform_patch_rf_init_data": "0x0001fb6d", + "platform_printf": "0x0001fb79", + "platform_raise_assertion": "0x0001fb8d", + "platform_rand": "0x0001fba1", + "platform_read_info": "0x0001fba5", + "platform_read_persistent_reg": "0x0001fbd5", + "platform_reset": "0x0001fbe5", + "platform_rt_rc_auto_tune": "0x0001fc09", + "platform_rt_rc_auto_tune2": "0x0001fc11", + "platform_rt_rc_tune": "0x0001fc99", + "platform_set_abs_timer": "0x0001fcad", + "platform_set_evt_callback": "0x0001fcb1", + "platform_set_evt_callback_table": "0x0001fcc5", + "platform_set_irq_callback": "0x0001fcd1", + "platform_set_irq_callback_table": "0x0001fced", + "platform_set_rf_clk_source": "0x0001fcf9", + "platform_set_rf_init_data": "0x0001fd05", + "platform_set_rf_power_mapping": "0x0001fd11", + "platform_set_timer": "0x0001fd1d", + "platform_shutdown": "0x0001fd21", + "platform_switch_app": "0x0001fd25", + "platform_trace_raw": "0x0001fd51", + "platform_write_persistent_reg": "0x0001fd69", + "printf_hexdump": "0x0001ff1d", + "pvPortMalloc": "0x00020a11", + "pvTaskIncrementMutexHeldCount": "0x00020af9", + "pvTimerGetTimerID": "0x00020b11", + "pxPortInitialiseStack": "0x00020b3d", + "reverse_128": "0x00020d1d", + "reverse_24": "0x00020d23", + "reverse_256": "0x00020d29", + "reverse_48": "0x00020d2f", + "reverse_56": "0x00020d35", + "reverse_64": "0x00020d3b", + "reverse_bd_addr": "0x00020d41", + "reverse_bytes": "0x00020d47", + "sm_add_event_handler": "0x00021065", + "sm_address_resolution_lookup": "0x000211bd", + "sm_authenticated": "0x00021565", + "sm_authorization_decline": "0x00021573", + "sm_authorization_grant": "0x00021593", + "sm_authorization_state": "0x000215b3", + "sm_bonding_decline": "0x000215cd", + "sm_config": "0x00021a29", + "sm_config_conn": "0x00021a5d", + "sm_encryption_key_size": "0x00021c17", + "sm_just_works_confirm": "0x0002219d", + "sm_le_device_key": "0x000224dd", + "sm_passkey_input": "0x00022573", + "sm_private_random_address_generation_get": "0x0002292d", + "sm_private_random_address_generation_get_mode": "0x00022935", + "sm_private_random_address_generation_set_mode": "0x00022941", + "sm_private_random_address_generation_set_update_period": "0x00022969", + "sm_register_external_ltk_callback": "0x00022aa5", + "sm_register_oob_data_callback": "0x00022ab1", + "sm_request_pairing": "0x00022abd", + "sm_send_security_request": "0x0002359b", + "sm_set_accepted_stk_generation_methods": "0x000235c1", + "sm_set_authentication_requirements": "0x000235cd", + "sm_set_encryption_key_size_range": "0x000235dd", + "sscanf_bd_addr": "0x0002399d", + "sysSetPublicDeviceAddr": "0x00023d51", + "uuid128_to_str": "0x000244fd", + "uuid_add_bluetooth_prefix": "0x00024555", + "uuid_has_bluetooth_prefix": "0x00024575", + "uxListRemove": "0x00024591", + "uxQueueMessagesWaiting": "0x000245b9", + "uxQueueMessagesWaitingFromISR": "0x000245e1", + "uxQueueSpacesAvailable": "0x000245fd", + "uxTaskGetStackHighWaterMark": "0x00024629", + "uxTaskPriorityGet": "0x00024649", + "uxTaskPriorityGetFromISR": "0x00024665", + "vListInitialise": "0x0002471f", + "vListInitialiseItem": "0x00024735", + "vListInsert": "0x0002473b", + "vListInsertEnd": "0x0002476b", + "vPortEndScheduler": "0x00024785", + "vPortEnterCritical": "0x000247b1", + "vPortExitCritical": "0x000247f5", + "vPortFree": "0x00024829", + "vPortSuppressTicksAndSleep": "0x000248bd", + "vPortValidateInterruptPriority": "0x000249e5", + "vQueueDelete": "0x00024a41", + "vQueueWaitForMessageRestricted": "0x00024a6d", + "vTaskDelay": "0x00024ab5", + "vTaskInternalSetTimeOutState": "0x00024b01", + "vTaskMissedYield": "0x00024b11", + "vTaskPlaceOnEventList": "0x00024b1d", + "vTaskPlaceOnEventListRestricted": "0x00024b55", + "vTaskPriorityDisinheritAfterTimeout": "0x00024b95", + "vTaskPrioritySet": "0x00024c41", + "vTaskResume": "0x00024d09", + "vTaskStartScheduler": "0x00024d8d", + "vTaskStepTick": "0x00024e1d", + "vTaskSuspend": "0x00024e4d", + "vTaskSuspendAll": "0x00024f09", + "vTaskSwitchContext": "0x00024f19", + "xPortStartScheduler": "0x00024fc9", + "xQueueAddToSet": "0x00025091", + "xQueueCreateCountingSemaphore": "0x000250b5", + "xQueueCreateCountingSemaphoreStatic": "0x000250f1", + "xQueueCreateMutex": "0x00025135", + "xQueueCreateMutexStatic": "0x0002514b", + "xQueueCreateSet": "0x00025165", + "xQueueGenericCreate": "0x0002516d", + "xQueueGenericCreateStatic": "0x000251b9", + "xQueueGenericReset": "0x00025221", + "xQueueGenericSend": "0x000252ad", + "xQueueGenericSendFromISR": "0x00025419", + "xQueueGiveFromISR": "0x000254d9", + "xQueueGiveMutexRecursive": "0x0002557d", + "xQueueIsQueueEmptyFromISR": "0x000255bd", + "xQueueIsQueueFullFromISR": "0x000255e1", + "xQueuePeek": "0x00025609", + "xQueuePeekFromISR": "0x00025731", + "xQueueReceive": "0x0002579d", + "xQueueReceiveFromISR": "0x000258c9", + "xQueueRemoveFromSet": "0x0002595d", + "xQueueSelectFromSet": "0x0002597f", + "xQueueSelectFromSetFromISR": "0x00025991", + "xQueueSemaphoreTake": "0x000259a5", + "xQueueTakeMutexRecursive": "0x00025b11", + "xTaskCheckForTimeOut": "0x00025b55", + "xTaskCreate": "0x00025bc5", + "xTaskCreateStatic": "0x00025c21", + "xTaskGetCurrentTaskHandle": "0x00025c91", + "xTaskGetSchedulerState": "0x00025c9d", + "xTaskGetTickCount": "0x00025cb9", + "xTaskGetTickCountFromISR": "0x00025cc5", + "xTaskIncrementTick": "0x00025cd5", + "xTaskPriorityDisinherit": "0x00025da1", + "xTaskPriorityInherit": "0x00025e35", + "xTaskRemoveFromEventList": "0x00025ec9", + "xTaskResumeAll": "0x00025f49", + "xTaskResumeFromISR": "0x00026011", + "xTimerCreate": "0x0002609d", + "xTimerCreateStatic": "0x000260d1", + "xTimerCreateTimerTask": "0x00026109", + "xTimerGenericCommand": "0x00026175", + "xTimerGetExpiryTime": "0x000261e5", + "xTimerGetTimerDaemonTaskHandle": "0x00026205" } \ No newline at end of file diff --git a/bundles/extension/ING9188xx/meta.json b/bundles/extension/ING9188xx/meta.json index 8014c8f7f..8fe948521 100644 --- a/bundles/extension/ING9188xx/meta.json +++ b/bundles/extension/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 146588 + "size": 146636 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/extension/ING9188xx/platform.bin b/bundles/extension/ING9188xx/platform.bin index d7c8b7d8f..ab5240418 100644 Binary files a/bundles/extension/ING9188xx/platform.bin and b/bundles/extension/ING9188xx/platform.bin differ diff --git a/bundles/extension/inc/platform_api.h b/bundles/extension/inc/platform_api.h index b16a6c17c..27b03f259 100644 --- a/bundles/extension/inc/platform_api.h +++ b/bundles/extension/inc/platform_api.h @@ -464,8 +464,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -783,6 +788,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/mass_conn/ING9168xx/apis.json b/bundles/mass_conn/ING9168xx/apis.json index f045eb41a..99fe4554f 100644 --- a/bundles/mass_conn/ING9168xx/apis.json +++ b/bundles/mass_conn/ING9168xx/apis.json @@ -189,159 +189,161 @@ "nibble_for_char": "0x0201fee1", "platform_calibrate_rt_clk": "0x0201ff8b", "platform_call_on_stack": "0x020030fb", - "platform_config": "0x0201ff91", - "platform_delete_timer": "0x020200b9", - "platform_enable_irq": "0x020200c1", - "platform_get_current_task": "0x020200f5", - "platform_get_gen_os_driver": "0x02020119", - "platform_get_heap_status": "0x02020121", - "platform_get_link_layer_interf": "0x02020139", - "platform_get_task_handle": "0x02020141", - "platform_get_timer_counter": "0x02020161", - "platform_get_us_time": "0x02020165", - "platform_get_version": "0x02020169", - "platform_hrng": "0x02020185", - "platform_install_isr_stack": "0x0202018d", - "platform_install_task_stack": "0x02020199", - "platform_patch_rf_init_data": "0x020201d1", - "platform_printf": "0x020201dd", - "platform_raise_assertion": "0x020201f1", - "platform_rand": "0x02020205", - "platform_read_info": "0x02020209", - "platform_read_persistent_reg": "0x02020239", - "platform_reset": "0x02020245", - "platform_rt_rc_auto_tune": "0x02020259", - "platform_rt_rc_auto_tune2": "0x02020261", - "platform_rt_rc_tune": "0x020202c9", - "platform_set_abs_timer": "0x020202e5", - "platform_set_evt_callback": "0x020202e9", - "platform_set_evt_callback_table": "0x020202fd", - "platform_set_irq_callback": "0x02020309", - "platform_set_irq_callback_table": "0x02020325", - "platform_set_rf_clk_source": "0x02020331", - "platform_set_rf_init_data": "0x0202033d", - "platform_set_rf_power_mapping": "0x02020349", - "platform_set_timer": "0x02020355", - "platform_shutdown": "0x02020359", - "platform_switch_app": "0x0202035d", - "platform_trace_raw": "0x02020375", - "platform_write_persistent_reg": "0x0202038d", - "printf_hexdump": "0x02020545", - "pvPortMalloc": "0x0202101d", - "pvTaskIncrementMutexHeldCount": "0x02021105", - "pvTimerGetTimerID": "0x0202111d", - "pxPortInitialiseStack": "0x02021149", - "reverse_128": "0x02021331", - "reverse_24": "0x02021337", - "reverse_256": "0x0202133d", - "reverse_48": "0x02021343", - "reverse_56": "0x02021349", - "reverse_64": "0x0202134f", - "reverse_bd_addr": "0x02021355", - "reverse_bytes": "0x0202135b", - "sm_add_event_handler": "0x020216b9", - "sm_address_resolution_lookup": "0x02021811", - "sm_authenticated": "0x02021bb9", - "sm_authorization_decline": "0x02021bc7", - "sm_authorization_grant": "0x02021be7", - "sm_authorization_state": "0x02021c07", - "sm_bonding_decline": "0x02021c21", - "sm_config": "0x02022075", - "sm_config_conn": "0x020220a9", - "sm_encryption_key_size": "0x02022263", - "sm_just_works_confirm": "0x020227e9", - "sm_le_device_key": "0x02022b29", - "sm_passkey_input": "0x02022bbf", - "sm_private_random_address_generation_get": "0x02022f79", - "sm_private_random_address_generation_get_mode": "0x02022f81", - "sm_private_random_address_generation_set_mode": "0x02022f8d", - "sm_private_random_address_generation_set_update_period": "0x02022fb5", - "sm_register_external_ltk_callback": "0x020230f1", - "sm_register_oob_data_callback": "0x020230fd", - "sm_request_pairing": "0x02023109", - "sm_send_security_request": "0x02023be7", - "sm_set_accepted_stk_generation_methods": "0x02023c0d", - "sm_set_authentication_requirements": "0x02023c19", - "sm_set_encryption_key_size_range": "0x02023c29", - "sscanf_bd_addr": "0x02023f79", - "sysSetPublicDeviceAddr": "0x020244a1", - "uuid128_to_str": "0x02024cfd", - "uuid_add_bluetooth_prefix": "0x02024d55", - "uuid_has_bluetooth_prefix": "0x02024d75", - "uxListRemove": "0x02024d91", - "uxQueueMessagesWaiting": "0x02024db9", - "uxQueueMessagesWaitingFromISR": "0x02024de1", - "uxQueueSpacesAvailable": "0x02024dfd", - "uxTaskGetStackHighWaterMark": "0x02024e29", - "uxTaskPriorityGet": "0x02024e49", - "uxTaskPriorityGetFromISR": "0x02024e65", - "vListInitialise": "0x02024f23", - "vListInitialiseItem": "0x02024f39", - "vListInsert": "0x02024f3f", - "vListInsertEnd": "0x02024f6f", - "vPortEndScheduler": "0x02024f89", - "vPortEnterCritical": "0x02024fb5", - "vPortExitCritical": "0x02024ff9", - "vPortFree": "0x0202502d", - "vPortSuppressTicksAndSleep": "0x020250d1", - "vPortValidateInterruptPriority": "0x020251f9", - "vQueueDelete": "0x02025255", - "vQueueWaitForMessageRestricted": "0x02025281", - "vTaskDelay": "0x020252c5", - "vTaskInternalSetTimeOutState": "0x02025311", - "vTaskMissedYield": "0x02025321", - "vTaskPlaceOnEventList": "0x0202532d", - "vTaskPlaceOnEventListRestricted": "0x02025365", - "vTaskPriorityDisinheritAfterTimeout": "0x020253a5", - "vTaskPrioritySet": "0x02025451", - "vTaskResume": "0x02025519", - "vTaskStartScheduler": "0x0202559d", - "vTaskStepTick": "0x0202562d", - "vTaskSuspend": "0x0202565d", - "vTaskSuspendAll": "0x02025719", - "vTaskSwitchContext": "0x02025729", - "xPortStartScheduler": "0x020257d9", - "xQueueAddToSet": "0x020258dd", - "xQueueCreateCountingSemaphore": "0x02025901", - "xQueueCreateCountingSemaphoreStatic": "0x0202593d", - "xQueueCreateMutex": "0x02025981", - "xQueueCreateMutexStatic": "0x02025997", - "xQueueCreateSet": "0x020259b1", - "xQueueGenericCreate": "0x020259b9", - "xQueueGenericCreateStatic": "0x02025a05", - "xQueueGenericReset": "0x02025a6d", - "xQueueGenericSend": "0x02025af9", - "xQueueGenericSendFromISR": "0x02025c65", - "xQueueGiveFromISR": "0x02025d25", - "xQueueGiveMutexRecursive": "0x02025dc9", - "xQueueIsQueueEmptyFromISR": "0x02025e09", - "xQueueIsQueueFullFromISR": "0x02025e2d", - "xQueuePeek": "0x02025e55", - "xQueuePeekFromISR": "0x02025f7d", - "xQueueReceive": "0x02025fe9", - "xQueueReceiveFromISR": "0x02026115", - "xQueueRemoveFromSet": "0x020261a9", - "xQueueSelectFromSet": "0x020261cb", - "xQueueSelectFromSetFromISR": "0x020261dd", - "xQueueSemaphoreTake": "0x020261f1", - "xQueueTakeMutexRecursive": "0x0202635d", - "xTaskCheckForTimeOut": "0x020263a1", - "xTaskCreate": "0x02026411", - "xTaskCreateStatic": "0x0202646d", - "xTaskGetCurrentTaskHandle": "0x020264dd", - "xTaskGetSchedulerState": "0x020264e9", - "xTaskGetTickCount": "0x02026505", - "xTaskGetTickCountFromISR": "0x02026511", - "xTaskIncrementTick": "0x02026521", - "xTaskPriorityDisinherit": "0x020265ed", - "xTaskPriorityInherit": "0x02026681", - "xTaskRemoveFromEventList": "0x02026715", - "xTaskResumeAll": "0x02026795", - "xTaskResumeFromISR": "0x0202685d", - "xTimerCreate": "0x020268e9", - "xTimerCreateStatic": "0x0202691d", - "xTimerCreateTimerTask": "0x02026955", - "xTimerGenericCommand": "0x020269c1", - "xTimerGetExpiryTime": "0x02026a31", - "xTimerGetTimerDaemonTaskHandle": "0x02026a51" + "platform_cancel_us_timer": "0x0201ff8f", + "platform_config": "0x0201ffa5", + "platform_create_us_timer": "0x020200d9", + "platform_delete_timer": "0x020200ed", + "platform_enable_irq": "0x020200f5", + "platform_get_current_task": "0x02020129", + "platform_get_gen_os_driver": "0x0202014d", + "platform_get_heap_status": "0x02020155", + "platform_get_link_layer_interf": "0x0202016d", + "platform_get_task_handle": "0x02020175", + "platform_get_timer_counter": "0x02020195", + "platform_get_us_time": "0x02020199", + "platform_get_version": "0x0202019d", + "platform_hrng": "0x020201b9", + "platform_install_isr_stack": "0x020201c1", + "platform_install_task_stack": "0x020201cd", + "platform_patch_rf_init_data": "0x02020205", + "platform_printf": "0x02020211", + "platform_raise_assertion": "0x02020225", + "platform_rand": "0x02020239", + "platform_read_info": "0x0202023d", + "platform_read_persistent_reg": "0x0202026d", + "platform_reset": "0x02020279", + "platform_rt_rc_auto_tune": "0x0202028d", + "platform_rt_rc_auto_tune2": "0x02020295", + "platform_rt_rc_tune": "0x020202fd", + "platform_set_abs_timer": "0x02020319", + "platform_set_evt_callback": "0x0202031d", + "platform_set_evt_callback_table": "0x02020331", + "platform_set_irq_callback": "0x0202033d", + "platform_set_irq_callback_table": "0x02020359", + "platform_set_rf_clk_source": "0x02020365", + "platform_set_rf_init_data": "0x02020371", + "platform_set_rf_power_mapping": "0x0202037d", + "platform_set_timer": "0x02020389", + "platform_shutdown": "0x0202038d", + "platform_switch_app": "0x02020391", + "platform_trace_raw": "0x020203a9", + "platform_write_persistent_reg": "0x020203c1", + "printf_hexdump": "0x02020579", + "pvPortMalloc": "0x02021051", + "pvTaskIncrementMutexHeldCount": "0x02021139", + "pvTimerGetTimerID": "0x02021151", + "pxPortInitialiseStack": "0x0202117d", + "reverse_128": "0x02021365", + "reverse_24": "0x0202136b", + "reverse_256": "0x02021371", + "reverse_48": "0x02021377", + "reverse_56": "0x0202137d", + "reverse_64": "0x02021383", + "reverse_bd_addr": "0x02021389", + "reverse_bytes": "0x0202138f", + "sm_add_event_handler": "0x020216ed", + "sm_address_resolution_lookup": "0x02021845", + "sm_authenticated": "0x02021bed", + "sm_authorization_decline": "0x02021bfb", + "sm_authorization_grant": "0x02021c1b", + "sm_authorization_state": "0x02021c3b", + "sm_bonding_decline": "0x02021c55", + "sm_config": "0x020220a9", + "sm_config_conn": "0x020220dd", + "sm_encryption_key_size": "0x02022297", + "sm_just_works_confirm": "0x0202281d", + "sm_le_device_key": "0x02022b5d", + "sm_passkey_input": "0x02022bf3", + "sm_private_random_address_generation_get": "0x02022fad", + "sm_private_random_address_generation_get_mode": "0x02022fb5", + "sm_private_random_address_generation_set_mode": "0x02022fc1", + "sm_private_random_address_generation_set_update_period": "0x02022fe9", + "sm_register_external_ltk_callback": "0x02023125", + "sm_register_oob_data_callback": "0x02023131", + "sm_request_pairing": "0x0202313d", + "sm_send_security_request": "0x02023c1b", + "sm_set_accepted_stk_generation_methods": "0x02023c41", + "sm_set_authentication_requirements": "0x02023c4d", + "sm_set_encryption_key_size_range": "0x02023c5d", + "sscanf_bd_addr": "0x02023fad", + "sysSetPublicDeviceAddr": "0x020244e9", + "uuid128_to_str": "0x02024d45", + "uuid_add_bluetooth_prefix": "0x02024d9d", + "uuid_has_bluetooth_prefix": "0x02024dbd", + "uxListRemove": "0x02024dd9", + "uxQueueMessagesWaiting": "0x02024e01", + "uxQueueMessagesWaitingFromISR": "0x02024e29", + "uxQueueSpacesAvailable": "0x02024e45", + "uxTaskGetStackHighWaterMark": "0x02024e71", + "uxTaskPriorityGet": "0x02024e91", + "uxTaskPriorityGetFromISR": "0x02024ead", + "vListInitialise": "0x02024f6b", + "vListInitialiseItem": "0x02024f81", + "vListInsert": "0x02024f87", + "vListInsertEnd": "0x02024fb7", + "vPortEndScheduler": "0x02024fd1", + "vPortEnterCritical": "0x02024ffd", + "vPortExitCritical": "0x02025041", + "vPortFree": "0x02025075", + "vPortSuppressTicksAndSleep": "0x02025119", + "vPortValidateInterruptPriority": "0x02025241", + "vQueueDelete": "0x0202529d", + "vQueueWaitForMessageRestricted": "0x020252c9", + "vTaskDelay": "0x0202530d", + "vTaskInternalSetTimeOutState": "0x02025359", + "vTaskMissedYield": "0x02025369", + "vTaskPlaceOnEventList": "0x02025375", + "vTaskPlaceOnEventListRestricted": "0x020253ad", + "vTaskPriorityDisinheritAfterTimeout": "0x020253ed", + "vTaskPrioritySet": "0x02025499", + "vTaskResume": "0x02025561", + "vTaskStartScheduler": "0x020255e5", + "vTaskStepTick": "0x02025675", + "vTaskSuspend": "0x020256a5", + "vTaskSuspendAll": "0x02025761", + "vTaskSwitchContext": "0x02025771", + "xPortStartScheduler": "0x02025821", + "xQueueAddToSet": "0x02025925", + "xQueueCreateCountingSemaphore": "0x02025949", + "xQueueCreateCountingSemaphoreStatic": "0x02025985", + "xQueueCreateMutex": "0x020259c9", + "xQueueCreateMutexStatic": "0x020259df", + "xQueueCreateSet": "0x020259f9", + "xQueueGenericCreate": "0x02025a01", + "xQueueGenericCreateStatic": "0x02025a4d", + "xQueueGenericReset": "0x02025ab5", + "xQueueGenericSend": "0x02025b41", + "xQueueGenericSendFromISR": "0x02025cad", + "xQueueGiveFromISR": "0x02025d6d", + "xQueueGiveMutexRecursive": "0x02025e11", + "xQueueIsQueueEmptyFromISR": "0x02025e51", + "xQueueIsQueueFullFromISR": "0x02025e75", + "xQueuePeek": "0x02025e9d", + "xQueuePeekFromISR": "0x02025fc5", + "xQueueReceive": "0x02026031", + "xQueueReceiveFromISR": "0x0202615d", + "xQueueRemoveFromSet": "0x020261f1", + "xQueueSelectFromSet": "0x02026213", + "xQueueSelectFromSetFromISR": "0x02026225", + "xQueueSemaphoreTake": "0x02026239", + "xQueueTakeMutexRecursive": "0x020263a5", + "xTaskCheckForTimeOut": "0x020263e9", + "xTaskCreate": "0x02026459", + "xTaskCreateStatic": "0x020264b5", + "xTaskGetCurrentTaskHandle": "0x02026525", + "xTaskGetSchedulerState": "0x02026531", + "xTaskGetTickCount": "0x0202654d", + "xTaskGetTickCountFromISR": "0x02026559", + "xTaskIncrementTick": "0x02026569", + "xTaskPriorityDisinherit": "0x02026635", + "xTaskPriorityInherit": "0x020266c9", + "xTaskRemoveFromEventList": "0x0202675d", + "xTaskResumeAll": "0x020267dd", + "xTaskResumeFromISR": "0x020268a5", + "xTimerCreate": "0x02026931", + "xTimerCreateStatic": "0x02026965", + "xTimerCreateTimerTask": "0x0202699d", + "xTimerGenericCommand": "0x02026a09", + "xTimerGetExpiryTime": "0x02026a79", + "xTimerGetTimerDaemonTaskHandle": "0x02026a99" } \ No newline at end of file diff --git a/bundles/mass_conn/ING9168xx/meta.json b/bundles/mass_conn/ING9168xx/meta.json index a5b8e00bb..b316fa861 100644 --- a/bundles/mass_conn/ING9168xx/meta.json +++ b/bundles/mass_conn/ING9168xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 33562624, - "size": 159276 + "size": 159364 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/mass_conn/ING9168xx/platform.bin b/bundles/mass_conn/ING9168xx/platform.bin index 91bddd012..e9e4a717b 100644 Binary files a/bundles/mass_conn/ING9168xx/platform.bin and b/bundles/mass_conn/ING9168xx/platform.bin differ diff --git a/bundles/mass_conn/ING9187xx/apis.json b/bundles/mass_conn/ING9187xx/apis.json index 4fc1073f7..d0588956c 100644 --- a/bundles/mass_conn/ING9187xx/apis.json +++ b/bundles/mass_conn/ING9187xx/apis.json @@ -174,159 +174,161 @@ "nibble_for_char": "0x0001d4e1", "platform_calibrate_rt_clk": "0x0001d58d", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001d591", - "platform_delete_timer": "0x0001d6b5", - "platform_enable_irq": "0x0001d6bd", - "platform_get_current_task": "0x0001d6f5", - "platform_get_gen_os_driver": "0x0001d719", - "platform_get_heap_status": "0x0001d721", - "platform_get_link_layer_interf": "0x0001d739", - "platform_get_task_handle": "0x0001d741", - "platform_get_timer_counter": "0x0001d761", - "platform_get_us_time": "0x0001d765", - "platform_get_version": "0x0001d769", - "platform_hrng": "0x0001d771", - "platform_install_isr_stack": "0x0001d779", - "platform_install_task_stack": "0x0001d785", - "platform_patch_rf_init_data": "0x0001d7bd", - "platform_printf": "0x0001d7c9", - "platform_raise_assertion": "0x0001d7dd", - "platform_rand": "0x0001d7f1", - "platform_read_info": "0x0001d7f5", - "platform_read_persistent_reg": "0x0001d825", - "platform_reset": "0x0001d835", - "platform_rt_rc_auto_tune": "0x0001d859", - "platform_rt_rc_auto_tune2": "0x0001d861", - "platform_rt_rc_tune": "0x0001d8e9", - "platform_set_abs_timer": "0x0001d8fd", - "platform_set_evt_callback": "0x0001d901", - "platform_set_evt_callback_table": "0x0001d915", - "platform_set_irq_callback": "0x0001d921", - "platform_set_irq_callback_table": "0x0001d93d", - "platform_set_rf_clk_source": "0x0001d949", - "platform_set_rf_init_data": "0x0001d955", - "platform_set_rf_power_mapping": "0x0001d961", - "platform_set_timer": "0x0001d96d", - "platform_shutdown": "0x0001d971", - "platform_switch_app": "0x0001d975", - "platform_trace_raw": "0x0001d9a1", - "platform_write_persistent_reg": "0x0001d9b9", - "printf_hexdump": "0x0001db6d", - "pvPortMalloc": "0x0001e661", - "pvTaskIncrementMutexHeldCount": "0x0001e749", - "pvTimerGetTimerID": "0x0001e761", - "pxPortInitialiseStack": "0x0001e78d", - "reverse_128": "0x0001e935", - "reverse_24": "0x0001e93b", - "reverse_256": "0x0001e941", - "reverse_48": "0x0001e947", - "reverse_56": "0x0001e94d", - "reverse_64": "0x0001e953", - "reverse_bd_addr": "0x0001e959", - "reverse_bytes": "0x0001e95f", - "sm_add_event_handler": "0x0001eafd", - "sm_address_resolution_lookup": "0x0001ec55", - "sm_authenticated": "0x0001effd", - "sm_authorization_decline": "0x0001f00b", - "sm_authorization_grant": "0x0001f02b", - "sm_authorization_state": "0x0001f04b", - "sm_bonding_decline": "0x0001f065", - "sm_config": "0x0001f4c1", - "sm_config_conn": "0x0001f4f5", - "sm_encryption_key_size": "0x0001f6af", - "sm_just_works_confirm": "0x0001fc35", - "sm_le_device_key": "0x0001ff75", - "sm_passkey_input": "0x0002000b", - "sm_private_random_address_generation_get": "0x000203c5", - "sm_private_random_address_generation_get_mode": "0x000203cd", - "sm_private_random_address_generation_set_mode": "0x000203d9", - "sm_private_random_address_generation_set_update_period": "0x00020401", - "sm_register_external_ltk_callback": "0x0002053d", - "sm_register_oob_data_callback": "0x00020549", - "sm_request_pairing": "0x00020555", - "sm_send_security_request": "0x00021033", - "sm_set_accepted_stk_generation_methods": "0x00021059", - "sm_set_authentication_requirements": "0x00021065", - "sm_set_encryption_key_size_range": "0x00021075", - "sscanf_bd_addr": "0x000213c1", - "sysSetPublicDeviceAddr": "0x00021775", - "uuid128_to_str": "0x00021d89", - "uuid_add_bluetooth_prefix": "0x00021de1", - "uuid_has_bluetooth_prefix": "0x00021e01", - "uxListRemove": "0x00021e1d", - "uxQueueMessagesWaiting": "0x00021e45", - "uxQueueMessagesWaitingFromISR": "0x00021e6d", - "uxQueueSpacesAvailable": "0x00021e89", - "uxTaskGetStackHighWaterMark": "0x00021eb5", - "uxTaskPriorityGet": "0x00021ed5", - "uxTaskPriorityGetFromISR": "0x00021ef1", - "vListInitialise": "0x00021fab", - "vListInitialiseItem": "0x00021fc1", - "vListInsert": "0x00021fc7", - "vListInsertEnd": "0x00021ff7", - "vPortEndScheduler": "0x00022011", - "vPortEnterCritical": "0x0002203d", - "vPortExitCritical": "0x00022081", - "vPortFree": "0x000220b5", - "vPortSuppressTicksAndSleep": "0x00022149", - "vPortValidateInterruptPriority": "0x00022271", - "vQueueDelete": "0x000222cd", - "vQueueWaitForMessageRestricted": "0x000222f9", - "vTaskDelay": "0x00022341", - "vTaskInternalSetTimeOutState": "0x0002238d", - "vTaskMissedYield": "0x0002239d", - "vTaskPlaceOnEventList": "0x000223a9", - "vTaskPlaceOnEventListRestricted": "0x000223e1", - "vTaskPriorityDisinheritAfterTimeout": "0x00022421", - "vTaskPrioritySet": "0x000224cd", - "vTaskResume": "0x00022595", - "vTaskStartScheduler": "0x00022619", - "vTaskStepTick": "0x000226a9", - "vTaskSuspend": "0x000226d9", - "vTaskSuspendAll": "0x00022795", - "vTaskSwitchContext": "0x000227a5", - "xPortStartScheduler": "0x00022855", - "xQueueAddToSet": "0x0002291d", - "xQueueCreateCountingSemaphore": "0x00022941", - "xQueueCreateCountingSemaphoreStatic": "0x0002297d", - "xQueueCreateMutex": "0x000229c1", - "xQueueCreateMutexStatic": "0x000229d7", - "xQueueCreateSet": "0x000229f1", - "xQueueGenericCreate": "0x000229f9", - "xQueueGenericCreateStatic": "0x00022a45", - "xQueueGenericReset": "0x00022aad", - "xQueueGenericSend": "0x00022b39", - "xQueueGenericSendFromISR": "0x00022ca5", - "xQueueGiveFromISR": "0x00022d65", - "xQueueGiveMutexRecursive": "0x00022e09", - "xQueueIsQueueEmptyFromISR": "0x00022e49", - "xQueueIsQueueFullFromISR": "0x00022e6d", - "xQueuePeek": "0x00022e95", - "xQueuePeekFromISR": "0x00022fbd", - "xQueueReceive": "0x00023029", - "xQueueReceiveFromISR": "0x00023155", - "xQueueRemoveFromSet": "0x000231e9", - "xQueueSelectFromSet": "0x0002320b", - "xQueueSelectFromSetFromISR": "0x0002321d", - "xQueueSemaphoreTake": "0x00023231", - "xQueueTakeMutexRecursive": "0x0002339d", - "xTaskCheckForTimeOut": "0x000233e1", - "xTaskCreate": "0x00023451", - "xTaskCreateStatic": "0x000234ad", - "xTaskGetCurrentTaskHandle": "0x0002351d", - "xTaskGetSchedulerState": "0x00023529", - "xTaskGetTickCount": "0x00023545", - "xTaskGetTickCountFromISR": "0x00023551", - "xTaskIncrementTick": "0x00023561", - "xTaskPriorityDisinherit": "0x0002362d", - "xTaskPriorityInherit": "0x000236c1", - "xTaskRemoveFromEventList": "0x00023755", - "xTaskResumeAll": "0x000237d5", - "xTaskResumeFromISR": "0x0002389d", - "xTimerCreate": "0x00023929", - "xTimerCreateStatic": "0x0002395d", - "xTimerCreateTimerTask": "0x00023995", - "xTimerGenericCommand": "0x00023a01", - "xTimerGetExpiryTime": "0x00023a71", - "xTimerGetTimerDaemonTaskHandle": "0x00023a91" + "platform_cancel_us_timer": "0x0001d591", + "platform_config": "0x0001d5a5", + "platform_create_us_timer": "0x0001d6c9", + "platform_delete_timer": "0x0001d6dd", + "platform_enable_irq": "0x0001d6e5", + "platform_get_current_task": "0x0001d71d", + "platform_get_gen_os_driver": "0x0001d741", + "platform_get_heap_status": "0x0001d749", + "platform_get_link_layer_interf": "0x0001d761", + "platform_get_task_handle": "0x0001d769", + "platform_get_timer_counter": "0x0001d789", + "platform_get_us_time": "0x0001d78d", + "platform_get_version": "0x0001d791", + "platform_hrng": "0x0001d799", + "platform_install_isr_stack": "0x0001d7a1", + "platform_install_task_stack": "0x0001d7ad", + "platform_patch_rf_init_data": "0x0001d7e5", + "platform_printf": "0x0001d7f1", + "platform_raise_assertion": "0x0001d805", + "platform_rand": "0x0001d819", + "platform_read_info": "0x0001d81d", + "platform_read_persistent_reg": "0x0001d84d", + "platform_reset": "0x0001d85d", + "platform_rt_rc_auto_tune": "0x0001d881", + "platform_rt_rc_auto_tune2": "0x0001d889", + "platform_rt_rc_tune": "0x0001d911", + "platform_set_abs_timer": "0x0001d925", + "platform_set_evt_callback": "0x0001d929", + "platform_set_evt_callback_table": "0x0001d93d", + "platform_set_irq_callback": "0x0001d949", + "platform_set_irq_callback_table": "0x0001d965", + "platform_set_rf_clk_source": "0x0001d971", + "platform_set_rf_init_data": "0x0001d97d", + "platform_set_rf_power_mapping": "0x0001d989", + "platform_set_timer": "0x0001d995", + "platform_shutdown": "0x0001d999", + "platform_switch_app": "0x0001d99d", + "platform_trace_raw": "0x0001d9c9", + "platform_write_persistent_reg": "0x0001d9e1", + "printf_hexdump": "0x0001db95", + "pvPortMalloc": "0x0001e689", + "pvTaskIncrementMutexHeldCount": "0x0001e771", + "pvTimerGetTimerID": "0x0001e789", + "pxPortInitialiseStack": "0x0001e7b5", + "reverse_128": "0x0001e95d", + "reverse_24": "0x0001e963", + "reverse_256": "0x0001e969", + "reverse_48": "0x0001e96f", + "reverse_56": "0x0001e975", + "reverse_64": "0x0001e97b", + "reverse_bd_addr": "0x0001e981", + "reverse_bytes": "0x0001e987", + "sm_add_event_handler": "0x0001eb25", + "sm_address_resolution_lookup": "0x0001ec7d", + "sm_authenticated": "0x0001f025", + "sm_authorization_decline": "0x0001f033", + "sm_authorization_grant": "0x0001f053", + "sm_authorization_state": "0x0001f073", + "sm_bonding_decline": "0x0001f08d", + "sm_config": "0x0001f4e9", + "sm_config_conn": "0x0001f51d", + "sm_encryption_key_size": "0x0001f6d7", + "sm_just_works_confirm": "0x0001fc5d", + "sm_le_device_key": "0x0001ff9d", + "sm_passkey_input": "0x00020033", + "sm_private_random_address_generation_get": "0x000203ed", + "sm_private_random_address_generation_get_mode": "0x000203f5", + "sm_private_random_address_generation_set_mode": "0x00020401", + "sm_private_random_address_generation_set_update_period": "0x00020429", + "sm_register_external_ltk_callback": "0x00020565", + "sm_register_oob_data_callback": "0x00020571", + "sm_request_pairing": "0x0002057d", + "sm_send_security_request": "0x0002105b", + "sm_set_accepted_stk_generation_methods": "0x00021081", + "sm_set_authentication_requirements": "0x0002108d", + "sm_set_encryption_key_size_range": "0x0002109d", + "sscanf_bd_addr": "0x000213e9", + "sysSetPublicDeviceAddr": "0x0002179d", + "uuid128_to_str": "0x00021db1", + "uuid_add_bluetooth_prefix": "0x00021e09", + "uuid_has_bluetooth_prefix": "0x00021e29", + "uxListRemove": "0x00021e45", + "uxQueueMessagesWaiting": "0x00021e6d", + "uxQueueMessagesWaitingFromISR": "0x00021e95", + "uxQueueSpacesAvailable": "0x00021eb1", + "uxTaskGetStackHighWaterMark": "0x00021edd", + "uxTaskPriorityGet": "0x00021efd", + "uxTaskPriorityGetFromISR": "0x00021f19", + "vListInitialise": "0x00021fd3", + "vListInitialiseItem": "0x00021fe9", + "vListInsert": "0x00021fef", + "vListInsertEnd": "0x0002201f", + "vPortEndScheduler": "0x00022039", + "vPortEnterCritical": "0x00022065", + "vPortExitCritical": "0x000220a9", + "vPortFree": "0x000220dd", + "vPortSuppressTicksAndSleep": "0x00022171", + "vPortValidateInterruptPriority": "0x00022299", + "vQueueDelete": "0x000222f5", + "vQueueWaitForMessageRestricted": "0x00022321", + "vTaskDelay": "0x00022369", + "vTaskInternalSetTimeOutState": "0x000223b5", + "vTaskMissedYield": "0x000223c5", + "vTaskPlaceOnEventList": "0x000223d1", + "vTaskPlaceOnEventListRestricted": "0x00022409", + "vTaskPriorityDisinheritAfterTimeout": "0x00022449", + "vTaskPrioritySet": "0x000224f5", + "vTaskResume": "0x000225bd", + "vTaskStartScheduler": "0x00022641", + "vTaskStepTick": "0x000226d1", + "vTaskSuspend": "0x00022701", + "vTaskSuspendAll": "0x000227bd", + "vTaskSwitchContext": "0x000227cd", + "xPortStartScheduler": "0x0002287d", + "xQueueAddToSet": "0x00022945", + "xQueueCreateCountingSemaphore": "0x00022969", + "xQueueCreateCountingSemaphoreStatic": "0x000229a5", + "xQueueCreateMutex": "0x000229e9", + "xQueueCreateMutexStatic": "0x000229ff", + "xQueueCreateSet": "0x00022a19", + "xQueueGenericCreate": "0x00022a21", + "xQueueGenericCreateStatic": "0x00022a6d", + "xQueueGenericReset": "0x00022ad5", + "xQueueGenericSend": "0x00022b61", + "xQueueGenericSendFromISR": "0x00022ccd", + "xQueueGiveFromISR": "0x00022d8d", + "xQueueGiveMutexRecursive": "0x00022e31", + "xQueueIsQueueEmptyFromISR": "0x00022e71", + "xQueueIsQueueFullFromISR": "0x00022e95", + "xQueuePeek": "0x00022ebd", + "xQueuePeekFromISR": "0x00022fe5", + "xQueueReceive": "0x00023051", + "xQueueReceiveFromISR": "0x0002317d", + "xQueueRemoveFromSet": "0x00023211", + "xQueueSelectFromSet": "0x00023233", + "xQueueSelectFromSetFromISR": "0x00023245", + "xQueueSemaphoreTake": "0x00023259", + "xQueueTakeMutexRecursive": "0x000233c5", + "xTaskCheckForTimeOut": "0x00023409", + "xTaskCreate": "0x00023479", + "xTaskCreateStatic": "0x000234d5", + "xTaskGetCurrentTaskHandle": "0x00023545", + "xTaskGetSchedulerState": "0x00023551", + "xTaskGetTickCount": "0x0002356d", + "xTaskGetTickCountFromISR": "0x00023579", + "xTaskIncrementTick": "0x00023589", + "xTaskPriorityDisinherit": "0x00023655", + "xTaskPriorityInherit": "0x000236e9", + "xTaskRemoveFromEventList": "0x0002377d", + "xTaskResumeAll": "0x000237fd", + "xTaskResumeFromISR": "0x000238c5", + "xTimerCreate": "0x00023951", + "xTimerCreateStatic": "0x00023985", + "xTimerCreateTimerTask": "0x000239bd", + "xTimerGenericCommand": "0x00023a29", + "xTimerGetExpiryTime": "0x00023a99", + "xTimerGetTimerDaemonTaskHandle": "0x00023ab9" } \ No newline at end of file diff --git a/bundles/mass_conn/ING9187xx/meta.json b/bundles/mass_conn/ING9187xx/meta.json index 39f930e41..226c83038 100644 --- a/bundles/mass_conn/ING9187xx/meta.json +++ b/bundles/mass_conn/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 135956 + "size": 136008 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/mass_conn/ING9187xx/platform.bin b/bundles/mass_conn/ING9187xx/platform.bin index 95e82166a..17212ca62 100644 Binary files a/bundles/mass_conn/ING9187xx/platform.bin and b/bundles/mass_conn/ING9187xx/platform.bin differ diff --git a/bundles/mass_conn/ING9188xx/apis.json b/bundles/mass_conn/ING9188xx/apis.json index 0e1117dbe..7af731f89 100644 --- a/bundles/mass_conn/ING9188xx/apis.json +++ b/bundles/mass_conn/ING9188xx/apis.json @@ -188,159 +188,161 @@ "nibble_for_char": "0x0001e799", "platform_calibrate_rt_clk": "0x0001e845", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001e849", - "platform_delete_timer": "0x0001e96d", - "platform_enable_irq": "0x0001e975", - "platform_get_current_task": "0x0001e9ad", - "platform_get_gen_os_driver": "0x0001e9d1", - "platform_get_heap_status": "0x0001e9d9", - "platform_get_link_layer_interf": "0x0001e9f1", - "platform_get_task_handle": "0x0001e9f9", - "platform_get_timer_counter": "0x0001ea19", - "platform_get_us_time": "0x0001ea1d", - "platform_get_version": "0x0001ea21", - "platform_hrng": "0x0001ea29", - "platform_install_isr_stack": "0x0001ea31", - "platform_install_task_stack": "0x0001ea3d", - "platform_patch_rf_init_data": "0x0001ea75", - "platform_printf": "0x0001ea81", - "platform_raise_assertion": "0x0001ea95", - "platform_rand": "0x0001eaa9", - "platform_read_info": "0x0001eaad", - "platform_read_persistent_reg": "0x0001eadd", - "platform_reset": "0x0001eaed", - "platform_rt_rc_auto_tune": "0x0001eb11", - "platform_rt_rc_auto_tune2": "0x0001eb19", - "platform_rt_rc_tune": "0x0001eba1", - "platform_set_abs_timer": "0x0001ebb5", - "platform_set_evt_callback": "0x0001ebb9", - "platform_set_evt_callback_table": "0x0001ebcd", - "platform_set_irq_callback": "0x0001ebd9", - "platform_set_irq_callback_table": "0x0001ebf5", - "platform_set_rf_clk_source": "0x0001ec01", - "platform_set_rf_init_data": "0x0001ec0d", - "platform_set_rf_power_mapping": "0x0001ec19", - "platform_set_timer": "0x0001ec25", - "platform_shutdown": "0x0001ec29", - "platform_switch_app": "0x0001ec2d", - "platform_trace_raw": "0x0001ec59", - "platform_write_persistent_reg": "0x0001ec71", - "printf_hexdump": "0x0001ee25", - "pvPortMalloc": "0x0001f919", - "pvTaskIncrementMutexHeldCount": "0x0001fa01", - "pvTimerGetTimerID": "0x0001fa19", - "pxPortInitialiseStack": "0x0001fa45", - "reverse_128": "0x0001fc25", - "reverse_24": "0x0001fc2b", - "reverse_256": "0x0001fc31", - "reverse_48": "0x0001fc37", - "reverse_56": "0x0001fc3d", - "reverse_64": "0x0001fc43", - "reverse_bd_addr": "0x0001fc49", - "reverse_bytes": "0x0001fc4f", - "sm_add_event_handler": "0x0001ff3d", - "sm_address_resolution_lookup": "0x00020095", - "sm_authenticated": "0x0002043d", - "sm_authorization_decline": "0x0002044b", - "sm_authorization_grant": "0x0002046b", - "sm_authorization_state": "0x0002048b", - "sm_bonding_decline": "0x000204a5", - "sm_config": "0x00020901", - "sm_config_conn": "0x00020935", - "sm_encryption_key_size": "0x00020aef", - "sm_just_works_confirm": "0x00021075", - "sm_le_device_key": "0x000213b5", - "sm_passkey_input": "0x0002144b", - "sm_private_random_address_generation_get": "0x00021805", - "sm_private_random_address_generation_get_mode": "0x0002180d", - "sm_private_random_address_generation_set_mode": "0x00021819", - "sm_private_random_address_generation_set_update_period": "0x00021841", - "sm_register_external_ltk_callback": "0x0002197d", - "sm_register_oob_data_callback": "0x00021989", - "sm_request_pairing": "0x00021995", - "sm_send_security_request": "0x00022473", - "sm_set_accepted_stk_generation_methods": "0x00022499", - "sm_set_authentication_requirements": "0x000224a5", - "sm_set_encryption_key_size_range": "0x000224b5", - "sscanf_bd_addr": "0x00022801", - "sysSetPublicDeviceAddr": "0x00022bb5", - "uuid128_to_str": "0x00023361", - "uuid_add_bluetooth_prefix": "0x000233b9", - "uuid_has_bluetooth_prefix": "0x000233d9", - "uxListRemove": "0x000233f5", - "uxQueueMessagesWaiting": "0x0002341d", - "uxQueueMessagesWaitingFromISR": "0x00023445", - "uxQueueSpacesAvailable": "0x00023461", - "uxTaskGetStackHighWaterMark": "0x0002348d", - "uxTaskPriorityGet": "0x000234ad", - "uxTaskPriorityGetFromISR": "0x000234c9", - "vListInitialise": "0x00023583", - "vListInitialiseItem": "0x00023599", - "vListInsert": "0x0002359f", - "vListInsertEnd": "0x000235cf", - "vPortEndScheduler": "0x000235e9", - "vPortEnterCritical": "0x00023615", - "vPortExitCritical": "0x00023659", - "vPortFree": "0x0002368d", - "vPortSuppressTicksAndSleep": "0x00023721", - "vPortValidateInterruptPriority": "0x00023849", - "vQueueDelete": "0x000238a5", - "vQueueWaitForMessageRestricted": "0x000238d1", - "vTaskDelay": "0x00023919", - "vTaskInternalSetTimeOutState": "0x00023965", - "vTaskMissedYield": "0x00023975", - "vTaskPlaceOnEventList": "0x00023981", - "vTaskPlaceOnEventListRestricted": "0x000239b9", - "vTaskPriorityDisinheritAfterTimeout": "0x000239f9", - "vTaskPrioritySet": "0x00023aa5", - "vTaskResume": "0x00023b6d", - "vTaskStartScheduler": "0x00023bf1", - "vTaskStepTick": "0x00023c81", - "vTaskSuspend": "0x00023cb1", - "vTaskSuspendAll": "0x00023d6d", - "vTaskSwitchContext": "0x00023d7d", - "xPortStartScheduler": "0x00023e2d", - "xQueueAddToSet": "0x00023ef5", - "xQueueCreateCountingSemaphore": "0x00023f19", - "xQueueCreateCountingSemaphoreStatic": "0x00023f55", - "xQueueCreateMutex": "0x00023f99", - "xQueueCreateMutexStatic": "0x00023faf", - "xQueueCreateSet": "0x00023fc9", - "xQueueGenericCreate": "0x00023fd1", - "xQueueGenericCreateStatic": "0x0002401d", - "xQueueGenericReset": "0x00024085", - "xQueueGenericSend": "0x00024111", - "xQueueGenericSendFromISR": "0x0002427d", - "xQueueGiveFromISR": "0x0002433d", - "xQueueGiveMutexRecursive": "0x000243e1", - "xQueueIsQueueEmptyFromISR": "0x00024421", - "xQueueIsQueueFullFromISR": "0x00024445", - "xQueuePeek": "0x0002446d", - "xQueuePeekFromISR": "0x00024595", - "xQueueReceive": "0x00024601", - "xQueueReceiveFromISR": "0x0002472d", - "xQueueRemoveFromSet": "0x000247c1", - "xQueueSelectFromSet": "0x000247e3", - "xQueueSelectFromSetFromISR": "0x000247f5", - "xQueueSemaphoreTake": "0x00024809", - "xQueueTakeMutexRecursive": "0x00024975", - "xTaskCheckForTimeOut": "0x000249b9", - "xTaskCreate": "0x00024a29", - "xTaskCreateStatic": "0x00024a85", - "xTaskGetCurrentTaskHandle": "0x00024af5", - "xTaskGetSchedulerState": "0x00024b01", - "xTaskGetTickCount": "0x00024b1d", - "xTaskGetTickCountFromISR": "0x00024b29", - "xTaskIncrementTick": "0x00024b39", - "xTaskPriorityDisinherit": "0x00024c05", - "xTaskPriorityInherit": "0x00024c99", - "xTaskRemoveFromEventList": "0x00024d2d", - "xTaskResumeAll": "0x00024dad", - "xTaskResumeFromISR": "0x00024e75", - "xTimerCreate": "0x00024f01", - "xTimerCreateStatic": "0x00024f35", - "xTimerCreateTimerTask": "0x00024f6d", - "xTimerGenericCommand": "0x00024fd9", - "xTimerGetExpiryTime": "0x00025049", - "xTimerGetTimerDaemonTaskHandle": "0x00025069" + "platform_cancel_us_timer": "0x0001e849", + "platform_config": "0x0001e85d", + "platform_create_us_timer": "0x0001e981", + "platform_delete_timer": "0x0001e995", + "platform_enable_irq": "0x0001e99d", + "platform_get_current_task": "0x0001e9d5", + "platform_get_gen_os_driver": "0x0001e9f9", + "platform_get_heap_status": "0x0001ea01", + "platform_get_link_layer_interf": "0x0001ea19", + "platform_get_task_handle": "0x0001ea21", + "platform_get_timer_counter": "0x0001ea41", + "platform_get_us_time": "0x0001ea45", + "platform_get_version": "0x0001ea49", + "platform_hrng": "0x0001ea51", + "platform_install_isr_stack": "0x0001ea59", + "platform_install_task_stack": "0x0001ea65", + "platform_patch_rf_init_data": "0x0001ea9d", + "platform_printf": "0x0001eaa9", + "platform_raise_assertion": "0x0001eabd", + "platform_rand": "0x0001ead1", + "platform_read_info": "0x0001ead5", + "platform_read_persistent_reg": "0x0001eb05", + "platform_reset": "0x0001eb15", + "platform_rt_rc_auto_tune": "0x0001eb39", + "platform_rt_rc_auto_tune2": "0x0001eb41", + "platform_rt_rc_tune": "0x0001ebc9", + "platform_set_abs_timer": "0x0001ebdd", + "platform_set_evt_callback": "0x0001ebe1", + "platform_set_evt_callback_table": "0x0001ebf5", + "platform_set_irq_callback": "0x0001ec01", + "platform_set_irq_callback_table": "0x0001ec1d", + "platform_set_rf_clk_source": "0x0001ec29", + "platform_set_rf_init_data": "0x0001ec35", + "platform_set_rf_power_mapping": "0x0001ec41", + "platform_set_timer": "0x0001ec4d", + "platform_shutdown": "0x0001ec51", + "platform_switch_app": "0x0001ec55", + "platform_trace_raw": "0x0001ec81", + "platform_write_persistent_reg": "0x0001ec99", + "printf_hexdump": "0x0001ee4d", + "pvPortMalloc": "0x0001f941", + "pvTaskIncrementMutexHeldCount": "0x0001fa29", + "pvTimerGetTimerID": "0x0001fa41", + "pxPortInitialiseStack": "0x0001fa6d", + "reverse_128": "0x0001fc4d", + "reverse_24": "0x0001fc53", + "reverse_256": "0x0001fc59", + "reverse_48": "0x0001fc5f", + "reverse_56": "0x0001fc65", + "reverse_64": "0x0001fc6b", + "reverse_bd_addr": "0x0001fc71", + "reverse_bytes": "0x0001fc77", + "sm_add_event_handler": "0x0001ff65", + "sm_address_resolution_lookup": "0x000200bd", + "sm_authenticated": "0x00020465", + "sm_authorization_decline": "0x00020473", + "sm_authorization_grant": "0x00020493", + "sm_authorization_state": "0x000204b3", + "sm_bonding_decline": "0x000204cd", + "sm_config": "0x00020929", + "sm_config_conn": "0x0002095d", + "sm_encryption_key_size": "0x00020b17", + "sm_just_works_confirm": "0x0002109d", + "sm_le_device_key": "0x000213dd", + "sm_passkey_input": "0x00021473", + "sm_private_random_address_generation_get": "0x0002182d", + "sm_private_random_address_generation_get_mode": "0x00021835", + "sm_private_random_address_generation_set_mode": "0x00021841", + "sm_private_random_address_generation_set_update_period": "0x00021869", + "sm_register_external_ltk_callback": "0x000219a5", + "sm_register_oob_data_callback": "0x000219b1", + "sm_request_pairing": "0x000219bd", + "sm_send_security_request": "0x0002249b", + "sm_set_accepted_stk_generation_methods": "0x000224c1", + "sm_set_authentication_requirements": "0x000224cd", + "sm_set_encryption_key_size_range": "0x000224dd", + "sscanf_bd_addr": "0x00022829", + "sysSetPublicDeviceAddr": "0x00022bdd", + "uuid128_to_str": "0x00023389", + "uuid_add_bluetooth_prefix": "0x000233e1", + "uuid_has_bluetooth_prefix": "0x00023401", + "uxListRemove": "0x0002341d", + "uxQueueMessagesWaiting": "0x00023445", + "uxQueueMessagesWaitingFromISR": "0x0002346d", + "uxQueueSpacesAvailable": "0x00023489", + "uxTaskGetStackHighWaterMark": "0x000234b5", + "uxTaskPriorityGet": "0x000234d5", + "uxTaskPriorityGetFromISR": "0x000234f1", + "vListInitialise": "0x000235ab", + "vListInitialiseItem": "0x000235c1", + "vListInsert": "0x000235c7", + "vListInsertEnd": "0x000235f7", + "vPortEndScheduler": "0x00023611", + "vPortEnterCritical": "0x0002363d", + "vPortExitCritical": "0x00023681", + "vPortFree": "0x000236b5", + "vPortSuppressTicksAndSleep": "0x00023749", + "vPortValidateInterruptPriority": "0x00023871", + "vQueueDelete": "0x000238cd", + "vQueueWaitForMessageRestricted": "0x000238f9", + "vTaskDelay": "0x00023941", + "vTaskInternalSetTimeOutState": "0x0002398d", + "vTaskMissedYield": "0x0002399d", + "vTaskPlaceOnEventList": "0x000239a9", + "vTaskPlaceOnEventListRestricted": "0x000239e1", + "vTaskPriorityDisinheritAfterTimeout": "0x00023a21", + "vTaskPrioritySet": "0x00023acd", + "vTaskResume": "0x00023b95", + "vTaskStartScheduler": "0x00023c19", + "vTaskStepTick": "0x00023ca9", + "vTaskSuspend": "0x00023cd9", + "vTaskSuspendAll": "0x00023d95", + "vTaskSwitchContext": "0x00023da5", + "xPortStartScheduler": "0x00023e55", + "xQueueAddToSet": "0x00023f1d", + "xQueueCreateCountingSemaphore": "0x00023f41", + "xQueueCreateCountingSemaphoreStatic": "0x00023f7d", + "xQueueCreateMutex": "0x00023fc1", + "xQueueCreateMutexStatic": "0x00023fd7", + "xQueueCreateSet": "0x00023ff1", + "xQueueGenericCreate": "0x00023ff9", + "xQueueGenericCreateStatic": "0x00024045", + "xQueueGenericReset": "0x000240ad", + "xQueueGenericSend": "0x00024139", + "xQueueGenericSendFromISR": "0x000242a5", + "xQueueGiveFromISR": "0x00024365", + "xQueueGiveMutexRecursive": "0x00024409", + "xQueueIsQueueEmptyFromISR": "0x00024449", + "xQueueIsQueueFullFromISR": "0x0002446d", + "xQueuePeek": "0x00024495", + "xQueuePeekFromISR": "0x000245bd", + "xQueueReceive": "0x00024629", + "xQueueReceiveFromISR": "0x00024755", + "xQueueRemoveFromSet": "0x000247e9", + "xQueueSelectFromSet": "0x0002480b", + "xQueueSelectFromSetFromISR": "0x0002481d", + "xQueueSemaphoreTake": "0x00024831", + "xQueueTakeMutexRecursive": "0x0002499d", + "xTaskCheckForTimeOut": "0x000249e1", + "xTaskCreate": "0x00024a51", + "xTaskCreateStatic": "0x00024aad", + "xTaskGetCurrentTaskHandle": "0x00024b1d", + "xTaskGetSchedulerState": "0x00024b29", + "xTaskGetTickCount": "0x00024b45", + "xTaskGetTickCountFromISR": "0x00024b51", + "xTaskIncrementTick": "0x00024b61", + "xTaskPriorityDisinherit": "0x00024c2d", + "xTaskPriorityInherit": "0x00024cc1", + "xTaskRemoveFromEventList": "0x00024d55", + "xTaskResumeAll": "0x00024dd5", + "xTaskResumeFromISR": "0x00024e9d", + "xTimerCreate": "0x00024f29", + "xTimerCreateStatic": "0x00024f5d", + "xTimerCreateTimerTask": "0x00024f95", + "xTimerGenericCommand": "0x00025001", + "xTimerGetExpiryTime": "0x00025071", + "xTimerGetTimerDaemonTaskHandle": "0x00025091" } \ No newline at end of file diff --git a/bundles/mass_conn/ING9188xx/meta.json b/bundles/mass_conn/ING9188xx/meta.json index 0cbc12ef4..54b2c06e7 100644 --- a/bundles/mass_conn/ING9188xx/meta.json +++ b/bundles/mass_conn/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 142008 + "size": 142056 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/mass_conn/ING9188xx/platform.bin b/bundles/mass_conn/ING9188xx/platform.bin index b7e8ba637..f579387ac 100644 Binary files a/bundles/mass_conn/ING9188xx/platform.bin and b/bundles/mass_conn/ING9188xx/platform.bin differ diff --git a/bundles/mass_conn/inc/platform_api.h b/bundles/mass_conn/inc/platform_api.h index b16a6c17c..27b03f259 100644 --- a/bundles/mass_conn/inc/platform_api.h +++ b/bundles/mass_conn/inc/platform_api.h @@ -464,8 +464,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -783,6 +788,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/mini/ING9168xx/apis.json b/bundles/mini/ING9168xx/apis.json index d7d4bc857..646f0c424 100644 --- a/bundles/mini/ING9168xx/apis.json +++ b/bundles/mini/ING9168xx/apis.json @@ -189,159 +189,161 @@ "nibble_for_char": "0x0201cfe5", "platform_calibrate_rt_clk": "0x0201d06d", "platform_call_on_stack": "0x020030fb", - "platform_config": "0x0201d071", - "platform_delete_timer": "0x0201d199", - "platform_enable_irq": "0x0201d1a1", - "platform_get_current_task": "0x0201d1f5", - "platform_get_gen_os_driver": "0x0201d219", - "platform_get_heap_status": "0x0201d221", - "platform_get_link_layer_interf": "0x0201d239", - "platform_get_task_handle": "0x0201d241", - "platform_get_timer_counter": "0x0201d261", - "platform_get_us_time": "0x0201d265", - "platform_get_version": "0x0201d269", - "platform_hrng": "0x0201d285", - "platform_install_isr_stack": "0x0201d28d", - "platform_install_task_stack": "0x0201d299", - "platform_patch_rf_init_data": "0x0201d2d1", - "platform_printf": "0x0201d2dd", - "platform_raise_assertion": "0x0201d2f1", - "platform_rand": "0x0201d305", - "platform_read_info": "0x0201d309", - "platform_read_persistent_reg": "0x0201d339", - "platform_reset": "0x0201d345", - "platform_rt_rc_auto_tune": "0x0201d359", - "platform_rt_rc_auto_tune2": "0x0201d361", - "platform_rt_rc_tune": "0x0201d3c9", - "platform_set_abs_timer": "0x0201d3e5", - "platform_set_evt_callback": "0x0201d3e9", - "platform_set_evt_callback_table": "0x0201d3fd", - "platform_set_irq_callback": "0x0201d409", - "platform_set_irq_callback_table": "0x0201d425", - "platform_set_rf_clk_source": "0x0201d431", - "platform_set_rf_init_data": "0x0201d43d", - "platform_set_rf_power_mapping": "0x0201d449", - "platform_set_timer": "0x0201d455", - "platform_shutdown": "0x0201d459", - "platform_switch_app": "0x0201d45d", - "platform_trace_raw": "0x0201d475", - "platform_write_persistent_reg": "0x0201d48d", - "printf_hexdump": "0x0201d645", - "pvPortMalloc": "0x0201e079", - "pvTaskIncrementMutexHeldCount": "0x0201e161", - "pvTimerGetTimerID": "0x0201e179", - "pxPortInitialiseStack": "0x0201e1a5", - "reverse_128": "0x0201e38d", - "reverse_24": "0x0201e393", - "reverse_256": "0x0201e399", - "reverse_48": "0x0201e39f", - "reverse_56": "0x0201e3a5", - "reverse_64": "0x0201e3ab", - "reverse_bd_addr": "0x0201e3b1", - "reverse_bytes": "0x0201e3b7", - "sm_add_event_handler": "0x0201e6bd", - "sm_address_resolution_lookup": "0x0201e815", - "sm_authenticated": "0x0201ebbd", - "sm_authorization_decline": "0x0201ebcb", - "sm_authorization_grant": "0x0201ebeb", - "sm_authorization_state": "0x0201ec0b", - "sm_bonding_decline": "0x0201ec25", - "sm_config": "0x0201f079", - "sm_config_conn": "0x0201f0ad", - "sm_encryption_key_size": "0x0201f267", - "sm_just_works_confirm": "0x0201f7ed", - "sm_le_device_key": "0x0201fb2d", - "sm_passkey_input": "0x0201fbc3", - "sm_private_random_address_generation_get": "0x0201ff7d", - "sm_private_random_address_generation_get_mode": "0x0201ff85", - "sm_private_random_address_generation_set_mode": "0x0201ff91", - "sm_private_random_address_generation_set_update_period": "0x0201ffb9", - "sm_register_external_ltk_callback": "0x020200f5", - "sm_register_oob_data_callback": "0x02020101", - "sm_request_pairing": "0x0202010d", - "sm_send_security_request": "0x02020beb", - "sm_set_accepted_stk_generation_methods": "0x02020c11", - "sm_set_authentication_requirements": "0x02020c1d", - "sm_set_encryption_key_size_range": "0x02020c2d", - "sscanf_bd_addr": "0x02020f7d", - "sysSetPublicDeviceAddr": "0x02021031", - "uuid128_to_str": "0x020217ed", - "uuid_add_bluetooth_prefix": "0x02021845", - "uuid_has_bluetooth_prefix": "0x02021865", - "uxListRemove": "0x02021881", - "uxQueueMessagesWaiting": "0x020218a9", - "uxQueueMessagesWaitingFromISR": "0x020218d1", - "uxQueueSpacesAvailable": "0x020218ed", - "uxTaskGetStackHighWaterMark": "0x02021919", - "uxTaskPriorityGet": "0x02021939", - "uxTaskPriorityGetFromISR": "0x02021955", - "vListInitialise": "0x020219bb", - "vListInitialiseItem": "0x020219d1", - "vListInsert": "0x020219d7", - "vListInsertEnd": "0x02021a07", - "vPortEndScheduler": "0x02021a21", - "vPortEnterCritical": "0x20000325", - "vPortExitCritical": "0x2000035f", - "vPortFree": "0x02021a4d", - "vPortSuppressTicksAndSleep": "0x2000038b", - "vPortValidateInterruptPriority": "0x02021af1", - "vQueueDelete": "0x02021b4d", - "vQueueWaitForMessageRestricted": "0x02021b79", - "vTaskDelay": "0x02021bbd", - "vTaskInternalSetTimeOutState": "0x02021c09", - "vTaskMissedYield": "0x02021c19", - "vTaskPlaceOnEventList": "0x02021c25", - "vTaskPlaceOnEventListRestricted": "0x02021c5d", - "vTaskPriorityDisinheritAfterTimeout": "0x02021c9d", - "vTaskPrioritySet": "0x02021d49", - "vTaskResume": "0x02021e11", - "vTaskStartScheduler": "0x02021e95", - "vTaskStepTick": "0x2000070b", - "vTaskSuspend": "0x02021f25", - "vTaskSuspendAll": "0x2000067f", - "vTaskSwitchContext": "0x02021fe1", - "xPortStartScheduler": "0x02022091", - "xQueueAddToSet": "0x02022195", - "xQueueCreateCountingSemaphore": "0x020221b9", - "xQueueCreateCountingSemaphoreStatic": "0x020221f5", - "xQueueCreateMutex": "0x02022239", - "xQueueCreateMutexStatic": "0x0202224f", - "xQueueCreateSet": "0x02022269", - "xQueueGenericCreate": "0x02022271", - "xQueueGenericCreateStatic": "0x020222bd", - "xQueueGenericReset": "0x02022325", - "xQueueGenericSend": "0x020223b1", - "xQueueGenericSendFromISR": "0x0202251d", - "xQueueGiveFromISR": "0x020225dd", - "xQueueGiveMutexRecursive": "0x02022681", - "xQueueIsQueueEmptyFromISR": "0x020226c1", - "xQueueIsQueueFullFromISR": "0x020226e5", - "xQueuePeek": "0x0202270d", - "xQueuePeekFromISR": "0x02022835", - "xQueueReceive": "0x020228a1", - "xQueueReceiveFromISR": "0x020229cd", - "xQueueRemoveFromSet": "0x02022a61", - "xQueueSelectFromSet": "0x02022a83", - "xQueueSelectFromSetFromISR": "0x02022a95", - "xQueueSemaphoreTake": "0x02022aa9", - "xQueueTakeMutexRecursive": "0x02022c15", - "xTaskCheckForTimeOut": "0x02022c59", - "xTaskCreate": "0x02022cc9", - "xTaskCreateStatic": "0x02022d25", - "xTaskGetCurrentTaskHandle": "0x02022d95", - "xTaskGetSchedulerState": "0x02022da1", - "xTaskGetTickCount": "0x02022dbd", - "xTaskGetTickCountFromISR": "0x02022dc9", - "xTaskIncrementTick": "0x20000511", - "xTaskPriorityDisinherit": "0x02022dd9", - "xTaskPriorityInherit": "0x02022e6d", - "xTaskRemoveFromEventList": "0x02022f01", - "xTaskResumeAll": "0x200005cb", - "xTaskResumeFromISR": "0x02022f81", - "xTimerCreate": "0x0202300d", - "xTimerCreateStatic": "0x02023041", - "xTimerCreateTimerTask": "0x02023079", - "xTimerGenericCommand": "0x020230e5", - "xTimerGetExpiryTime": "0x02023155", - "xTimerGetTimerDaemonTaskHandle": "0x02023175" + "platform_cancel_us_timer": "0x0201d071", + "platform_config": "0x0201d085", + "platform_create_us_timer": "0x0201d1b9", + "platform_delete_timer": "0x0201d1cd", + "platform_enable_irq": "0x0201d1d5", + "platform_get_current_task": "0x0201d229", + "platform_get_gen_os_driver": "0x0201d24d", + "platform_get_heap_status": "0x0201d255", + "platform_get_link_layer_interf": "0x0201d26d", + "platform_get_task_handle": "0x0201d275", + "platform_get_timer_counter": "0x0201d295", + "platform_get_us_time": "0x0201d299", + "platform_get_version": "0x0201d29d", + "platform_hrng": "0x0201d2b9", + "platform_install_isr_stack": "0x0201d2c1", + "platform_install_task_stack": "0x0201d2cd", + "platform_patch_rf_init_data": "0x0201d305", + "platform_printf": "0x0201d311", + "platform_raise_assertion": "0x0201d325", + "platform_rand": "0x0201d339", + "platform_read_info": "0x0201d33d", + "platform_read_persistent_reg": "0x0201d36d", + "platform_reset": "0x0201d379", + "platform_rt_rc_auto_tune": "0x0201d38d", + "platform_rt_rc_auto_tune2": "0x0201d395", + "platform_rt_rc_tune": "0x0201d3fd", + "platform_set_abs_timer": "0x0201d419", + "platform_set_evt_callback": "0x0201d41d", + "platform_set_evt_callback_table": "0x0201d431", + "platform_set_irq_callback": "0x0201d43d", + "platform_set_irq_callback_table": "0x0201d459", + "platform_set_rf_clk_source": "0x0201d465", + "platform_set_rf_init_data": "0x0201d471", + "platform_set_rf_power_mapping": "0x0201d47d", + "platform_set_timer": "0x0201d489", + "platform_shutdown": "0x0201d48d", + "platform_switch_app": "0x0201d491", + "platform_trace_raw": "0x0201d4a9", + "platform_write_persistent_reg": "0x0201d4c1", + "printf_hexdump": "0x0201d679", + "pvPortMalloc": "0x0201e0ad", + "pvTaskIncrementMutexHeldCount": "0x0201e195", + "pvTimerGetTimerID": "0x0201e1ad", + "pxPortInitialiseStack": "0x0201e1d9", + "reverse_128": "0x0201e3c1", + "reverse_24": "0x0201e3c7", + "reverse_256": "0x0201e3cd", + "reverse_48": "0x0201e3d3", + "reverse_56": "0x0201e3d9", + "reverse_64": "0x0201e3df", + "reverse_bd_addr": "0x0201e3e5", + "reverse_bytes": "0x0201e3eb", + "sm_add_event_handler": "0x0201e6f1", + "sm_address_resolution_lookup": "0x0201e849", + "sm_authenticated": "0x0201ebf1", + "sm_authorization_decline": "0x0201ebff", + "sm_authorization_grant": "0x0201ec1f", + "sm_authorization_state": "0x0201ec3f", + "sm_bonding_decline": "0x0201ec59", + "sm_config": "0x0201f0ad", + "sm_config_conn": "0x0201f0e1", + "sm_encryption_key_size": "0x0201f29b", + "sm_just_works_confirm": "0x0201f821", + "sm_le_device_key": "0x0201fb61", + "sm_passkey_input": "0x0201fbf7", + "sm_private_random_address_generation_get": "0x0201ffb1", + "sm_private_random_address_generation_get_mode": "0x0201ffb9", + "sm_private_random_address_generation_set_mode": "0x0201ffc5", + "sm_private_random_address_generation_set_update_period": "0x0201ffed", + "sm_register_external_ltk_callback": "0x02020129", + "sm_register_oob_data_callback": "0x02020135", + "sm_request_pairing": "0x02020141", + "sm_send_security_request": "0x02020c1f", + "sm_set_accepted_stk_generation_methods": "0x02020c45", + "sm_set_authentication_requirements": "0x02020c51", + "sm_set_encryption_key_size_range": "0x02020c61", + "sscanf_bd_addr": "0x02020fb1", + "sysSetPublicDeviceAddr": "0x02021065", + "uuid128_to_str": "0x02021821", + "uuid_add_bluetooth_prefix": "0x02021879", + "uuid_has_bluetooth_prefix": "0x02021899", + "uxListRemove": "0x020218b5", + "uxQueueMessagesWaiting": "0x020218dd", + "uxQueueMessagesWaitingFromISR": "0x02021905", + "uxQueueSpacesAvailable": "0x02021921", + "uxTaskGetStackHighWaterMark": "0x0202194d", + "uxTaskPriorityGet": "0x0202196d", + "uxTaskPriorityGetFromISR": "0x02021989", + "vListInitialise": "0x020219ef", + "vListInitialiseItem": "0x02021a05", + "vListInsert": "0x02021a0b", + "vListInsertEnd": "0x02021a3b", + "vPortEndScheduler": "0x02021a55", + "vPortEnterCritical": "0x20000335", + "vPortExitCritical": "0x2000036f", + "vPortFree": "0x02021a81", + "vPortSuppressTicksAndSleep": "0x2000039b", + "vPortValidateInterruptPriority": "0x02021b25", + "vQueueDelete": "0x02021b81", + "vQueueWaitForMessageRestricted": "0x02021bad", + "vTaskDelay": "0x02021bf1", + "vTaskInternalSetTimeOutState": "0x02021c3d", + "vTaskMissedYield": "0x02021c4d", + "vTaskPlaceOnEventList": "0x02021c59", + "vTaskPlaceOnEventListRestricted": "0x02021c91", + "vTaskPriorityDisinheritAfterTimeout": "0x02021cd1", + "vTaskPrioritySet": "0x02021d7d", + "vTaskResume": "0x02021e45", + "vTaskStartScheduler": "0x02021ec9", + "vTaskStepTick": "0x2000071b", + "vTaskSuspend": "0x02021f59", + "vTaskSuspendAll": "0x2000068f", + "vTaskSwitchContext": "0x02022015", + "xPortStartScheduler": "0x020220c5", + "xQueueAddToSet": "0x020221c9", + "xQueueCreateCountingSemaphore": "0x020221ed", + "xQueueCreateCountingSemaphoreStatic": "0x02022229", + "xQueueCreateMutex": "0x0202226d", + "xQueueCreateMutexStatic": "0x02022283", + "xQueueCreateSet": "0x0202229d", + "xQueueGenericCreate": "0x020222a5", + "xQueueGenericCreateStatic": "0x020222f1", + "xQueueGenericReset": "0x02022359", + "xQueueGenericSend": "0x020223e5", + "xQueueGenericSendFromISR": "0x02022551", + "xQueueGiveFromISR": "0x02022611", + "xQueueGiveMutexRecursive": "0x020226b5", + "xQueueIsQueueEmptyFromISR": "0x020226f5", + "xQueueIsQueueFullFromISR": "0x02022719", + "xQueuePeek": "0x02022741", + "xQueuePeekFromISR": "0x02022869", + "xQueueReceive": "0x020228d5", + "xQueueReceiveFromISR": "0x02022a01", + "xQueueRemoveFromSet": "0x02022a95", + "xQueueSelectFromSet": "0x02022ab7", + "xQueueSelectFromSetFromISR": "0x02022ac9", + "xQueueSemaphoreTake": "0x02022add", + "xQueueTakeMutexRecursive": "0x02022c49", + "xTaskCheckForTimeOut": "0x02022c8d", + "xTaskCreate": "0x02022cfd", + "xTaskCreateStatic": "0x02022d59", + "xTaskGetCurrentTaskHandle": "0x02022dc9", + "xTaskGetSchedulerState": "0x02022dd5", + "xTaskGetTickCount": "0x02022df1", + "xTaskGetTickCountFromISR": "0x02022dfd", + "xTaskIncrementTick": "0x20000521", + "xTaskPriorityDisinherit": "0x02022e0d", + "xTaskPriorityInherit": "0x02022ea1", + "xTaskRemoveFromEventList": "0x02022f35", + "xTaskResumeAll": "0x200005db", + "xTaskResumeFromISR": "0x02022fb5", + "xTimerCreate": "0x02023041", + "xTimerCreateStatic": "0x02023075", + "xTimerCreateTimerTask": "0x020230ad", + "xTimerGenericCommand": "0x02023119", + "xTimerGetExpiryTime": "0x02023189", + "xTimerGetTimerDaemonTaskHandle": "0x020231a9" } \ No newline at end of file diff --git a/bundles/mini/ING9168xx/meta.json b/bundles/mini/ING9168xx/meta.json index 5dd6bf1bd..bc79f5c9e 100644 --- a/bundles/mini/ING9168xx/meta.json +++ b/bundles/mini/ING9168xx/meta.json @@ -4,15 +4,15 @@ }, "ram": { "base": 536870912, - "size": 29116 + "size": 29132 }, "rom": { "base": 33562624, - "size": 159772 + "size": 159852 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/mini/ING9168xx/platform.bin b/bundles/mini/ING9168xx/platform.bin index 98ddd1ef6..7f059a578 100644 Binary files a/bundles/mini/ING9168xx/platform.bin and b/bundles/mini/ING9168xx/platform.bin differ diff --git a/bundles/mini/ING9187xx/apis.json b/bundles/mini/ING9187xx/apis.json index d188a31da..1ba248a71 100644 --- a/bundles/mini/ING9187xx/apis.json +++ b/bundles/mini/ING9187xx/apis.json @@ -174,159 +174,161 @@ "nibble_for_char": "0x0001d2dd", "platform_calibrate_rt_clk": "0x0001d37d", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001d381", - "platform_delete_timer": "0x0001d4a5", - "platform_enable_irq": "0x0001d4ad", - "platform_get_current_task": "0x0001d4e5", - "platform_get_gen_os_driver": "0x0001d509", - "platform_get_heap_status": "0x0001d511", - "platform_get_link_layer_interf": "0x0001d529", - "platform_get_task_handle": "0x0001d531", - "platform_get_timer_counter": "0x0001d551", - "platform_get_us_time": "0x0001d555", - "platform_get_version": "0x0001d559", - "platform_hrng": "0x0001d561", - "platform_install_isr_stack": "0x0001d569", - "platform_install_task_stack": "0x0001d575", - "platform_patch_rf_init_data": "0x0001d5ad", - "platform_printf": "0x0001d5b9", - "platform_raise_assertion": "0x0001d5cd", - "platform_rand": "0x0001d5e1", - "platform_read_info": "0x0001d5e5", - "platform_read_persistent_reg": "0x0001d615", - "platform_reset": "0x0001d625", - "platform_rt_rc_auto_tune": "0x0001d649", - "platform_rt_rc_auto_tune2": "0x0001d651", - "platform_rt_rc_tune": "0x0001d6d9", - "platform_set_abs_timer": "0x0001d6ed", - "platform_set_evt_callback": "0x0001d6f1", - "platform_set_evt_callback_table": "0x0001d705", - "platform_set_irq_callback": "0x0001d711", - "platform_set_irq_callback_table": "0x0001d72d", - "platform_set_rf_clk_source": "0x0001d739", - "platform_set_rf_init_data": "0x0001d745", - "platform_set_rf_power_mapping": "0x0001d751", - "platform_set_timer": "0x0001d75d", - "platform_shutdown": "0x0001d761", - "platform_switch_app": "0x0001d765", - "platform_trace_raw": "0x0001d791", - "platform_write_persistent_reg": "0x0001d7a9", - "printf_hexdump": "0x0001d95d", - "pvPortMalloc": "0x0001e449", - "pvTaskIncrementMutexHeldCount": "0x0001e531", - "pvTimerGetTimerID": "0x0001e549", - "pxPortInitialiseStack": "0x0001e575", - "reverse_128": "0x0001e71d", - "reverse_24": "0x0001e723", - "reverse_256": "0x0001e729", - "reverse_48": "0x0001e72f", - "reverse_56": "0x0001e735", - "reverse_64": "0x0001e73b", - "reverse_bd_addr": "0x0001e741", - "reverse_bytes": "0x0001e747", - "sm_add_event_handler": "0x0001e8e5", - "sm_address_resolution_lookup": "0x0001ea3d", - "sm_authenticated": "0x0001ede5", - "sm_authorization_decline": "0x0001edf3", - "sm_authorization_grant": "0x0001ee13", - "sm_authorization_state": "0x0001ee33", - "sm_bonding_decline": "0x0001ee4d", - "sm_config": "0x0001f2a9", - "sm_config_conn": "0x0001f2dd", - "sm_encryption_key_size": "0x0001f497", - "sm_just_works_confirm": "0x0001fa1d", - "sm_le_device_key": "0x0001fd5d", - "sm_passkey_input": "0x0001fdf3", - "sm_private_random_address_generation_get": "0x000201ad", - "sm_private_random_address_generation_get_mode": "0x000201b5", - "sm_private_random_address_generation_set_mode": "0x000201c1", - "sm_private_random_address_generation_set_update_period": "0x000201e9", - "sm_register_external_ltk_callback": "0x00020325", - "sm_register_oob_data_callback": "0x00020331", - "sm_request_pairing": "0x0002033d", - "sm_send_security_request": "0x00020e1b", - "sm_set_accepted_stk_generation_methods": "0x00020e41", - "sm_set_authentication_requirements": "0x00020e4d", - "sm_set_encryption_key_size_range": "0x00020e5d", - "sscanf_bd_addr": "0x000211a9", - "sysSetPublicDeviceAddr": "0x0002155d", - "uuid128_to_str": "0x00021b71", - "uuid_add_bluetooth_prefix": "0x00021bc9", - "uuid_has_bluetooth_prefix": "0x00021be9", - "uxListRemove": "0x00021c05", - "uxQueueMessagesWaiting": "0x00021c2d", - "uxQueueMessagesWaitingFromISR": "0x00021c55", - "uxQueueSpacesAvailable": "0x00021c71", - "uxTaskGetStackHighWaterMark": "0x00021c9d", - "uxTaskPriorityGet": "0x00021cbd", - "uxTaskPriorityGetFromISR": "0x00021cd9", - "vListInitialise": "0x00021d93", - "vListInitialiseItem": "0x00021da9", - "vListInsert": "0x00021daf", - "vListInsertEnd": "0x00021ddf", - "vPortEndScheduler": "0x00021df9", - "vPortEnterCritical": "0x00021e25", - "vPortExitCritical": "0x00021e69", - "vPortFree": "0x00021e9d", - "vPortSuppressTicksAndSleep": "0x00021f31", - "vPortValidateInterruptPriority": "0x00022059", - "vQueueDelete": "0x000220b5", - "vQueueWaitForMessageRestricted": "0x000220e1", - "vTaskDelay": "0x00022129", - "vTaskInternalSetTimeOutState": "0x00022175", - "vTaskMissedYield": "0x00022185", - "vTaskPlaceOnEventList": "0x00022191", - "vTaskPlaceOnEventListRestricted": "0x000221c9", - "vTaskPriorityDisinheritAfterTimeout": "0x00022209", - "vTaskPrioritySet": "0x000222b5", - "vTaskResume": "0x0002237d", - "vTaskStartScheduler": "0x00022401", - "vTaskStepTick": "0x00022491", - "vTaskSuspend": "0x000224c1", - "vTaskSuspendAll": "0x0002257d", - "vTaskSwitchContext": "0x0002258d", - "xPortStartScheduler": "0x0002263d", - "xQueueAddToSet": "0x00022705", - "xQueueCreateCountingSemaphore": "0x00022729", - "xQueueCreateCountingSemaphoreStatic": "0x00022765", - "xQueueCreateMutex": "0x000227a9", - "xQueueCreateMutexStatic": "0x000227bf", - "xQueueCreateSet": "0x000227d9", - "xQueueGenericCreate": "0x000227e1", - "xQueueGenericCreateStatic": "0x0002282d", - "xQueueGenericReset": "0x00022895", - "xQueueGenericSend": "0x00022921", - "xQueueGenericSendFromISR": "0x00022a8d", - "xQueueGiveFromISR": "0x00022b4d", - "xQueueGiveMutexRecursive": "0x00022bf1", - "xQueueIsQueueEmptyFromISR": "0x00022c31", - "xQueueIsQueueFullFromISR": "0x00022c55", - "xQueuePeek": "0x00022c7d", - "xQueuePeekFromISR": "0x00022da5", - "xQueueReceive": "0x00022e11", - "xQueueReceiveFromISR": "0x00022f3d", - "xQueueRemoveFromSet": "0x00022fd1", - "xQueueSelectFromSet": "0x00022ff3", - "xQueueSelectFromSetFromISR": "0x00023005", - "xQueueSemaphoreTake": "0x00023019", - "xQueueTakeMutexRecursive": "0x00023185", - "xTaskCheckForTimeOut": "0x000231c9", - "xTaskCreate": "0x00023239", - "xTaskCreateStatic": "0x00023295", - "xTaskGetCurrentTaskHandle": "0x00023305", - "xTaskGetSchedulerState": "0x00023311", - "xTaskGetTickCount": "0x0002332d", - "xTaskGetTickCountFromISR": "0x00023339", - "xTaskIncrementTick": "0x00023349", - "xTaskPriorityDisinherit": "0x00023415", - "xTaskPriorityInherit": "0x000234a9", - "xTaskRemoveFromEventList": "0x0002353d", - "xTaskResumeAll": "0x000235bd", - "xTaskResumeFromISR": "0x00023685", - "xTimerCreate": "0x00023711", - "xTimerCreateStatic": "0x00023745", - "xTimerCreateTimerTask": "0x0002377d", - "xTimerGenericCommand": "0x000237e9", - "xTimerGetExpiryTime": "0x00023859", - "xTimerGetTimerDaemonTaskHandle": "0x00023879" + "platform_cancel_us_timer": "0x0001d381", + "platform_config": "0x0001d395", + "platform_create_us_timer": "0x0001d4b9", + "platform_delete_timer": "0x0001d4cd", + "platform_enable_irq": "0x0001d4d5", + "platform_get_current_task": "0x0001d50d", + "platform_get_gen_os_driver": "0x0001d531", + "platform_get_heap_status": "0x0001d539", + "platform_get_link_layer_interf": "0x0001d551", + "platform_get_task_handle": "0x0001d559", + "platform_get_timer_counter": "0x0001d579", + "platform_get_us_time": "0x0001d57d", + "platform_get_version": "0x0001d581", + "platform_hrng": "0x0001d589", + "platform_install_isr_stack": "0x0001d591", + "platform_install_task_stack": "0x0001d59d", + "platform_patch_rf_init_data": "0x0001d5d5", + "platform_printf": "0x0001d5e1", + "platform_raise_assertion": "0x0001d5f5", + "platform_rand": "0x0001d609", + "platform_read_info": "0x0001d60d", + "platform_read_persistent_reg": "0x0001d63d", + "platform_reset": "0x0001d64d", + "platform_rt_rc_auto_tune": "0x0001d671", + "platform_rt_rc_auto_tune2": "0x0001d679", + "platform_rt_rc_tune": "0x0001d701", + "platform_set_abs_timer": "0x0001d715", + "platform_set_evt_callback": "0x0001d719", + "platform_set_evt_callback_table": "0x0001d72d", + "platform_set_irq_callback": "0x0001d739", + "platform_set_irq_callback_table": "0x0001d755", + "platform_set_rf_clk_source": "0x0001d761", + "platform_set_rf_init_data": "0x0001d76d", + "platform_set_rf_power_mapping": "0x0001d779", + "platform_set_timer": "0x0001d785", + "platform_shutdown": "0x0001d789", + "platform_switch_app": "0x0001d78d", + "platform_trace_raw": "0x0001d7b9", + "platform_write_persistent_reg": "0x0001d7d1", + "printf_hexdump": "0x0001d985", + "pvPortMalloc": "0x0001e471", + "pvTaskIncrementMutexHeldCount": "0x0001e559", + "pvTimerGetTimerID": "0x0001e571", + "pxPortInitialiseStack": "0x0001e59d", + "reverse_128": "0x0001e745", + "reverse_24": "0x0001e74b", + "reverse_256": "0x0001e751", + "reverse_48": "0x0001e757", + "reverse_56": "0x0001e75d", + "reverse_64": "0x0001e763", + "reverse_bd_addr": "0x0001e769", + "reverse_bytes": "0x0001e76f", + "sm_add_event_handler": "0x0001e90d", + "sm_address_resolution_lookup": "0x0001ea65", + "sm_authenticated": "0x0001ee0d", + "sm_authorization_decline": "0x0001ee1b", + "sm_authorization_grant": "0x0001ee3b", + "sm_authorization_state": "0x0001ee5b", + "sm_bonding_decline": "0x0001ee75", + "sm_config": "0x0001f2d1", + "sm_config_conn": "0x0001f305", + "sm_encryption_key_size": "0x0001f4bf", + "sm_just_works_confirm": "0x0001fa45", + "sm_le_device_key": "0x0001fd85", + "sm_passkey_input": "0x0001fe1b", + "sm_private_random_address_generation_get": "0x000201d5", + "sm_private_random_address_generation_get_mode": "0x000201dd", + "sm_private_random_address_generation_set_mode": "0x000201e9", + "sm_private_random_address_generation_set_update_period": "0x00020211", + "sm_register_external_ltk_callback": "0x0002034d", + "sm_register_oob_data_callback": "0x00020359", + "sm_request_pairing": "0x00020365", + "sm_send_security_request": "0x00020e43", + "sm_set_accepted_stk_generation_methods": "0x00020e69", + "sm_set_authentication_requirements": "0x00020e75", + "sm_set_encryption_key_size_range": "0x00020e85", + "sscanf_bd_addr": "0x000211d1", + "sysSetPublicDeviceAddr": "0x00021585", + "uuid128_to_str": "0x00021b99", + "uuid_add_bluetooth_prefix": "0x00021bf1", + "uuid_has_bluetooth_prefix": "0x00021c11", + "uxListRemove": "0x00021c2d", + "uxQueueMessagesWaiting": "0x00021c55", + "uxQueueMessagesWaitingFromISR": "0x00021c7d", + "uxQueueSpacesAvailable": "0x00021c99", + "uxTaskGetStackHighWaterMark": "0x00021cc5", + "uxTaskPriorityGet": "0x00021ce5", + "uxTaskPriorityGetFromISR": "0x00021d01", + "vListInitialise": "0x00021dbb", + "vListInitialiseItem": "0x00021dd1", + "vListInsert": "0x00021dd7", + "vListInsertEnd": "0x00021e07", + "vPortEndScheduler": "0x00021e21", + "vPortEnterCritical": "0x00021e4d", + "vPortExitCritical": "0x00021e91", + "vPortFree": "0x00021ec5", + "vPortSuppressTicksAndSleep": "0x00021f59", + "vPortValidateInterruptPriority": "0x00022081", + "vQueueDelete": "0x000220dd", + "vQueueWaitForMessageRestricted": "0x00022109", + "vTaskDelay": "0x00022151", + "vTaskInternalSetTimeOutState": "0x0002219d", + "vTaskMissedYield": "0x000221ad", + "vTaskPlaceOnEventList": "0x000221b9", + "vTaskPlaceOnEventListRestricted": "0x000221f1", + "vTaskPriorityDisinheritAfterTimeout": "0x00022231", + "vTaskPrioritySet": "0x000222dd", + "vTaskResume": "0x000223a5", + "vTaskStartScheduler": "0x00022429", + "vTaskStepTick": "0x000224b9", + "vTaskSuspend": "0x000224e9", + "vTaskSuspendAll": "0x000225a5", + "vTaskSwitchContext": "0x000225b5", + "xPortStartScheduler": "0x00022665", + "xQueueAddToSet": "0x0002272d", + "xQueueCreateCountingSemaphore": "0x00022751", + "xQueueCreateCountingSemaphoreStatic": "0x0002278d", + "xQueueCreateMutex": "0x000227d1", + "xQueueCreateMutexStatic": "0x000227e7", + "xQueueCreateSet": "0x00022801", + "xQueueGenericCreate": "0x00022809", + "xQueueGenericCreateStatic": "0x00022855", + "xQueueGenericReset": "0x000228bd", + "xQueueGenericSend": "0x00022949", + "xQueueGenericSendFromISR": "0x00022ab5", + "xQueueGiveFromISR": "0x00022b75", + "xQueueGiveMutexRecursive": "0x00022c19", + "xQueueIsQueueEmptyFromISR": "0x00022c59", + "xQueueIsQueueFullFromISR": "0x00022c7d", + "xQueuePeek": "0x00022ca5", + "xQueuePeekFromISR": "0x00022dcd", + "xQueueReceive": "0x00022e39", + "xQueueReceiveFromISR": "0x00022f65", + "xQueueRemoveFromSet": "0x00022ff9", + "xQueueSelectFromSet": "0x0002301b", + "xQueueSelectFromSetFromISR": "0x0002302d", + "xQueueSemaphoreTake": "0x00023041", + "xQueueTakeMutexRecursive": "0x000231ad", + "xTaskCheckForTimeOut": "0x000231f1", + "xTaskCreate": "0x00023261", + "xTaskCreateStatic": "0x000232bd", + "xTaskGetCurrentTaskHandle": "0x0002332d", + "xTaskGetSchedulerState": "0x00023339", + "xTaskGetTickCount": "0x00023355", + "xTaskGetTickCountFromISR": "0x00023361", + "xTaskIncrementTick": "0x00023371", + "xTaskPriorityDisinherit": "0x0002343d", + "xTaskPriorityInherit": "0x000234d1", + "xTaskRemoveFromEventList": "0x00023565", + "xTaskResumeAll": "0x000235e5", + "xTaskResumeFromISR": "0x000236ad", + "xTimerCreate": "0x00023739", + "xTimerCreateStatic": "0x0002376d", + "xTimerCreateTimerTask": "0x000237a5", + "xTimerGenericCommand": "0x00023811", + "xTimerGetExpiryTime": "0x00023881", + "xTimerGetTimerDaemonTaskHandle": "0x000238a1" } \ No newline at end of file diff --git a/bundles/mini/ING9187xx/meta.json b/bundles/mini/ING9187xx/meta.json index 116373945..989368683 100644 --- a/bundles/mini/ING9187xx/meta.json +++ b/bundles/mini/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 135408 + "size": 135460 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/mini/ING9187xx/platform.bin b/bundles/mini/ING9187xx/platform.bin index 12c8ae536..e510be2ef 100644 Binary files a/bundles/mini/ING9187xx/platform.bin and b/bundles/mini/ING9187xx/platform.bin differ diff --git a/bundles/mini/ING9188xx/apis.json b/bundles/mini/ING9188xx/apis.json index 52374f0e5..01ca77026 100644 --- a/bundles/mini/ING9188xx/apis.json +++ b/bundles/mini/ING9188xx/apis.json @@ -188,159 +188,161 @@ "nibble_for_char": "0x0001e589", "platform_calibrate_rt_clk": "0x0001e629", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001e62d", - "platform_delete_timer": "0x0001e751", - "platform_enable_irq": "0x0001e759", - "platform_get_current_task": "0x0001e791", - "platform_get_gen_os_driver": "0x0001e7b5", - "platform_get_heap_status": "0x0001e7bd", - "platform_get_link_layer_interf": "0x0001e7d5", - "platform_get_task_handle": "0x0001e7dd", - "platform_get_timer_counter": "0x0001e7fd", - "platform_get_us_time": "0x0001e801", - "platform_get_version": "0x0001e805", - "platform_hrng": "0x0001e80d", - "platform_install_isr_stack": "0x0001e815", - "platform_install_task_stack": "0x0001e821", - "platform_patch_rf_init_data": "0x0001e859", - "platform_printf": "0x0001e865", - "platform_raise_assertion": "0x0001e879", - "platform_rand": "0x0001e88d", - "platform_read_info": "0x0001e891", - "platform_read_persistent_reg": "0x0001e8c1", - "platform_reset": "0x0001e8d1", - "platform_rt_rc_auto_tune": "0x0001e8f5", - "platform_rt_rc_auto_tune2": "0x0001e8fd", - "platform_rt_rc_tune": "0x0001e985", - "platform_set_abs_timer": "0x0001e999", - "platform_set_evt_callback": "0x0001e99d", - "platform_set_evt_callback_table": "0x0001e9b1", - "platform_set_irq_callback": "0x0001e9bd", - "platform_set_irq_callback_table": "0x0001e9d9", - "platform_set_rf_clk_source": "0x0001e9e5", - "platform_set_rf_init_data": "0x0001e9f1", - "platform_set_rf_power_mapping": "0x0001e9fd", - "platform_set_timer": "0x0001ea09", - "platform_shutdown": "0x0001ea0d", - "platform_switch_app": "0x0001ea11", - "platform_trace_raw": "0x0001ea3d", - "platform_write_persistent_reg": "0x0001ea55", - "printf_hexdump": "0x0001ec09", - "pvPortMalloc": "0x0001f6f5", - "pvTaskIncrementMutexHeldCount": "0x0001f7dd", - "pvTimerGetTimerID": "0x0001f7f5", - "pxPortInitialiseStack": "0x0001f821", - "reverse_128": "0x0001fa01", - "reverse_24": "0x0001fa07", - "reverse_256": "0x0001fa0d", - "reverse_48": "0x0001fa13", - "reverse_56": "0x0001fa19", - "reverse_64": "0x0001fa1f", - "reverse_bd_addr": "0x0001fa25", - "reverse_bytes": "0x0001fa2b", - "sm_add_event_handler": "0x0001fd19", - "sm_address_resolution_lookup": "0x0001fe71", - "sm_authenticated": "0x00020219", - "sm_authorization_decline": "0x00020227", - "sm_authorization_grant": "0x00020247", - "sm_authorization_state": "0x00020267", - "sm_bonding_decline": "0x00020281", - "sm_config": "0x000206dd", - "sm_config_conn": "0x00020711", - "sm_encryption_key_size": "0x000208cb", - "sm_just_works_confirm": "0x00020e51", - "sm_le_device_key": "0x00021191", - "sm_passkey_input": "0x00021227", - "sm_private_random_address_generation_get": "0x000215e1", - "sm_private_random_address_generation_get_mode": "0x000215e9", - "sm_private_random_address_generation_set_mode": "0x000215f5", - "sm_private_random_address_generation_set_update_period": "0x0002161d", - "sm_register_external_ltk_callback": "0x00021759", - "sm_register_oob_data_callback": "0x00021765", - "sm_request_pairing": "0x00021771", - "sm_send_security_request": "0x0002224f", - "sm_set_accepted_stk_generation_methods": "0x00022275", - "sm_set_authentication_requirements": "0x00022281", - "sm_set_encryption_key_size_range": "0x00022291", - "sscanf_bd_addr": "0x000225dd", - "sysSetPublicDeviceAddr": "0x00022991", - "uuid128_to_str": "0x0002313d", - "uuid_add_bluetooth_prefix": "0x00023195", - "uuid_has_bluetooth_prefix": "0x000231b5", - "uxListRemove": "0x000231d1", - "uxQueueMessagesWaiting": "0x000231f9", - "uxQueueMessagesWaitingFromISR": "0x00023221", - "uxQueueSpacesAvailable": "0x0002323d", - "uxTaskGetStackHighWaterMark": "0x00023269", - "uxTaskPriorityGet": "0x00023289", - "uxTaskPriorityGetFromISR": "0x000232a5", - "vListInitialise": "0x0002335f", - "vListInitialiseItem": "0x00023375", - "vListInsert": "0x0002337b", - "vListInsertEnd": "0x000233ab", - "vPortEndScheduler": "0x000233c5", - "vPortEnterCritical": "0x000233f1", - "vPortExitCritical": "0x00023435", - "vPortFree": "0x00023469", - "vPortSuppressTicksAndSleep": "0x000234fd", - "vPortValidateInterruptPriority": "0x00023625", - "vQueueDelete": "0x00023681", - "vQueueWaitForMessageRestricted": "0x000236ad", - "vTaskDelay": "0x000236f5", - "vTaskInternalSetTimeOutState": "0x00023741", - "vTaskMissedYield": "0x00023751", - "vTaskPlaceOnEventList": "0x0002375d", - "vTaskPlaceOnEventListRestricted": "0x00023795", - "vTaskPriorityDisinheritAfterTimeout": "0x000237d5", - "vTaskPrioritySet": "0x00023881", - "vTaskResume": "0x00023949", - "vTaskStartScheduler": "0x000239cd", - "vTaskStepTick": "0x00023a5d", - "vTaskSuspend": "0x00023a8d", - "vTaskSuspendAll": "0x00023b49", - "vTaskSwitchContext": "0x00023b59", - "xPortStartScheduler": "0x00023c09", - "xQueueAddToSet": "0x00023cd1", - "xQueueCreateCountingSemaphore": "0x00023cf5", - "xQueueCreateCountingSemaphoreStatic": "0x00023d31", - "xQueueCreateMutex": "0x00023d75", - "xQueueCreateMutexStatic": "0x00023d8b", - "xQueueCreateSet": "0x00023da5", - "xQueueGenericCreate": "0x00023dad", - "xQueueGenericCreateStatic": "0x00023df9", - "xQueueGenericReset": "0x00023e61", - "xQueueGenericSend": "0x00023eed", - "xQueueGenericSendFromISR": "0x00024059", - "xQueueGiveFromISR": "0x00024119", - "xQueueGiveMutexRecursive": "0x000241bd", - "xQueueIsQueueEmptyFromISR": "0x000241fd", - "xQueueIsQueueFullFromISR": "0x00024221", - "xQueuePeek": "0x00024249", - "xQueuePeekFromISR": "0x00024371", - "xQueueReceive": "0x000243dd", - "xQueueReceiveFromISR": "0x00024509", - "xQueueRemoveFromSet": "0x0002459d", - "xQueueSelectFromSet": "0x000245bf", - "xQueueSelectFromSetFromISR": "0x000245d1", - "xQueueSemaphoreTake": "0x000245e5", - "xQueueTakeMutexRecursive": "0x00024751", - "xTaskCheckForTimeOut": "0x00024795", - "xTaskCreate": "0x00024805", - "xTaskCreateStatic": "0x00024861", - "xTaskGetCurrentTaskHandle": "0x000248d1", - "xTaskGetSchedulerState": "0x000248dd", - "xTaskGetTickCount": "0x000248f9", - "xTaskGetTickCountFromISR": "0x00024905", - "xTaskIncrementTick": "0x00024915", - "xTaskPriorityDisinherit": "0x000249e1", - "xTaskPriorityInherit": "0x00024a75", - "xTaskRemoveFromEventList": "0x00024b09", - "xTaskResumeAll": "0x00024b89", - "xTaskResumeFromISR": "0x00024c51", - "xTimerCreate": "0x00024cdd", - "xTimerCreateStatic": "0x00024d11", - "xTimerCreateTimerTask": "0x00024d49", - "xTimerGenericCommand": "0x00024db5", - "xTimerGetExpiryTime": "0x00024e25", - "xTimerGetTimerDaemonTaskHandle": "0x00024e45" + "platform_cancel_us_timer": "0x0001e62d", + "platform_config": "0x0001e641", + "platform_create_us_timer": "0x0001e765", + "platform_delete_timer": "0x0001e779", + "platform_enable_irq": "0x0001e781", + "platform_get_current_task": "0x0001e7b9", + "platform_get_gen_os_driver": "0x0001e7dd", + "platform_get_heap_status": "0x0001e7e5", + "platform_get_link_layer_interf": "0x0001e7fd", + "platform_get_task_handle": "0x0001e805", + "platform_get_timer_counter": "0x0001e825", + "platform_get_us_time": "0x0001e829", + "platform_get_version": "0x0001e82d", + "platform_hrng": "0x0001e835", + "platform_install_isr_stack": "0x0001e83d", + "platform_install_task_stack": "0x0001e849", + "platform_patch_rf_init_data": "0x0001e881", + "platform_printf": "0x0001e88d", + "platform_raise_assertion": "0x0001e8a1", + "platform_rand": "0x0001e8b5", + "platform_read_info": "0x0001e8b9", + "platform_read_persistent_reg": "0x0001e8e9", + "platform_reset": "0x0001e8f9", + "platform_rt_rc_auto_tune": "0x0001e91d", + "platform_rt_rc_auto_tune2": "0x0001e925", + "platform_rt_rc_tune": "0x0001e9ad", + "platform_set_abs_timer": "0x0001e9c1", + "platform_set_evt_callback": "0x0001e9c5", + "platform_set_evt_callback_table": "0x0001e9d9", + "platform_set_irq_callback": "0x0001e9e5", + "platform_set_irq_callback_table": "0x0001ea01", + "platform_set_rf_clk_source": "0x0001ea0d", + "platform_set_rf_init_data": "0x0001ea19", + "platform_set_rf_power_mapping": "0x0001ea25", + "platform_set_timer": "0x0001ea31", + "platform_shutdown": "0x0001ea35", + "platform_switch_app": "0x0001ea39", + "platform_trace_raw": "0x0001ea65", + "platform_write_persistent_reg": "0x0001ea7d", + "printf_hexdump": "0x0001ec31", + "pvPortMalloc": "0x0001f71d", + "pvTaskIncrementMutexHeldCount": "0x0001f805", + "pvTimerGetTimerID": "0x0001f81d", + "pxPortInitialiseStack": "0x0001f849", + "reverse_128": "0x0001fa29", + "reverse_24": "0x0001fa2f", + "reverse_256": "0x0001fa35", + "reverse_48": "0x0001fa3b", + "reverse_56": "0x0001fa41", + "reverse_64": "0x0001fa47", + "reverse_bd_addr": "0x0001fa4d", + "reverse_bytes": "0x0001fa53", + "sm_add_event_handler": "0x0001fd41", + "sm_address_resolution_lookup": "0x0001fe99", + "sm_authenticated": "0x00020241", + "sm_authorization_decline": "0x0002024f", + "sm_authorization_grant": "0x0002026f", + "sm_authorization_state": "0x0002028f", + "sm_bonding_decline": "0x000202a9", + "sm_config": "0x00020705", + "sm_config_conn": "0x00020739", + "sm_encryption_key_size": "0x000208f3", + "sm_just_works_confirm": "0x00020e79", + "sm_le_device_key": "0x000211b9", + "sm_passkey_input": "0x0002124f", + "sm_private_random_address_generation_get": "0x00021609", + "sm_private_random_address_generation_get_mode": "0x00021611", + "sm_private_random_address_generation_set_mode": "0x0002161d", + "sm_private_random_address_generation_set_update_period": "0x00021645", + "sm_register_external_ltk_callback": "0x00021781", + "sm_register_oob_data_callback": "0x0002178d", + "sm_request_pairing": "0x00021799", + "sm_send_security_request": "0x00022277", + "sm_set_accepted_stk_generation_methods": "0x0002229d", + "sm_set_authentication_requirements": "0x000222a9", + "sm_set_encryption_key_size_range": "0x000222b9", + "sscanf_bd_addr": "0x00022605", + "sysSetPublicDeviceAddr": "0x000229b9", + "uuid128_to_str": "0x00023165", + "uuid_add_bluetooth_prefix": "0x000231bd", + "uuid_has_bluetooth_prefix": "0x000231dd", + "uxListRemove": "0x000231f9", + "uxQueueMessagesWaiting": "0x00023221", + "uxQueueMessagesWaitingFromISR": "0x00023249", + "uxQueueSpacesAvailable": "0x00023265", + "uxTaskGetStackHighWaterMark": "0x00023291", + "uxTaskPriorityGet": "0x000232b1", + "uxTaskPriorityGetFromISR": "0x000232cd", + "vListInitialise": "0x00023387", + "vListInitialiseItem": "0x0002339d", + "vListInsert": "0x000233a3", + "vListInsertEnd": "0x000233d3", + "vPortEndScheduler": "0x000233ed", + "vPortEnterCritical": "0x00023419", + "vPortExitCritical": "0x0002345d", + "vPortFree": "0x00023491", + "vPortSuppressTicksAndSleep": "0x00023525", + "vPortValidateInterruptPriority": "0x0002364d", + "vQueueDelete": "0x000236a9", + "vQueueWaitForMessageRestricted": "0x000236d5", + "vTaskDelay": "0x0002371d", + "vTaskInternalSetTimeOutState": "0x00023769", + "vTaskMissedYield": "0x00023779", + "vTaskPlaceOnEventList": "0x00023785", + "vTaskPlaceOnEventListRestricted": "0x000237bd", + "vTaskPriorityDisinheritAfterTimeout": "0x000237fd", + "vTaskPrioritySet": "0x000238a9", + "vTaskResume": "0x00023971", + "vTaskStartScheduler": "0x000239f5", + "vTaskStepTick": "0x00023a85", + "vTaskSuspend": "0x00023ab5", + "vTaskSuspendAll": "0x00023b71", + "vTaskSwitchContext": "0x00023b81", + "xPortStartScheduler": "0x00023c31", + "xQueueAddToSet": "0x00023cf9", + "xQueueCreateCountingSemaphore": "0x00023d1d", + "xQueueCreateCountingSemaphoreStatic": "0x00023d59", + "xQueueCreateMutex": "0x00023d9d", + "xQueueCreateMutexStatic": "0x00023db3", + "xQueueCreateSet": "0x00023dcd", + "xQueueGenericCreate": "0x00023dd5", + "xQueueGenericCreateStatic": "0x00023e21", + "xQueueGenericReset": "0x00023e89", + "xQueueGenericSend": "0x00023f15", + "xQueueGenericSendFromISR": "0x00024081", + "xQueueGiveFromISR": "0x00024141", + "xQueueGiveMutexRecursive": "0x000241e5", + "xQueueIsQueueEmptyFromISR": "0x00024225", + "xQueueIsQueueFullFromISR": "0x00024249", + "xQueuePeek": "0x00024271", + "xQueuePeekFromISR": "0x00024399", + "xQueueReceive": "0x00024405", + "xQueueReceiveFromISR": "0x00024531", + "xQueueRemoveFromSet": "0x000245c5", + "xQueueSelectFromSet": "0x000245e7", + "xQueueSelectFromSetFromISR": "0x000245f9", + "xQueueSemaphoreTake": "0x0002460d", + "xQueueTakeMutexRecursive": "0x00024779", + "xTaskCheckForTimeOut": "0x000247bd", + "xTaskCreate": "0x0002482d", + "xTaskCreateStatic": "0x00024889", + "xTaskGetCurrentTaskHandle": "0x000248f9", + "xTaskGetSchedulerState": "0x00024905", + "xTaskGetTickCount": "0x00024921", + "xTaskGetTickCountFromISR": "0x0002492d", + "xTaskIncrementTick": "0x0002493d", + "xTaskPriorityDisinherit": "0x00024a09", + "xTaskPriorityInherit": "0x00024a9d", + "xTaskRemoveFromEventList": "0x00024b31", + "xTaskResumeAll": "0x00024bb1", + "xTaskResumeFromISR": "0x00024c79", + "xTimerCreate": "0x00024d05", + "xTimerCreateStatic": "0x00024d39", + "xTimerCreateTimerTask": "0x00024d71", + "xTimerGenericCommand": "0x00024ddd", + "xTimerGetExpiryTime": "0x00024e4d", + "xTimerGetTimerDaemonTaskHandle": "0x00024e6d" } \ No newline at end of file diff --git a/bundles/mini/ING9188xx/meta.json b/bundles/mini/ING9188xx/meta.json index 45f2a5926..0c8adec3a 100644 --- a/bundles/mini/ING9188xx/meta.json +++ b/bundles/mini/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 141448 + "size": 141500 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/mini/ING9188xx/platform.bin b/bundles/mini/ING9188xx/platform.bin index 7b5047a25..98488d814 100644 Binary files a/bundles/mini/ING9188xx/platform.bin and b/bundles/mini/ING9188xx/platform.bin differ diff --git a/bundles/mini/inc/platform_api.h b/bundles/mini/inc/platform_api.h index b16a6c17c..27b03f259 100644 --- a/bundles/mini/inc/platform_api.h +++ b/bundles/mini/inc/platform_api.h @@ -464,8 +464,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -783,6 +788,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/noos_exp/ING9168xx/apis.json b/bundles/noos_exp/ING9168xx/apis.json index 0e34b92b8..b77394701 100644 --- a/bundles/noos_exp/ING9168xx/apis.json +++ b/bundles/noos_exp/ING9168xx/apis.json @@ -237,84 +237,86 @@ "nibble_for_char": "0x02023219", "platform_calibrate_rt_clk": "0x020232b1", "platform_call_on_stack": "0x0200303f", - "platform_config": "0x020232b5", - "platform_controller_run": "0x020233dd", - "platform_delete_timer": "0x02023411", - "platform_enable_irq": "0x02023419", - "platform_get_gen_os_driver": "0x0202344d", - "platform_get_link_layer_interf": "0x02023459", - "platform_get_task_handle": "0x02023461", - "platform_get_timer_counter": "0x02023479", - "platform_get_us_time": "0x0202347d", - "platform_get_version": "0x02023481", - "platform_hrng": "0x0202349d", - "platform_init_controller": "0x020234a5", - "platform_os_idle_resumed_hook": "0x020234c1", - "platform_patch_rf_init_data": "0x020234c5", - "platform_post_sleep_processing": "0x020234d1", - "platform_pre_sleep_processing": "0x020234d7", - "platform_pre_suppress_ticks_and_sleep_processing": "0x020234dd", - "platform_printf": "0x020234e1", - "platform_raise_assertion": "0x020234f5", - "platform_rand": "0x02023509", - "platform_read_info": "0x0202350d", - "platform_read_persistent_reg": "0x0202353d", - "platform_reset": "0x02023549", - "platform_rt_rc_auto_tune": "0x0202355d", - "platform_rt_rc_auto_tune2": "0x02023565", - "platform_rt_rc_tune": "0x020235cd", - "platform_set_abs_timer": "0x020235e9", - "platform_set_evt_callback": "0x020235ed", - "platform_set_evt_callback_table": "0x02023601", - "platform_set_irq_callback": "0x0202360d", - "platform_set_irq_callback_table": "0x02023629", - "platform_set_rf_clk_source": "0x02023635", - "platform_set_rf_init_data": "0x02023641", - "platform_set_rf_power_mapping": "0x0202364d", - "platform_set_timer": "0x02023659", - "platform_shutdown": "0x0202365d", - "platform_switch_app": "0x02023661", - "platform_trace_raw": "0x02023679", - "platform_write_persistent_reg": "0x02023691", - "printf_hexdump": "0x020236a5", - "reverse_128": "0x02023a1d", - "reverse_24": "0x02023a23", - "reverse_256": "0x02023a29", - "reverse_48": "0x02023a2f", - "reverse_56": "0x02023a35", - "reverse_64": "0x02023a3b", - "reverse_bd_addr": "0x02023a41", - "reverse_bytes": "0x02023a47", - "sm_add_event_handler": "0x02023dc5", - "sm_address_resolution_lookup": "0x02023f09", - "sm_authenticated": "0x02024361", - "sm_authorization_decline": "0x0202436f", - "sm_authorization_grant": "0x0202438f", - "sm_authorization_state": "0x020243af", - "sm_bonding_decline": "0x020243c9", - "sm_config": "0x02024845", - "sm_config_conn": "0x02024879", - "sm_encryption_key_size": "0x02024a33", - "sm_just_works_confirm": "0x0202577d", - "sm_le_device_key": "0x02025b6d", - "sm_numeric_comparison_confirm": "0x02025cc3", - "sm_passkey_input": "0x02025d01", - "sm_private_random_address_generation_get": "0x02026309", - "sm_private_random_address_generation_get_mode": "0x02026311", - "sm_private_random_address_generation_set_mode": "0x0202631d", - "sm_private_random_address_generation_set_update_period": "0x02026345", - "sm_register_external_ltk_callback": "0x020265d1", - "sm_register_oob_data_callback": "0x020265dd", - "sm_register_sc_oob_data_callback": "0x020265e9", - "sm_request_pairing": "0x020265f5", - "sm_sc_generate_oob_data": "0x02027235", - "sm_send_security_request": "0x02027365", - "sm_set_accepted_stk_generation_methods": "0x0202738d", - "sm_set_authentication_requirements": "0x02027399", - "sm_set_encryption_key_size_range": "0x020273a9", - "sscanf_bd_addr": "0x020277bd", - "sysSetPublicDeviceAddr": "0x02027ce5", - "uuid128_to_str": "0x02028565", - "uuid_add_bluetooth_prefix": "0x020285bd", - "uuid_has_bluetooth_prefix": "0x020285dd" + "platform_cancel_us_timer": "0x020232b5", + "platform_config": "0x020232c9", + "platform_controller_run": "0x020233fd", + "platform_create_us_timer": "0x02023431", + "platform_delete_timer": "0x02023445", + "platform_enable_irq": "0x0202344d", + "platform_get_gen_os_driver": "0x02023481", + "platform_get_link_layer_interf": "0x0202348d", + "platform_get_task_handle": "0x02023495", + "platform_get_timer_counter": "0x020234ad", + "platform_get_us_time": "0x020234b1", + "platform_get_version": "0x020234b5", + "platform_hrng": "0x020234d1", + "platform_init_controller": "0x020234d9", + "platform_os_idle_resumed_hook": "0x020234f5", + "platform_patch_rf_init_data": "0x020234f9", + "platform_post_sleep_processing": "0x02023505", + "platform_pre_sleep_processing": "0x0202350b", + "platform_pre_suppress_ticks_and_sleep_processing": "0x02023511", + "platform_printf": "0x02023515", + "platform_raise_assertion": "0x02023529", + "platform_rand": "0x0202353d", + "platform_read_info": "0x02023541", + "platform_read_persistent_reg": "0x02023571", + "platform_reset": "0x0202357d", + "platform_rt_rc_auto_tune": "0x02023591", + "platform_rt_rc_auto_tune2": "0x02023599", + "platform_rt_rc_tune": "0x02023601", + "platform_set_abs_timer": "0x0202361d", + "platform_set_evt_callback": "0x02023621", + "platform_set_evt_callback_table": "0x02023635", + "platform_set_irq_callback": "0x02023641", + "platform_set_irq_callback_table": "0x0202365d", + "platform_set_rf_clk_source": "0x02023669", + "platform_set_rf_init_data": "0x02023675", + "platform_set_rf_power_mapping": "0x02023681", + "platform_set_timer": "0x0202368d", + "platform_shutdown": "0x02023691", + "platform_switch_app": "0x02023695", + "platform_trace_raw": "0x020236ad", + "platform_write_persistent_reg": "0x020236c5", + "printf_hexdump": "0x020236d9", + "reverse_128": "0x02023a51", + "reverse_24": "0x02023a57", + "reverse_256": "0x02023a5d", + "reverse_48": "0x02023a63", + "reverse_56": "0x02023a69", + "reverse_64": "0x02023a6f", + "reverse_bd_addr": "0x02023a75", + "reverse_bytes": "0x02023a7b", + "sm_add_event_handler": "0x02023df9", + "sm_address_resolution_lookup": "0x02023f3d", + "sm_authenticated": "0x02024395", + "sm_authorization_decline": "0x020243a3", + "sm_authorization_grant": "0x020243c3", + "sm_authorization_state": "0x020243e3", + "sm_bonding_decline": "0x020243fd", + "sm_config": "0x02024879", + "sm_config_conn": "0x020248ad", + "sm_encryption_key_size": "0x02024a67", + "sm_just_works_confirm": "0x020257b1", + "sm_le_device_key": "0x02025ba1", + "sm_numeric_comparison_confirm": "0x02025cf7", + "sm_passkey_input": "0x02025d35", + "sm_private_random_address_generation_get": "0x0202633d", + "sm_private_random_address_generation_get_mode": "0x02026345", + "sm_private_random_address_generation_set_mode": "0x02026351", + "sm_private_random_address_generation_set_update_period": "0x02026379", + "sm_register_external_ltk_callback": "0x02026605", + "sm_register_oob_data_callback": "0x02026611", + "sm_register_sc_oob_data_callback": "0x0202661d", + "sm_request_pairing": "0x02026629", + "sm_sc_generate_oob_data": "0x02027269", + "sm_send_security_request": "0x02027399", + "sm_set_accepted_stk_generation_methods": "0x020273c1", + "sm_set_authentication_requirements": "0x020273cd", + "sm_set_encryption_key_size_range": "0x020273dd", + "sscanf_bd_addr": "0x020277f1", + "sysSetPublicDeviceAddr": "0x02027d2d", + "uuid128_to_str": "0x020285ad", + "uuid_add_bluetooth_prefix": "0x02028605", + "uuid_has_bluetooth_prefix": "0x02028625" } \ No newline at end of file diff --git a/bundles/noos_exp/ING9168xx/meta.json b/bundles/noos_exp/ING9168xx/meta.json index 5ef121b45..f4f5254d9 100644 --- a/bundles/noos_exp/ING9168xx/meta.json +++ b/bundles/noos_exp/ING9168xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 33562624, - "size": 166964 + "size": 167048 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/noos_exp/ING9168xx/platform.bin b/bundles/noos_exp/ING9168xx/platform.bin index 169bbc545..bb37311dd 100644 Binary files a/bundles/noos_exp/ING9168xx/platform.bin and b/bundles/noos_exp/ING9168xx/platform.bin differ diff --git a/bundles/noos_exp/ING9187xx/apis.json b/bundles/noos_exp/ING9187xx/apis.json index d5c42cc3a..43dbd2b40 100644 --- a/bundles/noos_exp/ING9187xx/apis.json +++ b/bundles/noos_exp/ING9187xx/apis.json @@ -208,84 +208,86 @@ "nibble_for_char": "0x0001fd5d", "platform_calibrate_rt_clk": "0x0001fdf9", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001fdfd", - "platform_controller_run": "0x0001ff21", - "platform_delete_timer": "0x0001ff55", - "platform_enable_irq": "0x0001ff5d", - "platform_get_gen_os_driver": "0x0001ff95", - "platform_get_link_layer_interf": "0x0001ffa1", - "platform_get_task_handle": "0x0001ffa9", - "platform_get_timer_counter": "0x0001ffc1", - "platform_get_us_time": "0x0001ffc5", - "platform_get_version": "0x0001ffc9", - "platform_hrng": "0x0001ffd1", - "platform_init_controller": "0x0001ffd9", - "platform_os_idle_resumed_hook": "0x0001fff5", - "platform_patch_rf_init_data": "0x0001fff9", - "platform_post_sleep_processing": "0x00020005", - "platform_pre_sleep_processing": "0x0002000b", - "platform_pre_suppress_ticks_and_sleep_processing": "0x00020011", - "platform_printf": "0x00020015", - "platform_raise_assertion": "0x00020029", - "platform_rand": "0x0002003d", - "platform_read_info": "0x00020041", - "platform_read_persistent_reg": "0x00020071", - "platform_reset": "0x00020081", - "platform_rt_rc_auto_tune": "0x000200a5", - "platform_rt_rc_auto_tune2": "0x000200ad", - "platform_rt_rc_tune": "0x00020135", - "platform_set_abs_timer": "0x00020149", - "platform_set_evt_callback": "0x0002014d", - "platform_set_evt_callback_table": "0x00020161", - "platform_set_irq_callback": "0x0002016d", - "platform_set_irq_callback_table": "0x00020189", - "platform_set_rf_clk_source": "0x00020195", - "platform_set_rf_init_data": "0x000201a1", - "platform_set_rf_power_mapping": "0x000201ad", - "platform_set_timer": "0x000201b9", - "platform_shutdown": "0x000201bd", - "platform_switch_app": "0x000201c1", - "platform_trace_raw": "0x000201ed", - "platform_write_persistent_reg": "0x00020205", - "printf_hexdump": "0x00020215", - "reverse_128": "0x00020555", - "reverse_24": "0x0002055b", - "reverse_256": "0x00020561", - "reverse_48": "0x00020567", - "reverse_56": "0x0002056d", - "reverse_64": "0x00020573", - "reverse_bd_addr": "0x00020579", - "reverse_bytes": "0x0002057f", - "sm_add_event_handler": "0x0002076d", - "sm_address_resolution_lookup": "0x000208b1", - "sm_authenticated": "0x00020d09", - "sm_authorization_decline": "0x00020d17", - "sm_authorization_grant": "0x00020d37", - "sm_authorization_state": "0x00020d57", - "sm_bonding_decline": "0x00020d71", - "sm_config": "0x000211f1", - "sm_config_conn": "0x00021225", - "sm_encryption_key_size": "0x000213df", - "sm_just_works_confirm": "0x00022125", - "sm_le_device_key": "0x00022515", - "sm_numeric_comparison_confirm": "0x0002266b", - "sm_passkey_input": "0x000226a9", - "sm_private_random_address_generation_get": "0x00022cb1", - "sm_private_random_address_generation_get_mode": "0x00022cb9", - "sm_private_random_address_generation_set_mode": "0x00022cc5", - "sm_private_random_address_generation_set_update_period": "0x00022ced", - "sm_register_external_ltk_callback": "0x00022f79", - "sm_register_oob_data_callback": "0x00022f85", - "sm_register_sc_oob_data_callback": "0x00022f91", - "sm_request_pairing": "0x00022f9d", - "sm_sc_generate_oob_data": "0x00023bd9", - "sm_send_security_request": "0x00023d09", - "sm_set_accepted_stk_generation_methods": "0x00023d31", - "sm_set_authentication_requirements": "0x00023d3d", - "sm_set_encryption_key_size_range": "0x00023d4d", - "sscanf_bd_addr": "0x00024159", - "sysSetPublicDeviceAddr": "0x0002450d", - "uuid128_to_str": "0x00024b49", - "uuid_add_bluetooth_prefix": "0x00024ba1", - "uuid_has_bluetooth_prefix": "0x00024bc1" + "platform_cancel_us_timer": "0x0001fdfd", + "platform_config": "0x0001fe11", + "platform_controller_run": "0x0001ff35", + "platform_create_us_timer": "0x0001ff69", + "platform_delete_timer": "0x0001ff7d", + "platform_enable_irq": "0x0001ff85", + "platform_get_gen_os_driver": "0x0001ffbd", + "platform_get_link_layer_interf": "0x0001ffc9", + "platform_get_task_handle": "0x0001ffd1", + "platform_get_timer_counter": "0x0001ffe9", + "platform_get_us_time": "0x0001ffed", + "platform_get_version": "0x0001fff1", + "platform_hrng": "0x0001fff9", + "platform_init_controller": "0x00020001", + "platform_os_idle_resumed_hook": "0x0002001d", + "platform_patch_rf_init_data": "0x00020021", + "platform_post_sleep_processing": "0x0002002d", + "platform_pre_sleep_processing": "0x00020033", + "platform_pre_suppress_ticks_and_sleep_processing": "0x00020039", + "platform_printf": "0x0002003d", + "platform_raise_assertion": "0x00020051", + "platform_rand": "0x00020065", + "platform_read_info": "0x00020069", + "platform_read_persistent_reg": "0x00020099", + "platform_reset": "0x000200a9", + "platform_rt_rc_auto_tune": "0x000200cd", + "platform_rt_rc_auto_tune2": "0x000200d5", + "platform_rt_rc_tune": "0x0002015d", + "platform_set_abs_timer": "0x00020171", + "platform_set_evt_callback": "0x00020175", + "platform_set_evt_callback_table": "0x00020189", + "platform_set_irq_callback": "0x00020195", + "platform_set_irq_callback_table": "0x000201b1", + "platform_set_rf_clk_source": "0x000201bd", + "platform_set_rf_init_data": "0x000201c9", + "platform_set_rf_power_mapping": "0x000201d5", + "platform_set_timer": "0x000201e1", + "platform_shutdown": "0x000201e5", + "platform_switch_app": "0x000201e9", + "platform_trace_raw": "0x00020215", + "platform_write_persistent_reg": "0x0002022d", + "printf_hexdump": "0x0002023d", + "reverse_128": "0x0002057d", + "reverse_24": "0x00020583", + "reverse_256": "0x00020589", + "reverse_48": "0x0002058f", + "reverse_56": "0x00020595", + "reverse_64": "0x0002059b", + "reverse_bd_addr": "0x000205a1", + "reverse_bytes": "0x000205a7", + "sm_add_event_handler": "0x00020795", + "sm_address_resolution_lookup": "0x000208d9", + "sm_authenticated": "0x00020d31", + "sm_authorization_decline": "0x00020d3f", + "sm_authorization_grant": "0x00020d5f", + "sm_authorization_state": "0x00020d7f", + "sm_bonding_decline": "0x00020d99", + "sm_config": "0x00021219", + "sm_config_conn": "0x0002124d", + "sm_encryption_key_size": "0x00021407", + "sm_just_works_confirm": "0x0002214d", + "sm_le_device_key": "0x0002253d", + "sm_numeric_comparison_confirm": "0x00022693", + "sm_passkey_input": "0x000226d1", + "sm_private_random_address_generation_get": "0x00022cd9", + "sm_private_random_address_generation_get_mode": "0x00022ce1", + "sm_private_random_address_generation_set_mode": "0x00022ced", + "sm_private_random_address_generation_set_update_period": "0x00022d15", + "sm_register_external_ltk_callback": "0x00022fa1", + "sm_register_oob_data_callback": "0x00022fad", + "sm_register_sc_oob_data_callback": "0x00022fb9", + "sm_request_pairing": "0x00022fc5", + "sm_sc_generate_oob_data": "0x00023c01", + "sm_send_security_request": "0x00023d31", + "sm_set_accepted_stk_generation_methods": "0x00023d59", + "sm_set_authentication_requirements": "0x00023d65", + "sm_set_encryption_key_size_range": "0x00023d75", + "sscanf_bd_addr": "0x00024181", + "sysSetPublicDeviceAddr": "0x00024535", + "uuid128_to_str": "0x00024b71", + "uuid_add_bluetooth_prefix": "0x00024bc9", + "uuid_has_bluetooth_prefix": "0x00024be9" } \ No newline at end of file diff --git a/bundles/noos_exp/ING9187xx/meta.json b/bundles/noos_exp/ING9187xx/meta.json index 16ee122ac..1f094725c 100644 --- a/bundles/noos_exp/ING9187xx/meta.json +++ b/bundles/noos_exp/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 141300 + "size": 141352 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_exp/ING9187xx/platform.bin b/bundles/noos_exp/ING9187xx/platform.bin index 59f486b74..132447399 100644 Binary files a/bundles/noos_exp/ING9187xx/platform.bin and b/bundles/noos_exp/ING9187xx/platform.bin differ diff --git a/bundles/noos_exp/ING9188xx/apis.json b/bundles/noos_exp/ING9188xx/apis.json index e79a8398d..47b0b96d0 100644 --- a/bundles/noos_exp/ING9188xx/apis.json +++ b/bundles/noos_exp/ING9188xx/apis.json @@ -227,84 +227,86 @@ "nibble_for_char": "0x00021379", "platform_calibrate_rt_clk": "0x00021415", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x00021419", - "platform_controller_run": "0x0002153d", - "platform_delete_timer": "0x00021571", - "platform_enable_irq": "0x00021579", - "platform_get_gen_os_driver": "0x000215b1", - "platform_get_link_layer_interf": "0x000215bd", - "platform_get_task_handle": "0x000215c5", - "platform_get_timer_counter": "0x000215dd", - "platform_get_us_time": "0x000215e1", - "platform_get_version": "0x000215e5", - "platform_hrng": "0x000215ed", - "platform_init_controller": "0x000215f5", - "platform_os_idle_resumed_hook": "0x00021611", - "platform_patch_rf_init_data": "0x00021615", - "platform_post_sleep_processing": "0x00021621", - "platform_pre_sleep_processing": "0x00021627", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0002162d", - "platform_printf": "0x00021631", - "platform_raise_assertion": "0x00021645", - "platform_rand": "0x00021659", - "platform_read_info": "0x0002165d", - "platform_read_persistent_reg": "0x0002168d", - "platform_reset": "0x0002169d", - "platform_rt_rc_auto_tune": "0x000216c1", - "platform_rt_rc_auto_tune2": "0x000216c9", - "platform_rt_rc_tune": "0x00021751", - "platform_set_abs_timer": "0x00021765", - "platform_set_evt_callback": "0x00021769", - "platform_set_evt_callback_table": "0x0002177d", - "platform_set_irq_callback": "0x00021789", - "platform_set_irq_callback_table": "0x000217a5", - "platform_set_rf_clk_source": "0x000217b1", - "platform_set_rf_init_data": "0x000217bd", - "platform_set_rf_power_mapping": "0x000217c9", - "platform_set_timer": "0x000217d5", - "platform_shutdown": "0x000217d9", - "platform_switch_app": "0x000217dd", - "platform_trace_raw": "0x00021809", - "platform_write_persistent_reg": "0x00021821", - "printf_hexdump": "0x00021831", - "reverse_128": "0x00021ba9", - "reverse_24": "0x00021baf", - "reverse_256": "0x00021bb5", - "reverse_48": "0x00021bbb", - "reverse_56": "0x00021bc1", - "reverse_64": "0x00021bc7", - "reverse_bd_addr": "0x00021bcd", - "reverse_bytes": "0x00021bd3", - "sm_add_event_handler": "0x00021f11", - "sm_address_resolution_lookup": "0x00022055", - "sm_authenticated": "0x000224ad", - "sm_authorization_decline": "0x000224bb", - "sm_authorization_grant": "0x000224db", - "sm_authorization_state": "0x000224fb", - "sm_bonding_decline": "0x00022515", - "sm_config": "0x00022995", - "sm_config_conn": "0x000229c9", - "sm_encryption_key_size": "0x00022b83", - "sm_just_works_confirm": "0x000238c9", - "sm_le_device_key": "0x00023cb9", - "sm_numeric_comparison_confirm": "0x00023e0f", - "sm_passkey_input": "0x00023e4d", - "sm_private_random_address_generation_get": "0x00024455", - "sm_private_random_address_generation_get_mode": "0x0002445d", - "sm_private_random_address_generation_set_mode": "0x00024469", - "sm_private_random_address_generation_set_update_period": "0x00024491", - "sm_register_external_ltk_callback": "0x0002471d", - "sm_register_oob_data_callback": "0x00024729", - "sm_register_sc_oob_data_callback": "0x00024735", - "sm_request_pairing": "0x00024741", - "sm_sc_generate_oob_data": "0x0002537d", - "sm_send_security_request": "0x000254ad", - "sm_set_accepted_stk_generation_methods": "0x000254d5", - "sm_set_authentication_requirements": "0x000254e1", - "sm_set_encryption_key_size_range": "0x000254f1", - "sscanf_bd_addr": "0x000258fd", - "sysSetPublicDeviceAddr": "0x00025cb1", - "uuid128_to_str": "0x00026485", - "uuid_add_bluetooth_prefix": "0x000264dd", - "uuid_has_bluetooth_prefix": "0x000264fd" + "platform_cancel_us_timer": "0x00021419", + "platform_config": "0x0002142d", + "platform_controller_run": "0x00021551", + "platform_create_us_timer": "0x00021585", + "platform_delete_timer": "0x00021599", + "platform_enable_irq": "0x000215a1", + "platform_get_gen_os_driver": "0x000215d9", + "platform_get_link_layer_interf": "0x000215e5", + "platform_get_task_handle": "0x000215ed", + "platform_get_timer_counter": "0x00021605", + "platform_get_us_time": "0x00021609", + "platform_get_version": "0x0002160d", + "platform_hrng": "0x00021615", + "platform_init_controller": "0x0002161d", + "platform_os_idle_resumed_hook": "0x00021639", + "platform_patch_rf_init_data": "0x0002163d", + "platform_post_sleep_processing": "0x00021649", + "platform_pre_sleep_processing": "0x0002164f", + "platform_pre_suppress_ticks_and_sleep_processing": "0x00021655", + "platform_printf": "0x00021659", + "platform_raise_assertion": "0x0002166d", + "platform_rand": "0x00021681", + "platform_read_info": "0x00021685", + "platform_read_persistent_reg": "0x000216b5", + "platform_reset": "0x000216c5", + "platform_rt_rc_auto_tune": "0x000216e9", + "platform_rt_rc_auto_tune2": "0x000216f1", + "platform_rt_rc_tune": "0x00021779", + "platform_set_abs_timer": "0x0002178d", + "platform_set_evt_callback": "0x00021791", + "platform_set_evt_callback_table": "0x000217a5", + "platform_set_irq_callback": "0x000217b1", + "platform_set_irq_callback_table": "0x000217cd", + "platform_set_rf_clk_source": "0x000217d9", + "platform_set_rf_init_data": "0x000217e5", + "platform_set_rf_power_mapping": "0x000217f1", + "platform_set_timer": "0x000217fd", + "platform_shutdown": "0x00021801", + "platform_switch_app": "0x00021805", + "platform_trace_raw": "0x00021831", + "platform_write_persistent_reg": "0x00021849", + "printf_hexdump": "0x00021859", + "reverse_128": "0x00021bd1", + "reverse_24": "0x00021bd7", + "reverse_256": "0x00021bdd", + "reverse_48": "0x00021be3", + "reverse_56": "0x00021be9", + "reverse_64": "0x00021bef", + "reverse_bd_addr": "0x00021bf5", + "reverse_bytes": "0x00021bfb", + "sm_add_event_handler": "0x00021f39", + "sm_address_resolution_lookup": "0x0002207d", + "sm_authenticated": "0x000224d5", + "sm_authorization_decline": "0x000224e3", + "sm_authorization_grant": "0x00022503", + "sm_authorization_state": "0x00022523", + "sm_bonding_decline": "0x0002253d", + "sm_config": "0x000229bd", + "sm_config_conn": "0x000229f1", + "sm_encryption_key_size": "0x00022bab", + "sm_just_works_confirm": "0x000238f1", + "sm_le_device_key": "0x00023ce1", + "sm_numeric_comparison_confirm": "0x00023e37", + "sm_passkey_input": "0x00023e75", + "sm_private_random_address_generation_get": "0x0002447d", + "sm_private_random_address_generation_get_mode": "0x00024485", + "sm_private_random_address_generation_set_mode": "0x00024491", + "sm_private_random_address_generation_set_update_period": "0x000244b9", + "sm_register_external_ltk_callback": "0x00024745", + "sm_register_oob_data_callback": "0x00024751", + "sm_register_sc_oob_data_callback": "0x0002475d", + "sm_request_pairing": "0x00024769", + "sm_sc_generate_oob_data": "0x000253a5", + "sm_send_security_request": "0x000254d5", + "sm_set_accepted_stk_generation_methods": "0x000254fd", + "sm_set_authentication_requirements": "0x00025509", + "sm_set_encryption_key_size_range": "0x00025519", + "sscanf_bd_addr": "0x00025925", + "sysSetPublicDeviceAddr": "0x00025cd9", + "uuid128_to_str": "0x000264ad", + "uuid_add_bluetooth_prefix": "0x00026505", + "uuid_has_bluetooth_prefix": "0x00026525" } \ No newline at end of file diff --git a/bundles/noos_exp/ING9188xx/meta.json b/bundles/noos_exp/ING9188xx/meta.json index d2be0db9f..fa6d060f8 100644 --- a/bundles/noos_exp/ING9188xx/meta.json +++ b/bundles/noos_exp/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 148212 + "size": 148264 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_exp/ING9188xx/platform.bin b/bundles/noos_exp/ING9188xx/platform.bin index 51e2c1d01..b0389422f 100644 Binary files a/bundles/noos_exp/ING9188xx/platform.bin and b/bundles/noos_exp/ING9188xx/platform.bin differ diff --git a/bundles/noos_exp/inc/platform_api.h b/bundles/noos_exp/inc/platform_api.h index 6a5e776e5..839670c86 100644 --- a/bundles/noos_exp/inc/platform_api.h +++ b/bundles/noos_exp/inc/platform_api.h @@ -468,8 +468,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -775,6 +780,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/noos_extension/ING9168xx/apis.json b/bundles/noos_extension/ING9168xx/apis.json index 10a041671..6bcf923ba 100644 --- a/bundles/noos_extension/ING9168xx/apis.json +++ b/bundles/noos_extension/ING9168xx/apis.json @@ -220,81 +220,83 @@ "nibble_for_char": "0x02021391", "platform_calibrate_rt_clk": "0x02021429", "platform_call_on_stack": "0x0200303f", - "platform_config": "0x0202142d", - "platform_controller_run": "0x02021555", - "platform_delete_timer": "0x02021589", - "platform_enable_irq": "0x02021591", - "platform_get_gen_os_driver": "0x020215c5", - "platform_get_link_layer_interf": "0x020215d1", - "platform_get_task_handle": "0x020215d9", - "platform_get_timer_counter": "0x020215f1", - "platform_get_us_time": "0x020215f5", - "platform_get_version": "0x020215f9", - "platform_hrng": "0x02021615", - "platform_init_controller": "0x0202161d", - "platform_os_idle_resumed_hook": "0x02021639", - "platform_patch_rf_init_data": "0x0202163d", - "platform_post_sleep_processing": "0x02021649", - "platform_pre_sleep_processing": "0x0202164f", - "platform_pre_suppress_ticks_and_sleep_processing": "0x02021655", - "platform_printf": "0x02021659", - "platform_raise_assertion": "0x0202166d", - "platform_rand": "0x02021681", - "platform_read_info": "0x02021685", - "platform_read_persistent_reg": "0x020216b5", - "platform_reset": "0x020216c1", - "platform_rt_rc_auto_tune": "0x020216d5", - "platform_rt_rc_auto_tune2": "0x020216dd", - "platform_rt_rc_tune": "0x02021745", - "platform_set_abs_timer": "0x02021761", - "platform_set_evt_callback": "0x02021765", - "platform_set_evt_callback_table": "0x02021779", - "platform_set_irq_callback": "0x02021785", - "platform_set_irq_callback_table": "0x020217a1", - "platform_set_rf_clk_source": "0x020217ad", - "platform_set_rf_init_data": "0x020217b9", - "platform_set_rf_power_mapping": "0x020217c5", - "platform_set_timer": "0x020217d1", - "platform_shutdown": "0x020217d5", - "platform_switch_app": "0x020217d9", - "platform_trace_raw": "0x020217f1", - "platform_write_persistent_reg": "0x02021809", - "printf_hexdump": "0x0202181d", - "reverse_128": "0x02021b95", - "reverse_24": "0x02021b9b", - "reverse_256": "0x02021ba1", - "reverse_48": "0x02021ba7", - "reverse_56": "0x02021bad", - "reverse_64": "0x02021bb3", - "reverse_bd_addr": "0x02021bb9", - "reverse_bytes": "0x02021bbf", - "sm_add_event_handler": "0x02021f4d", - "sm_address_resolution_lookup": "0x020220a5", - "sm_authenticated": "0x0202244d", - "sm_authorization_decline": "0x0202245b", - "sm_authorization_grant": "0x0202247b", - "sm_authorization_state": "0x0202249b", - "sm_bonding_decline": "0x020224b5", - "sm_config": "0x02022909", - "sm_config_conn": "0x0202293d", - "sm_encryption_key_size": "0x02022af7", - "sm_just_works_confirm": "0x0202307d", - "sm_le_device_key": "0x020233bd", - "sm_passkey_input": "0x02023453", - "sm_private_random_address_generation_get": "0x0202380d", - "sm_private_random_address_generation_get_mode": "0x02023815", - "sm_private_random_address_generation_set_mode": "0x02023821", - "sm_private_random_address_generation_set_update_period": "0x02023849", - "sm_register_external_ltk_callback": "0x02023985", - "sm_register_oob_data_callback": "0x02023991", - "sm_request_pairing": "0x0202399d", - "sm_send_security_request": "0x0202447b", - "sm_set_accepted_stk_generation_methods": "0x020244a1", - "sm_set_authentication_requirements": "0x020244ad", - "sm_set_encryption_key_size_range": "0x020244bd", - "sscanf_bd_addr": "0x02024885", - "sysSetPublicDeviceAddr": "0x02024dad", - "uuid128_to_str": "0x02025609", - "uuid_add_bluetooth_prefix": "0x02025661", - "uuid_has_bluetooth_prefix": "0x02025681" + "platform_cancel_us_timer": "0x0202142d", + "platform_config": "0x02021441", + "platform_controller_run": "0x02021575", + "platform_create_us_timer": "0x020215a9", + "platform_delete_timer": "0x020215bd", + "platform_enable_irq": "0x020215c5", + "platform_get_gen_os_driver": "0x020215f9", + "platform_get_link_layer_interf": "0x02021605", + "platform_get_task_handle": "0x0202160d", + "platform_get_timer_counter": "0x02021625", + "platform_get_us_time": "0x02021629", + "platform_get_version": "0x0202162d", + "platform_hrng": "0x02021649", + "platform_init_controller": "0x02021651", + "platform_os_idle_resumed_hook": "0x0202166d", + "platform_patch_rf_init_data": "0x02021671", + "platform_post_sleep_processing": "0x0202167d", + "platform_pre_sleep_processing": "0x02021683", + "platform_pre_suppress_ticks_and_sleep_processing": "0x02021689", + "platform_printf": "0x0202168d", + "platform_raise_assertion": "0x020216a1", + "platform_rand": "0x020216b5", + "platform_read_info": "0x020216b9", + "platform_read_persistent_reg": "0x020216e9", + "platform_reset": "0x020216f5", + "platform_rt_rc_auto_tune": "0x02021709", + "platform_rt_rc_auto_tune2": "0x02021711", + "platform_rt_rc_tune": "0x02021779", + "platform_set_abs_timer": "0x02021795", + "platform_set_evt_callback": "0x02021799", + "platform_set_evt_callback_table": "0x020217ad", + "platform_set_irq_callback": "0x020217b9", + "platform_set_irq_callback_table": "0x020217d5", + "platform_set_rf_clk_source": "0x020217e1", + "platform_set_rf_init_data": "0x020217ed", + "platform_set_rf_power_mapping": "0x020217f9", + "platform_set_timer": "0x02021805", + "platform_shutdown": "0x02021809", + "platform_switch_app": "0x0202180d", + "platform_trace_raw": "0x02021825", + "platform_write_persistent_reg": "0x0202183d", + "printf_hexdump": "0x02021851", + "reverse_128": "0x02021bc9", + "reverse_24": "0x02021bcf", + "reverse_256": "0x02021bd5", + "reverse_48": "0x02021bdb", + "reverse_56": "0x02021be1", + "reverse_64": "0x02021be7", + "reverse_bd_addr": "0x02021bed", + "reverse_bytes": "0x02021bf3", + "sm_add_event_handler": "0x02021f81", + "sm_address_resolution_lookup": "0x020220d9", + "sm_authenticated": "0x02022481", + "sm_authorization_decline": "0x0202248f", + "sm_authorization_grant": "0x020224af", + "sm_authorization_state": "0x020224cf", + "sm_bonding_decline": "0x020224e9", + "sm_config": "0x0202293d", + "sm_config_conn": "0x02022971", + "sm_encryption_key_size": "0x02022b2b", + "sm_just_works_confirm": "0x020230b1", + "sm_le_device_key": "0x020233f1", + "sm_passkey_input": "0x02023487", + "sm_private_random_address_generation_get": "0x02023841", + "sm_private_random_address_generation_get_mode": "0x02023849", + "sm_private_random_address_generation_set_mode": "0x02023855", + "sm_private_random_address_generation_set_update_period": "0x0202387d", + "sm_register_external_ltk_callback": "0x020239b9", + "sm_register_oob_data_callback": "0x020239c5", + "sm_request_pairing": "0x020239d1", + "sm_send_security_request": "0x020244af", + "sm_set_accepted_stk_generation_methods": "0x020244d5", + "sm_set_authentication_requirements": "0x020244e1", + "sm_set_encryption_key_size_range": "0x020244f1", + "sscanf_bd_addr": "0x020248b9", + "sysSetPublicDeviceAddr": "0x02024df5", + "uuid128_to_str": "0x02025651", + "uuid_add_bluetooth_prefix": "0x020256a9", + "uuid_has_bluetooth_prefix": "0x020256c9" } \ No newline at end of file diff --git a/bundles/noos_extension/ING9168xx/meta.json b/bundles/noos_extension/ING9168xx/meta.json index 689ba8902..37348bb4b 100644 --- a/bundles/noos_extension/ING9168xx/meta.json +++ b/bundles/noos_extension/ING9168xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 33562624, - "size": 154408 + "size": 154492 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/noos_extension/ING9168xx/platform.bin b/bundles/noos_extension/ING9168xx/platform.bin index 93e77e86c..75123576f 100644 Binary files a/bundles/noos_extension/ING9168xx/platform.bin and b/bundles/noos_extension/ING9168xx/platform.bin differ diff --git a/bundles/noos_extension/ING9187xx/apis.json b/bundles/noos_extension/ING9187xx/apis.json index 377e288e5..22722e832 100644 --- a/bundles/noos_extension/ING9187xx/apis.json +++ b/bundles/noos_extension/ING9187xx/apis.json @@ -193,81 +193,83 @@ "nibble_for_char": "0x0001df6d", "platform_calibrate_rt_clk": "0x0001e007", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001e00d", - "platform_controller_run": "0x0001e131", - "platform_delete_timer": "0x0001e165", - "platform_enable_irq": "0x0001e16d", - "platform_get_gen_os_driver": "0x0001e1a5", - "platform_get_link_layer_interf": "0x0001e1b1", - "platform_get_task_handle": "0x0001e1b9", - "platform_get_timer_counter": "0x0001e1d1", - "platform_get_us_time": "0x0001e1d5", - "platform_get_version": "0x0001e1d9", - "platform_hrng": "0x0001e1e1", - "platform_init_controller": "0x0001e1e9", - "platform_os_idle_resumed_hook": "0x0001e205", - "platform_patch_rf_init_data": "0x0001e209", - "platform_post_sleep_processing": "0x0001e215", - "platform_pre_sleep_processing": "0x0001e21b", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0001e221", - "platform_printf": "0x0001e225", - "platform_raise_assertion": "0x0001e239", - "platform_rand": "0x0001e24d", - "platform_read_info": "0x0001e251", - "platform_read_persistent_reg": "0x0001e281", - "platform_reset": "0x0001e291", - "platform_rt_rc_auto_tune": "0x0001e2b5", - "platform_rt_rc_auto_tune2": "0x0001e2bd", - "platform_rt_rc_tune": "0x0001e345", - "platform_set_abs_timer": "0x0001e359", - "platform_set_evt_callback": "0x0001e35d", - "platform_set_evt_callback_table": "0x0001e371", - "platform_set_irq_callback": "0x0001e37d", - "platform_set_irq_callback_table": "0x0001e399", - "platform_set_rf_clk_source": "0x0001e3a5", - "platform_set_rf_init_data": "0x0001e3b1", - "platform_set_rf_power_mapping": "0x0001e3bd", - "platform_set_timer": "0x0001e3c9", - "platform_shutdown": "0x0001e3cd", - "platform_switch_app": "0x0001e3d1", - "platform_trace_raw": "0x0001e3fd", - "platform_write_persistent_reg": "0x0001e415", - "printf_hexdump": "0x0001e425", - "reverse_128": "0x0001e765", - "reverse_24": "0x0001e76b", - "reverse_256": "0x0001e771", - "reverse_48": "0x0001e777", - "reverse_56": "0x0001e77d", - "reverse_64": "0x0001e783", - "reverse_bd_addr": "0x0001e789", - "reverse_bytes": "0x0001e78f", - "sm_add_event_handler": "0x0001e95d", - "sm_address_resolution_lookup": "0x0001eab5", - "sm_authenticated": "0x0001ee5d", - "sm_authorization_decline": "0x0001ee6b", - "sm_authorization_grant": "0x0001ee8b", - "sm_authorization_state": "0x0001eeab", - "sm_bonding_decline": "0x0001eec5", - "sm_config": "0x0001f321", - "sm_config_conn": "0x0001f355", - "sm_encryption_key_size": "0x0001f50f", - "sm_just_works_confirm": "0x0001fa95", - "sm_le_device_key": "0x0001fdd5", - "sm_passkey_input": "0x0001fe6b", - "sm_private_random_address_generation_get": "0x00020225", - "sm_private_random_address_generation_get_mode": "0x0002022d", - "sm_private_random_address_generation_set_mode": "0x00020239", - "sm_private_random_address_generation_set_update_period": "0x00020261", - "sm_register_external_ltk_callback": "0x0002039d", - "sm_register_oob_data_callback": "0x000203a9", - "sm_request_pairing": "0x000203b5", - "sm_send_security_request": "0x00020e93", - "sm_set_accepted_stk_generation_methods": "0x00020eb9", - "sm_set_authentication_requirements": "0x00020ec5", - "sm_set_encryption_key_size_range": "0x00020ed5", - "sscanf_bd_addr": "0x00021295", - "sysSetPublicDeviceAddr": "0x00021649", - "uuid128_to_str": "0x00021c5d", - "uuid_add_bluetooth_prefix": "0x00021cb5", - "uuid_has_bluetooth_prefix": "0x00021cd5" + "platform_cancel_us_timer": "0x0001e00b", + "platform_config": "0x0001e021", + "platform_controller_run": "0x0001e145", + "platform_create_us_timer": "0x0001e179", + "platform_delete_timer": "0x0001e18d", + "platform_enable_irq": "0x0001e195", + "platform_get_gen_os_driver": "0x0001e1cd", + "platform_get_link_layer_interf": "0x0001e1d9", + "platform_get_task_handle": "0x0001e1e1", + "platform_get_timer_counter": "0x0001e1f9", + "platform_get_us_time": "0x0001e1fd", + "platform_get_version": "0x0001e201", + "platform_hrng": "0x0001e209", + "platform_init_controller": "0x0001e211", + "platform_os_idle_resumed_hook": "0x0001e22d", + "platform_patch_rf_init_data": "0x0001e231", + "platform_post_sleep_processing": "0x0001e23d", + "platform_pre_sleep_processing": "0x0001e243", + "platform_pre_suppress_ticks_and_sleep_processing": "0x0001e249", + "platform_printf": "0x0001e24d", + "platform_raise_assertion": "0x0001e261", + "platform_rand": "0x0001e275", + "platform_read_info": "0x0001e279", + "platform_read_persistent_reg": "0x0001e2a9", + "platform_reset": "0x0001e2b9", + "platform_rt_rc_auto_tune": "0x0001e2dd", + "platform_rt_rc_auto_tune2": "0x0001e2e5", + "platform_rt_rc_tune": "0x0001e36d", + "platform_set_abs_timer": "0x0001e381", + "platform_set_evt_callback": "0x0001e385", + "platform_set_evt_callback_table": "0x0001e399", + "platform_set_irq_callback": "0x0001e3a5", + "platform_set_irq_callback_table": "0x0001e3c1", + "platform_set_rf_clk_source": "0x0001e3cd", + "platform_set_rf_init_data": "0x0001e3d9", + "platform_set_rf_power_mapping": "0x0001e3e5", + "platform_set_timer": "0x0001e3f1", + "platform_shutdown": "0x0001e3f5", + "platform_switch_app": "0x0001e3f9", + "platform_trace_raw": "0x0001e425", + "platform_write_persistent_reg": "0x0001e43d", + "printf_hexdump": "0x0001e44d", + "reverse_128": "0x0001e78d", + "reverse_24": "0x0001e793", + "reverse_256": "0x0001e799", + "reverse_48": "0x0001e79f", + "reverse_56": "0x0001e7a5", + "reverse_64": "0x0001e7ab", + "reverse_bd_addr": "0x0001e7b1", + "reverse_bytes": "0x0001e7b7", + "sm_add_event_handler": "0x0001e985", + "sm_address_resolution_lookup": "0x0001eadd", + "sm_authenticated": "0x0001ee85", + "sm_authorization_decline": "0x0001ee93", + "sm_authorization_grant": "0x0001eeb3", + "sm_authorization_state": "0x0001eed3", + "sm_bonding_decline": "0x0001eeed", + "sm_config": "0x0001f349", + "sm_config_conn": "0x0001f37d", + "sm_encryption_key_size": "0x0001f537", + "sm_just_works_confirm": "0x0001fabd", + "sm_le_device_key": "0x0001fdfd", + "sm_passkey_input": "0x0001fe93", + "sm_private_random_address_generation_get": "0x0002024d", + "sm_private_random_address_generation_get_mode": "0x00020255", + "sm_private_random_address_generation_set_mode": "0x00020261", + "sm_private_random_address_generation_set_update_period": "0x00020289", + "sm_register_external_ltk_callback": "0x000203c5", + "sm_register_oob_data_callback": "0x000203d1", + "sm_request_pairing": "0x000203dd", + "sm_send_security_request": "0x00020ebb", + "sm_set_accepted_stk_generation_methods": "0x00020ee1", + "sm_set_authentication_requirements": "0x00020eed", + "sm_set_encryption_key_size_range": "0x00020efd", + "sscanf_bd_addr": "0x000212bd", + "sysSetPublicDeviceAddr": "0x00021671", + "uuid128_to_str": "0x00021c85", + "uuid_add_bluetooth_prefix": "0x00021cdd", + "uuid_has_bluetooth_prefix": "0x00021cfd" } \ No newline at end of file diff --git a/bundles/noos_extension/ING9187xx/meta.json b/bundles/noos_extension/ING9187xx/meta.json index cbc20fbef..8ff50597b 100644 --- a/bundles/noos_extension/ING9187xx/meta.json +++ b/bundles/noos_extension/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 128528 + "size": 128580 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_extension/ING9187xx/platform.bin b/bundles/noos_extension/ING9187xx/platform.bin index d72e7c4a6..2158f2b0a 100644 Binary files a/bundles/noos_extension/ING9187xx/platform.bin and b/bundles/noos_extension/ING9187xx/platform.bin differ diff --git a/bundles/noos_extension/ING9188xx/apis.json b/bundles/noos_extension/ING9188xx/apis.json index ec694b755..1ccbcb85b 100644 --- a/bundles/noos_extension/ING9188xx/apis.json +++ b/bundles/noos_extension/ING9188xx/apis.json @@ -213,81 +213,83 @@ "nibble_for_char": "0x0001f6f1", "platform_calibrate_rt_clk": "0x0001f78b", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001f791", - "platform_controller_run": "0x0001f8b5", - "platform_delete_timer": "0x0001f8e9", - "platform_enable_irq": "0x0001f8f1", - "platform_get_gen_os_driver": "0x0001f929", - "platform_get_link_layer_interf": "0x0001f935", - "platform_get_task_handle": "0x0001f93d", - "platform_get_timer_counter": "0x0001f955", - "platform_get_us_time": "0x0001f959", - "platform_get_version": "0x0001f95d", - "platform_hrng": "0x0001f965", - "platform_init_controller": "0x0001f96d", - "platform_os_idle_resumed_hook": "0x0001f989", - "platform_patch_rf_init_data": "0x0001f98d", - "platform_post_sleep_processing": "0x0001f999", - "platform_pre_sleep_processing": "0x0001f99f", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0001f9a5", - "platform_printf": "0x0001f9a9", - "platform_raise_assertion": "0x0001f9bd", - "platform_rand": "0x0001f9d1", - "platform_read_info": "0x0001f9d5", - "platform_read_persistent_reg": "0x0001fa05", - "platform_reset": "0x0001fa15", - "platform_rt_rc_auto_tune": "0x0001fa39", - "platform_rt_rc_auto_tune2": "0x0001fa41", - "platform_rt_rc_tune": "0x0001fac9", - "platform_set_abs_timer": "0x0001fadd", - "platform_set_evt_callback": "0x0001fae1", - "platform_set_evt_callback_table": "0x0001faf5", - "platform_set_irq_callback": "0x0001fb01", - "platform_set_irq_callback_table": "0x0001fb1d", - "platform_set_rf_clk_source": "0x0001fb29", - "platform_set_rf_init_data": "0x0001fb35", - "platform_set_rf_power_mapping": "0x0001fb41", - "platform_set_timer": "0x0001fb4d", - "platform_shutdown": "0x0001fb51", - "platform_switch_app": "0x0001fb55", - "platform_trace_raw": "0x0001fb81", - "platform_write_persistent_reg": "0x0001fb99", - "printf_hexdump": "0x0001fba9", - "reverse_128": "0x0001ff21", - "reverse_24": "0x0001ff27", - "reverse_256": "0x0001ff2d", - "reverse_48": "0x0001ff33", - "reverse_56": "0x0001ff39", - "reverse_64": "0x0001ff3f", - "reverse_bd_addr": "0x0001ff45", - "reverse_bytes": "0x0001ff4b", - "sm_add_event_handler": "0x00020269", - "sm_address_resolution_lookup": "0x000203c1", - "sm_authenticated": "0x00020769", - "sm_authorization_decline": "0x00020777", - "sm_authorization_grant": "0x00020797", - "sm_authorization_state": "0x000207b7", - "sm_bonding_decline": "0x000207d1", - "sm_config": "0x00020c2d", - "sm_config_conn": "0x00020c61", - "sm_encryption_key_size": "0x00020e1b", - "sm_just_works_confirm": "0x000213a1", - "sm_le_device_key": "0x000216e1", - "sm_passkey_input": "0x00021777", - "sm_private_random_address_generation_get": "0x00021b31", - "sm_private_random_address_generation_get_mode": "0x00021b39", - "sm_private_random_address_generation_set_mode": "0x00021b45", - "sm_private_random_address_generation_set_update_period": "0x00021b6d", - "sm_register_external_ltk_callback": "0x00021ca9", - "sm_register_oob_data_callback": "0x00021cb5", - "sm_request_pairing": "0x00021cc1", - "sm_send_security_request": "0x0002279f", - "sm_set_accepted_stk_generation_methods": "0x000227c5", - "sm_set_authentication_requirements": "0x000227d1", - "sm_set_encryption_key_size_range": "0x000227e1", - "sscanf_bd_addr": "0x00022ba1", - "sysSetPublicDeviceAddr": "0x00022f55", - "uuid128_to_str": "0x00023701", - "uuid_add_bluetooth_prefix": "0x00023759", - "uuid_has_bluetooth_prefix": "0x00023779" + "platform_cancel_us_timer": "0x0001f78f", + "platform_config": "0x0001f7a5", + "platform_controller_run": "0x0001f8c9", + "platform_create_us_timer": "0x0001f8fd", + "platform_delete_timer": "0x0001f911", + "platform_enable_irq": "0x0001f919", + "platform_get_gen_os_driver": "0x0001f951", + "platform_get_link_layer_interf": "0x0001f95d", + "platform_get_task_handle": "0x0001f965", + "platform_get_timer_counter": "0x0001f97d", + "platform_get_us_time": "0x0001f981", + "platform_get_version": "0x0001f985", + "platform_hrng": "0x0001f98d", + "platform_init_controller": "0x0001f995", + "platform_os_idle_resumed_hook": "0x0001f9b1", + "platform_patch_rf_init_data": "0x0001f9b5", + "platform_post_sleep_processing": "0x0001f9c1", + "platform_pre_sleep_processing": "0x0001f9c7", + "platform_pre_suppress_ticks_and_sleep_processing": "0x0001f9cd", + "platform_printf": "0x0001f9d1", + "platform_raise_assertion": "0x0001f9e5", + "platform_rand": "0x0001f9f9", + "platform_read_info": "0x0001f9fd", + "platform_read_persistent_reg": "0x0001fa2d", + "platform_reset": "0x0001fa3d", + "platform_rt_rc_auto_tune": "0x0001fa61", + "platform_rt_rc_auto_tune2": "0x0001fa69", + "platform_rt_rc_tune": "0x0001faf1", + "platform_set_abs_timer": "0x0001fb05", + "platform_set_evt_callback": "0x0001fb09", + "platform_set_evt_callback_table": "0x0001fb1d", + "platform_set_irq_callback": "0x0001fb29", + "platform_set_irq_callback_table": "0x0001fb45", + "platform_set_rf_clk_source": "0x0001fb51", + "platform_set_rf_init_data": "0x0001fb5d", + "platform_set_rf_power_mapping": "0x0001fb69", + "platform_set_timer": "0x0001fb75", + "platform_shutdown": "0x0001fb79", + "platform_switch_app": "0x0001fb7d", + "platform_trace_raw": "0x0001fba9", + "platform_write_persistent_reg": "0x0001fbc1", + "printf_hexdump": "0x0001fbd1", + "reverse_128": "0x0001ff49", + "reverse_24": "0x0001ff4f", + "reverse_256": "0x0001ff55", + "reverse_48": "0x0001ff5b", + "reverse_56": "0x0001ff61", + "reverse_64": "0x0001ff67", + "reverse_bd_addr": "0x0001ff6d", + "reverse_bytes": "0x0001ff73", + "sm_add_event_handler": "0x00020291", + "sm_address_resolution_lookup": "0x000203e9", + "sm_authenticated": "0x00020791", + "sm_authorization_decline": "0x0002079f", + "sm_authorization_grant": "0x000207bf", + "sm_authorization_state": "0x000207df", + "sm_bonding_decline": "0x000207f9", + "sm_config": "0x00020c55", + "sm_config_conn": "0x00020c89", + "sm_encryption_key_size": "0x00020e43", + "sm_just_works_confirm": "0x000213c9", + "sm_le_device_key": "0x00021709", + "sm_passkey_input": "0x0002179f", + "sm_private_random_address_generation_get": "0x00021b59", + "sm_private_random_address_generation_get_mode": "0x00021b61", + "sm_private_random_address_generation_set_mode": "0x00021b6d", + "sm_private_random_address_generation_set_update_period": "0x00021b95", + "sm_register_external_ltk_callback": "0x00021cd1", + "sm_register_oob_data_callback": "0x00021cdd", + "sm_request_pairing": "0x00021ce9", + "sm_send_security_request": "0x000227c7", + "sm_set_accepted_stk_generation_methods": "0x000227ed", + "sm_set_authentication_requirements": "0x000227f9", + "sm_set_encryption_key_size_range": "0x00022809", + "sscanf_bd_addr": "0x00022bc9", + "sysSetPublicDeviceAddr": "0x00022f7d", + "uuid128_to_str": "0x00023729", + "uuid_add_bluetooth_prefix": "0x00023781", + "uuid_has_bluetooth_prefix": "0x000237a1" } \ No newline at end of file diff --git a/bundles/noos_extension/ING9188xx/meta.json b/bundles/noos_extension/ING9188xx/meta.json index de7cd5e69..a0e86e928 100644 --- a/bundles/noos_extension/ING9188xx/meta.json +++ b/bundles/noos_extension/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 135808 + "size": 135856 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_extension/ING9188xx/platform.bin b/bundles/noos_extension/ING9188xx/platform.bin index 0d2039e61..72cc1e861 100644 Binary files a/bundles/noos_extension/ING9188xx/platform.bin and b/bundles/noos_extension/ING9188xx/platform.bin differ diff --git a/bundles/noos_extension/inc/platform_api.h b/bundles/noos_extension/inc/platform_api.h index 6a5e776e5..839670c86 100644 --- a/bundles/noos_extension/inc/platform_api.h +++ b/bundles/noos_extension/inc/platform_api.h @@ -468,8 +468,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -775,6 +780,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/noos_mass_conn/ING9168xx/apis.json b/bundles/noos_mass_conn/ING9168xx/apis.json index cce9d5cbe..475fbc16b 100644 --- a/bundles/noos_mass_conn/ING9168xx/apis.json +++ b/bundles/noos_mass_conn/ING9168xx/apis.json @@ -188,81 +188,83 @@ "nibble_for_char": "0x0201fd4d", "platform_calibrate_rt_clk": "0x0201fde5", "platform_call_on_stack": "0x0200303f", - "platform_config": "0x0201fde9", - "platform_controller_run": "0x0201ff11", - "platform_delete_timer": "0x0201ff45", - "platform_enable_irq": "0x0201ff4d", - "platform_get_gen_os_driver": "0x0201ff81", - "platform_get_link_layer_interf": "0x0201ff8d", - "platform_get_task_handle": "0x0201ff95", - "platform_get_timer_counter": "0x0201ffad", - "platform_get_us_time": "0x0201ffb1", - "platform_get_version": "0x0201ffb5", - "platform_hrng": "0x0201ffd1", - "platform_init_controller": "0x0201ffd9", - "platform_os_idle_resumed_hook": "0x0201fff5", - "platform_patch_rf_init_data": "0x0201fff9", - "platform_post_sleep_processing": "0x02020005", - "platform_pre_sleep_processing": "0x0202000b", - "platform_pre_suppress_ticks_and_sleep_processing": "0x02020011", - "platform_printf": "0x02020015", - "platform_raise_assertion": "0x02020029", - "platform_rand": "0x0202003d", - "platform_read_info": "0x02020041", - "platform_read_persistent_reg": "0x02020071", - "platform_reset": "0x0202007d", - "platform_rt_rc_auto_tune": "0x02020091", - "platform_rt_rc_auto_tune2": "0x02020099", - "platform_rt_rc_tune": "0x02020101", - "platform_set_abs_timer": "0x0202011d", - "platform_set_evt_callback": "0x02020121", - "platform_set_evt_callback_table": "0x02020135", - "platform_set_irq_callback": "0x02020141", - "platform_set_irq_callback_table": "0x0202015d", - "platform_set_rf_clk_source": "0x02020169", - "platform_set_rf_init_data": "0x02020175", - "platform_set_rf_power_mapping": "0x02020181", - "platform_set_timer": "0x0202018d", - "platform_shutdown": "0x02020191", - "platform_switch_app": "0x02020195", - "platform_trace_raw": "0x020201ad", - "platform_write_persistent_reg": "0x020201c5", - "printf_hexdump": "0x020201d9", - "reverse_128": "0x02020551", - "reverse_24": "0x02020557", - "reverse_256": "0x0202055d", - "reverse_48": "0x02020563", - "reverse_56": "0x02020569", - "reverse_64": "0x0202056f", - "reverse_bd_addr": "0x02020575", - "reverse_bytes": "0x0202057b", - "sm_add_event_handler": "0x020208d9", - "sm_address_resolution_lookup": "0x02020a31", - "sm_authenticated": "0x02020dd9", - "sm_authorization_decline": "0x02020de7", - "sm_authorization_grant": "0x02020e07", - "sm_authorization_state": "0x02020e27", - "sm_bonding_decline": "0x02020e41", - "sm_config": "0x02021295", - "sm_config_conn": "0x020212c9", - "sm_encryption_key_size": "0x02021483", - "sm_just_works_confirm": "0x02021a09", - "sm_le_device_key": "0x02021d49", - "sm_passkey_input": "0x02021ddf", - "sm_private_random_address_generation_get": "0x02022199", - "sm_private_random_address_generation_get_mode": "0x020221a1", - "sm_private_random_address_generation_set_mode": "0x020221ad", - "sm_private_random_address_generation_set_update_period": "0x020221d5", - "sm_register_external_ltk_callback": "0x02022311", - "sm_register_oob_data_callback": "0x0202231d", - "sm_request_pairing": "0x02022329", - "sm_send_security_request": "0x02022e07", - "sm_set_accepted_stk_generation_methods": "0x02022e2d", - "sm_set_authentication_requirements": "0x02022e39", - "sm_set_encryption_key_size_range": "0x02022e49", - "sscanf_bd_addr": "0x02023199", - "sysSetPublicDeviceAddr": "0x020236c1", - "uuid128_to_str": "0x02023f1d", - "uuid_add_bluetooth_prefix": "0x02023f75", - "uuid_has_bluetooth_prefix": "0x02023f95" + "platform_cancel_us_timer": "0x0201fde9", + "platform_config": "0x0201fdfd", + "platform_controller_run": "0x0201ff31", + "platform_create_us_timer": "0x0201ff65", + "platform_delete_timer": "0x0201ff79", + "platform_enable_irq": "0x0201ff81", + "platform_get_gen_os_driver": "0x0201ffb5", + "platform_get_link_layer_interf": "0x0201ffc1", + "platform_get_task_handle": "0x0201ffc9", + "platform_get_timer_counter": "0x0201ffe1", + "platform_get_us_time": "0x0201ffe5", + "platform_get_version": "0x0201ffe9", + "platform_hrng": "0x02020005", + "platform_init_controller": "0x0202000d", + "platform_os_idle_resumed_hook": "0x02020029", + "platform_patch_rf_init_data": "0x0202002d", + "platform_post_sleep_processing": "0x02020039", + "platform_pre_sleep_processing": "0x0202003f", + "platform_pre_suppress_ticks_and_sleep_processing": "0x02020045", + "platform_printf": "0x02020049", + "platform_raise_assertion": "0x0202005d", + "platform_rand": "0x02020071", + "platform_read_info": "0x02020075", + "platform_read_persistent_reg": "0x020200a5", + "platform_reset": "0x020200b1", + "platform_rt_rc_auto_tune": "0x020200c5", + "platform_rt_rc_auto_tune2": "0x020200cd", + "platform_rt_rc_tune": "0x02020135", + "platform_set_abs_timer": "0x02020151", + "platform_set_evt_callback": "0x02020155", + "platform_set_evt_callback_table": "0x02020169", + "platform_set_irq_callback": "0x02020175", + "platform_set_irq_callback_table": "0x02020191", + "platform_set_rf_clk_source": "0x0202019d", + "platform_set_rf_init_data": "0x020201a9", + "platform_set_rf_power_mapping": "0x020201b5", + "platform_set_timer": "0x020201c1", + "platform_shutdown": "0x020201c5", + "platform_switch_app": "0x020201c9", + "platform_trace_raw": "0x020201e1", + "platform_write_persistent_reg": "0x020201f9", + "printf_hexdump": "0x0202020d", + "reverse_128": "0x02020585", + "reverse_24": "0x0202058b", + "reverse_256": "0x02020591", + "reverse_48": "0x02020597", + "reverse_56": "0x0202059d", + "reverse_64": "0x020205a3", + "reverse_bd_addr": "0x020205a9", + "reverse_bytes": "0x020205af", + "sm_add_event_handler": "0x0202090d", + "sm_address_resolution_lookup": "0x02020a65", + "sm_authenticated": "0x02020e0d", + "sm_authorization_decline": "0x02020e1b", + "sm_authorization_grant": "0x02020e3b", + "sm_authorization_state": "0x02020e5b", + "sm_bonding_decline": "0x02020e75", + "sm_config": "0x020212c9", + "sm_config_conn": "0x020212fd", + "sm_encryption_key_size": "0x020214b7", + "sm_just_works_confirm": "0x02021a3d", + "sm_le_device_key": "0x02021d7d", + "sm_passkey_input": "0x02021e13", + "sm_private_random_address_generation_get": "0x020221cd", + "sm_private_random_address_generation_get_mode": "0x020221d5", + "sm_private_random_address_generation_set_mode": "0x020221e1", + "sm_private_random_address_generation_set_update_period": "0x02022209", + "sm_register_external_ltk_callback": "0x02022345", + "sm_register_oob_data_callback": "0x02022351", + "sm_request_pairing": "0x0202235d", + "sm_send_security_request": "0x02022e3b", + "sm_set_accepted_stk_generation_methods": "0x02022e61", + "sm_set_authentication_requirements": "0x02022e6d", + "sm_set_encryption_key_size_range": "0x02022e7d", + "sscanf_bd_addr": "0x020231cd", + "sysSetPublicDeviceAddr": "0x02023709", + "uuid128_to_str": "0x02023f65", + "uuid_add_bluetooth_prefix": "0x02023fbd", + "uuid_has_bluetooth_prefix": "0x02023fdd" } \ No newline at end of file diff --git a/bundles/noos_mass_conn/ING9168xx/meta.json b/bundles/noos_mass_conn/ING9168xx/meta.json index 45bbc8ff0..fa876f94b 100644 --- a/bundles/noos_mass_conn/ING9168xx/meta.json +++ b/bundles/noos_mass_conn/ING9168xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 33562624, - "size": 148416 + "size": 148496 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/noos_mass_conn/ING9168xx/platform.bin b/bundles/noos_mass_conn/ING9168xx/platform.bin index 39ed04cbb..40a6a37b4 100644 Binary files a/bundles/noos_mass_conn/ING9168xx/platform.bin and b/bundles/noos_mass_conn/ING9168xx/platform.bin differ diff --git a/bundles/noos_mass_conn/ING9187xx/apis.json b/bundles/noos_mass_conn/ING9187xx/apis.json index 91a4e1868..c9ebb8c3b 100644 --- a/bundles/noos_mass_conn/ING9187xx/apis.json +++ b/bundles/noos_mass_conn/ING9187xx/apis.json @@ -173,81 +173,83 @@ "nibble_for_char": "0x0001d369", "platform_calibrate_rt_clk": "0x0001d403", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001d409", - "platform_controller_run": "0x0001d52d", - "platform_delete_timer": "0x0001d561", - "platform_enable_irq": "0x0001d569", - "platform_get_gen_os_driver": "0x0001d5a1", - "platform_get_link_layer_interf": "0x0001d5ad", - "platform_get_task_handle": "0x0001d5b5", - "platform_get_timer_counter": "0x0001d5cd", - "platform_get_us_time": "0x0001d5d1", - "platform_get_version": "0x0001d5d5", - "platform_hrng": "0x0001d5dd", - "platform_init_controller": "0x0001d5e5", - "platform_os_idle_resumed_hook": "0x0001d601", - "platform_patch_rf_init_data": "0x0001d605", - "platform_post_sleep_processing": "0x0001d611", - "platform_pre_sleep_processing": "0x0001d617", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0001d61d", - "platform_printf": "0x0001d621", - "platform_raise_assertion": "0x0001d635", - "platform_rand": "0x0001d649", - "platform_read_info": "0x0001d64d", - "platform_read_persistent_reg": "0x0001d67d", - "platform_reset": "0x0001d68d", - "platform_rt_rc_auto_tune": "0x0001d6b1", - "platform_rt_rc_auto_tune2": "0x0001d6b9", - "platform_rt_rc_tune": "0x0001d741", - "platform_set_abs_timer": "0x0001d755", - "platform_set_evt_callback": "0x0001d759", - "platform_set_evt_callback_table": "0x0001d76d", - "platform_set_irq_callback": "0x0001d779", - "platform_set_irq_callback_table": "0x0001d795", - "platform_set_rf_clk_source": "0x0001d7a1", - "platform_set_rf_init_data": "0x0001d7ad", - "platform_set_rf_power_mapping": "0x0001d7b9", - "platform_set_timer": "0x0001d7c5", - "platform_shutdown": "0x0001d7c9", - "platform_switch_app": "0x0001d7cd", - "platform_trace_raw": "0x0001d7f9", - "platform_write_persistent_reg": "0x0001d811", - "printf_hexdump": "0x0001d821", - "reverse_128": "0x0001db61", - "reverse_24": "0x0001db67", - "reverse_256": "0x0001db6d", - "reverse_48": "0x0001db73", - "reverse_56": "0x0001db79", - "reverse_64": "0x0001db7f", - "reverse_bd_addr": "0x0001db85", - "reverse_bytes": "0x0001db8b", - "sm_add_event_handler": "0x0001dd29", - "sm_address_resolution_lookup": "0x0001de81", - "sm_authenticated": "0x0001e229", - "sm_authorization_decline": "0x0001e237", - "sm_authorization_grant": "0x0001e257", - "sm_authorization_state": "0x0001e277", - "sm_bonding_decline": "0x0001e291", - "sm_config": "0x0001e6ed", - "sm_config_conn": "0x0001e721", - "sm_encryption_key_size": "0x0001e8db", - "sm_just_works_confirm": "0x0001ee61", - "sm_le_device_key": "0x0001f1a1", - "sm_passkey_input": "0x0001f237", - "sm_private_random_address_generation_get": "0x0001f5f1", - "sm_private_random_address_generation_get_mode": "0x0001f5f9", - "sm_private_random_address_generation_set_mode": "0x0001f605", - "sm_private_random_address_generation_set_update_period": "0x0001f62d", - "sm_register_external_ltk_callback": "0x0001f769", - "sm_register_oob_data_callback": "0x0001f775", - "sm_request_pairing": "0x0001f781", - "sm_send_security_request": "0x0002025f", - "sm_set_accepted_stk_generation_methods": "0x00020285", - "sm_set_authentication_requirements": "0x00020291", - "sm_set_encryption_key_size_range": "0x000202a1", - "sscanf_bd_addr": "0x000205ed", - "sysSetPublicDeviceAddr": "0x000209a1", - "uuid128_to_str": "0x00020fb5", - "uuid_add_bluetooth_prefix": "0x0002100d", - "uuid_has_bluetooth_prefix": "0x0002102d" + "platform_cancel_us_timer": "0x0001d407", + "platform_config": "0x0001d41d", + "platform_controller_run": "0x0001d541", + "platform_create_us_timer": "0x0001d575", + "platform_delete_timer": "0x0001d589", + "platform_enable_irq": "0x0001d591", + "platform_get_gen_os_driver": "0x0001d5c9", + "platform_get_link_layer_interf": "0x0001d5d5", + "platform_get_task_handle": "0x0001d5dd", + "platform_get_timer_counter": "0x0001d5f5", + "platform_get_us_time": "0x0001d5f9", + "platform_get_version": "0x0001d5fd", + "platform_hrng": "0x0001d605", + "platform_init_controller": "0x0001d60d", + "platform_os_idle_resumed_hook": "0x0001d629", + "platform_patch_rf_init_data": "0x0001d62d", + "platform_post_sleep_processing": "0x0001d639", + "platform_pre_sleep_processing": "0x0001d63f", + "platform_pre_suppress_ticks_and_sleep_processing": "0x0001d645", + "platform_printf": "0x0001d649", + "platform_raise_assertion": "0x0001d65d", + "platform_rand": "0x0001d671", + "platform_read_info": "0x0001d675", + "platform_read_persistent_reg": "0x0001d6a5", + "platform_reset": "0x0001d6b5", + "platform_rt_rc_auto_tune": "0x0001d6d9", + "platform_rt_rc_auto_tune2": "0x0001d6e1", + "platform_rt_rc_tune": "0x0001d769", + "platform_set_abs_timer": "0x0001d77d", + "platform_set_evt_callback": "0x0001d781", + "platform_set_evt_callback_table": "0x0001d795", + "platform_set_irq_callback": "0x0001d7a1", + "platform_set_irq_callback_table": "0x0001d7bd", + "platform_set_rf_clk_source": "0x0001d7c9", + "platform_set_rf_init_data": "0x0001d7d5", + "platform_set_rf_power_mapping": "0x0001d7e1", + "platform_set_timer": "0x0001d7ed", + "platform_shutdown": "0x0001d7f1", + "platform_switch_app": "0x0001d7f5", + "platform_trace_raw": "0x0001d821", + "platform_write_persistent_reg": "0x0001d839", + "printf_hexdump": "0x0001d849", + "reverse_128": "0x0001db89", + "reverse_24": "0x0001db8f", + "reverse_256": "0x0001db95", + "reverse_48": "0x0001db9b", + "reverse_56": "0x0001dba1", + "reverse_64": "0x0001dba7", + "reverse_bd_addr": "0x0001dbad", + "reverse_bytes": "0x0001dbb3", + "sm_add_event_handler": "0x0001dd51", + "sm_address_resolution_lookup": "0x0001dea9", + "sm_authenticated": "0x0001e251", + "sm_authorization_decline": "0x0001e25f", + "sm_authorization_grant": "0x0001e27f", + "sm_authorization_state": "0x0001e29f", + "sm_bonding_decline": "0x0001e2b9", + "sm_config": "0x0001e715", + "sm_config_conn": "0x0001e749", + "sm_encryption_key_size": "0x0001e903", + "sm_just_works_confirm": "0x0001ee89", + "sm_le_device_key": "0x0001f1c9", + "sm_passkey_input": "0x0001f25f", + "sm_private_random_address_generation_get": "0x0001f619", + "sm_private_random_address_generation_get_mode": "0x0001f621", + "sm_private_random_address_generation_set_mode": "0x0001f62d", + "sm_private_random_address_generation_set_update_period": "0x0001f655", + "sm_register_external_ltk_callback": "0x0001f791", + "sm_register_oob_data_callback": "0x0001f79d", + "sm_request_pairing": "0x0001f7a9", + "sm_send_security_request": "0x00020287", + "sm_set_accepted_stk_generation_methods": "0x000202ad", + "sm_set_authentication_requirements": "0x000202b9", + "sm_set_encryption_key_size_range": "0x000202c9", + "sscanf_bd_addr": "0x00020615", + "sysSetPublicDeviceAddr": "0x000209c9", + "uuid128_to_str": "0x00020fdd", + "uuid_add_bluetooth_prefix": "0x00021035", + "uuid_has_bluetooth_prefix": "0x00021055" } \ No newline at end of file diff --git a/bundles/noos_mass_conn/ING9187xx/meta.json b/bundles/noos_mass_conn/ING9187xx/meta.json index 4a2132d55..16d54636e 100644 --- a/bundles/noos_mass_conn/ING9187xx/meta.json +++ b/bundles/noos_mass_conn/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 125176 + "size": 125228 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_mass_conn/ING9187xx/platform.bin b/bundles/noos_mass_conn/ING9187xx/platform.bin index c87152d70..d9485941c 100644 Binary files a/bundles/noos_mass_conn/ING9187xx/platform.bin and b/bundles/noos_mass_conn/ING9187xx/platform.bin differ diff --git a/bundles/noos_mass_conn/ING9188xx/apis.json b/bundles/noos_mass_conn/ING9188xx/apis.json index 72020c6c1..38f4872ae 100644 --- a/bundles/noos_mass_conn/ING9188xx/apis.json +++ b/bundles/noos_mass_conn/ING9188xx/apis.json @@ -187,81 +187,83 @@ "nibble_for_char": "0x0001e621", "platform_calibrate_rt_clk": "0x0001e6bb", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001e6c1", - "platform_controller_run": "0x0001e7e5", - "platform_delete_timer": "0x0001e819", - "platform_enable_irq": "0x0001e821", - "platform_get_gen_os_driver": "0x0001e859", - "platform_get_link_layer_interf": "0x0001e865", - "platform_get_task_handle": "0x0001e86d", - "platform_get_timer_counter": "0x0001e885", - "platform_get_us_time": "0x0001e889", - "platform_get_version": "0x0001e88d", - "platform_hrng": "0x0001e895", - "platform_init_controller": "0x0001e89d", - "platform_os_idle_resumed_hook": "0x0001e8b9", - "platform_patch_rf_init_data": "0x0001e8bd", - "platform_post_sleep_processing": "0x0001e8c9", - "platform_pre_sleep_processing": "0x0001e8cf", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0001e8d5", - "platform_printf": "0x0001e8d9", - "platform_raise_assertion": "0x0001e8ed", - "platform_rand": "0x0001e901", - "platform_read_info": "0x0001e905", - "platform_read_persistent_reg": "0x0001e935", - "platform_reset": "0x0001e945", - "platform_rt_rc_auto_tune": "0x0001e969", - "platform_rt_rc_auto_tune2": "0x0001e971", - "platform_rt_rc_tune": "0x0001e9f9", - "platform_set_abs_timer": "0x0001ea0d", - "platform_set_evt_callback": "0x0001ea11", - "platform_set_evt_callback_table": "0x0001ea25", - "platform_set_irq_callback": "0x0001ea31", - "platform_set_irq_callback_table": "0x0001ea4d", - "platform_set_rf_clk_source": "0x0001ea59", - "platform_set_rf_init_data": "0x0001ea65", - "platform_set_rf_power_mapping": "0x0001ea71", - "platform_set_timer": "0x0001ea7d", - "platform_shutdown": "0x0001ea81", - "platform_switch_app": "0x0001ea85", - "platform_trace_raw": "0x0001eab1", - "platform_write_persistent_reg": "0x0001eac9", - "printf_hexdump": "0x0001ead9", - "reverse_128": "0x0001ee51", - "reverse_24": "0x0001ee57", - "reverse_256": "0x0001ee5d", - "reverse_48": "0x0001ee63", - "reverse_56": "0x0001ee69", - "reverse_64": "0x0001ee6f", - "reverse_bd_addr": "0x0001ee75", - "reverse_bytes": "0x0001ee7b", - "sm_add_event_handler": "0x0001f169", - "sm_address_resolution_lookup": "0x0001f2c1", - "sm_authenticated": "0x0001f669", - "sm_authorization_decline": "0x0001f677", - "sm_authorization_grant": "0x0001f697", - "sm_authorization_state": "0x0001f6b7", - "sm_bonding_decline": "0x0001f6d1", - "sm_config": "0x0001fb2d", - "sm_config_conn": "0x0001fb61", - "sm_encryption_key_size": "0x0001fd1b", - "sm_just_works_confirm": "0x000202a1", - "sm_le_device_key": "0x000205e1", - "sm_passkey_input": "0x00020677", - "sm_private_random_address_generation_get": "0x00020a31", - "sm_private_random_address_generation_get_mode": "0x00020a39", - "sm_private_random_address_generation_set_mode": "0x00020a45", - "sm_private_random_address_generation_set_update_period": "0x00020a6d", - "sm_register_external_ltk_callback": "0x00020ba9", - "sm_register_oob_data_callback": "0x00020bb5", - "sm_request_pairing": "0x00020bc1", - "sm_send_security_request": "0x0002169f", - "sm_set_accepted_stk_generation_methods": "0x000216c5", - "sm_set_authentication_requirements": "0x000216d1", - "sm_set_encryption_key_size_range": "0x000216e1", - "sscanf_bd_addr": "0x00021a2d", - "sysSetPublicDeviceAddr": "0x00021de1", - "uuid128_to_str": "0x0002258d", - "uuid_add_bluetooth_prefix": "0x000225e5", - "uuid_has_bluetooth_prefix": "0x00022605" + "platform_cancel_us_timer": "0x0001e6bf", + "platform_config": "0x0001e6d5", + "platform_controller_run": "0x0001e7f9", + "platform_create_us_timer": "0x0001e82d", + "platform_delete_timer": "0x0001e841", + "platform_enable_irq": "0x0001e849", + "platform_get_gen_os_driver": "0x0001e881", + "platform_get_link_layer_interf": "0x0001e88d", + "platform_get_task_handle": "0x0001e895", + "platform_get_timer_counter": "0x0001e8ad", + "platform_get_us_time": "0x0001e8b1", + "platform_get_version": "0x0001e8b5", + "platform_hrng": "0x0001e8bd", + "platform_init_controller": "0x0001e8c5", + "platform_os_idle_resumed_hook": "0x0001e8e1", + "platform_patch_rf_init_data": "0x0001e8e5", + "platform_post_sleep_processing": "0x0001e8f1", + "platform_pre_sleep_processing": "0x0001e8f7", + "platform_pre_suppress_ticks_and_sleep_processing": "0x0001e8fd", + "platform_printf": "0x0001e901", + "platform_raise_assertion": "0x0001e915", + "platform_rand": "0x0001e929", + "platform_read_info": "0x0001e92d", + "platform_read_persistent_reg": "0x0001e95d", + "platform_reset": "0x0001e96d", + "platform_rt_rc_auto_tune": "0x0001e991", + "platform_rt_rc_auto_tune2": "0x0001e999", + "platform_rt_rc_tune": "0x0001ea21", + "platform_set_abs_timer": "0x0001ea35", + "platform_set_evt_callback": "0x0001ea39", + "platform_set_evt_callback_table": "0x0001ea4d", + "platform_set_irq_callback": "0x0001ea59", + "platform_set_irq_callback_table": "0x0001ea75", + "platform_set_rf_clk_source": "0x0001ea81", + "platform_set_rf_init_data": "0x0001ea8d", + "platform_set_rf_power_mapping": "0x0001ea99", + "platform_set_timer": "0x0001eaa5", + "platform_shutdown": "0x0001eaa9", + "platform_switch_app": "0x0001eaad", + "platform_trace_raw": "0x0001ead9", + "platform_write_persistent_reg": "0x0001eaf1", + "printf_hexdump": "0x0001eb01", + "reverse_128": "0x0001ee79", + "reverse_24": "0x0001ee7f", + "reverse_256": "0x0001ee85", + "reverse_48": "0x0001ee8b", + "reverse_56": "0x0001ee91", + "reverse_64": "0x0001ee97", + "reverse_bd_addr": "0x0001ee9d", + "reverse_bytes": "0x0001eea3", + "sm_add_event_handler": "0x0001f191", + "sm_address_resolution_lookup": "0x0001f2e9", + "sm_authenticated": "0x0001f691", + "sm_authorization_decline": "0x0001f69f", + "sm_authorization_grant": "0x0001f6bf", + "sm_authorization_state": "0x0001f6df", + "sm_bonding_decline": "0x0001f6f9", + "sm_config": "0x0001fb55", + "sm_config_conn": "0x0001fb89", + "sm_encryption_key_size": "0x0001fd43", + "sm_just_works_confirm": "0x000202c9", + "sm_le_device_key": "0x00020609", + "sm_passkey_input": "0x0002069f", + "sm_private_random_address_generation_get": "0x00020a59", + "sm_private_random_address_generation_get_mode": "0x00020a61", + "sm_private_random_address_generation_set_mode": "0x00020a6d", + "sm_private_random_address_generation_set_update_period": "0x00020a95", + "sm_register_external_ltk_callback": "0x00020bd1", + "sm_register_oob_data_callback": "0x00020bdd", + "sm_request_pairing": "0x00020be9", + "sm_send_security_request": "0x000216c7", + "sm_set_accepted_stk_generation_methods": "0x000216ed", + "sm_set_authentication_requirements": "0x000216f9", + "sm_set_encryption_key_size_range": "0x00021709", + "sscanf_bd_addr": "0x00021a55", + "sysSetPublicDeviceAddr": "0x00021e09", + "uuid128_to_str": "0x000225b5", + "uuid_add_bluetooth_prefix": "0x0002260d", + "uuid_has_bluetooth_prefix": "0x0002262d" } \ No newline at end of file diff --git a/bundles/noos_mass_conn/ING9188xx/meta.json b/bundles/noos_mass_conn/ING9188xx/meta.json index 72b0e36dc..2c6a974b9 100644 --- a/bundles/noos_mass_conn/ING9188xx/meta.json +++ b/bundles/noos_mass_conn/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 131224 + "size": 131276 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_mass_conn/ING9188xx/platform.bin b/bundles/noos_mass_conn/ING9188xx/platform.bin index 1f6713c6c..cd9075f3c 100644 Binary files a/bundles/noos_mass_conn/ING9188xx/platform.bin and b/bundles/noos_mass_conn/ING9188xx/platform.bin differ diff --git a/bundles/noos_mass_conn/inc/platform_api.h b/bundles/noos_mass_conn/inc/platform_api.h index 6a5e776e5..839670c86 100644 --- a/bundles/noos_mass_conn/inc/platform_api.h +++ b/bundles/noos_mass_conn/inc/platform_api.h @@ -468,8 +468,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -775,6 +780,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/noos_mini/ING9168xx/apis.json b/bundles/noos_mini/ING9168xx/apis.json index 3156174c6..2936bcd0f 100644 --- a/bundles/noos_mini/ING9168xx/apis.json +++ b/bundles/noos_mini/ING9168xx/apis.json @@ -188,81 +188,83 @@ "nibble_for_char": "0x0201ce3d", "platform_calibrate_rt_clk": "0x0201ceb3", "platform_call_on_stack": "0x0200303f", - "platform_config": "0x0201ceb9", + "platform_cancel_us_timer": "0x0201ceb7", + "platform_config": "0x0201cecd", "platform_controller_run": "0x2000015b", - "platform_delete_timer": "0x0201cfe1", - "platform_enable_irq": "0x0201cfe9", - "platform_get_gen_os_driver": "0x0201d03d", - "platform_get_link_layer_interf": "0x0201d049", - "platform_get_task_handle": "0x0201d051", - "platform_get_timer_counter": "0x0201d069", - "platform_get_us_time": "0x0201d06d", - "platform_get_version": "0x0201d071", - "platform_hrng": "0x0201d08d", + "platform_create_us_timer": "0x0201d001", + "platform_delete_timer": "0x0201d015", + "platform_enable_irq": "0x0201d01d", + "platform_get_gen_os_driver": "0x0201d071", + "platform_get_link_layer_interf": "0x0201d07d", + "platform_get_task_handle": "0x0201d085", + "platform_get_timer_counter": "0x0201d09d", + "platform_get_us_time": "0x0201d0a1", + "platform_get_version": "0x0201d0a5", + "platform_hrng": "0x0201d0c1", "platform_init_controller": "0x20000145", - "platform_os_idle_resumed_hook": "0x200003cf", - "platform_patch_rf_init_data": "0x0201d095", - "platform_post_sleep_processing": "0x200003c9", - "platform_pre_sleep_processing": "0x200003c3", - "platform_pre_suppress_ticks_and_sleep_processing": "0x200003bf", - "platform_printf": "0x0201d0a1", - "platform_raise_assertion": "0x0201d0b5", - "platform_rand": "0x0201d0c9", - "platform_read_info": "0x0201d0cd", - "platform_read_persistent_reg": "0x0201d0fd", - "platform_reset": "0x0201d109", - "platform_rt_rc_auto_tune": "0x0201d11d", - "platform_rt_rc_auto_tune2": "0x0201d125", - "platform_rt_rc_tune": "0x0201d18d", - "platform_set_abs_timer": "0x0201d1a9", - "platform_set_evt_callback": "0x0201d1ad", - "platform_set_evt_callback_table": "0x0201d1c1", - "platform_set_irq_callback": "0x0201d1cd", - "platform_set_irq_callback_table": "0x0201d1e9", - "platform_set_rf_clk_source": "0x0201d1f5", - "platform_set_rf_init_data": "0x0201d201", - "platform_set_rf_power_mapping": "0x0201d20d", - "platform_set_timer": "0x0201d219", - "platform_shutdown": "0x0201d21d", - "platform_switch_app": "0x0201d221", - "platform_trace_raw": "0x0201d239", - "platform_write_persistent_reg": "0x0201d251", - "printf_hexdump": "0x0201d265", - "reverse_128": "0x0201d565", - "reverse_24": "0x0201d56b", - "reverse_256": "0x0201d571", - "reverse_48": "0x0201d577", - "reverse_56": "0x0201d57d", - "reverse_64": "0x0201d583", - "reverse_bd_addr": "0x0201d589", - "reverse_bytes": "0x0201d58f", - "sm_add_event_handler": "0x0201d895", - "sm_address_resolution_lookup": "0x0201d9ed", - "sm_authenticated": "0x0201dd95", - "sm_authorization_decline": "0x0201dda3", - "sm_authorization_grant": "0x0201ddc3", - "sm_authorization_state": "0x0201dde3", - "sm_bonding_decline": "0x0201ddfd", - "sm_config": "0x0201e251", - "sm_config_conn": "0x0201e285", - "sm_encryption_key_size": "0x0201e43f", - "sm_just_works_confirm": "0x0201e9c5", - "sm_le_device_key": "0x0201ed05", - "sm_passkey_input": "0x0201ed9b", - "sm_private_random_address_generation_get": "0x0201f155", - "sm_private_random_address_generation_get_mode": "0x0201f15d", - "sm_private_random_address_generation_set_mode": "0x0201f169", - "sm_private_random_address_generation_set_update_period": "0x0201f191", - "sm_register_external_ltk_callback": "0x0201f2cd", - "sm_register_oob_data_callback": "0x0201f2d9", - "sm_request_pairing": "0x0201f2e5", - "sm_send_security_request": "0x0201fdc3", - "sm_set_accepted_stk_generation_methods": "0x0201fde9", - "sm_set_authentication_requirements": "0x0201fdf5", - "sm_set_encryption_key_size_range": "0x0201fe05", - "sscanf_bd_addr": "0x02020155", - "sysSetPublicDeviceAddr": "0x02020209", - "uuid128_to_str": "0x020209c5", - "uuid_add_bluetooth_prefix": "0x02020a1d", - "uuid_has_bluetooth_prefix": "0x02020a3d" + "platform_os_idle_resumed_hook": "0x200003df", + "platform_patch_rf_init_data": "0x0201d0c9", + "platform_post_sleep_processing": "0x200003d9", + "platform_pre_sleep_processing": "0x200003d3", + "platform_pre_suppress_ticks_and_sleep_processing": "0x200003cf", + "platform_printf": "0x0201d0d5", + "platform_raise_assertion": "0x0201d0e9", + "platform_rand": "0x0201d0fd", + "platform_read_info": "0x0201d101", + "platform_read_persistent_reg": "0x0201d131", + "platform_reset": "0x0201d13d", + "platform_rt_rc_auto_tune": "0x0201d151", + "platform_rt_rc_auto_tune2": "0x0201d159", + "platform_rt_rc_tune": "0x0201d1c1", + "platform_set_abs_timer": "0x0201d1dd", + "platform_set_evt_callback": "0x0201d1e1", + "platform_set_evt_callback_table": "0x0201d1f5", + "platform_set_irq_callback": "0x0201d201", + "platform_set_irq_callback_table": "0x0201d21d", + "platform_set_rf_clk_source": "0x0201d229", + "platform_set_rf_init_data": "0x0201d235", + "platform_set_rf_power_mapping": "0x0201d241", + "platform_set_timer": "0x0201d24d", + "platform_shutdown": "0x0201d251", + "platform_switch_app": "0x0201d255", + "platform_trace_raw": "0x0201d26d", + "platform_write_persistent_reg": "0x0201d285", + "printf_hexdump": "0x0201d299", + "reverse_128": "0x0201d599", + "reverse_24": "0x0201d59f", + "reverse_256": "0x0201d5a5", + "reverse_48": "0x0201d5ab", + "reverse_56": "0x0201d5b1", + "reverse_64": "0x0201d5b7", + "reverse_bd_addr": "0x0201d5bd", + "reverse_bytes": "0x0201d5c3", + "sm_add_event_handler": "0x0201d8c9", + "sm_address_resolution_lookup": "0x0201da21", + "sm_authenticated": "0x0201ddc9", + "sm_authorization_decline": "0x0201ddd7", + "sm_authorization_grant": "0x0201ddf7", + "sm_authorization_state": "0x0201de17", + "sm_bonding_decline": "0x0201de31", + "sm_config": "0x0201e285", + "sm_config_conn": "0x0201e2b9", + "sm_encryption_key_size": "0x0201e473", + "sm_just_works_confirm": "0x0201e9f9", + "sm_le_device_key": "0x0201ed39", + "sm_passkey_input": "0x0201edcf", + "sm_private_random_address_generation_get": "0x0201f189", + "sm_private_random_address_generation_get_mode": "0x0201f191", + "sm_private_random_address_generation_set_mode": "0x0201f19d", + "sm_private_random_address_generation_set_update_period": "0x0201f1c5", + "sm_register_external_ltk_callback": "0x0201f301", + "sm_register_oob_data_callback": "0x0201f30d", + "sm_request_pairing": "0x0201f319", + "sm_send_security_request": "0x0201fdf7", + "sm_set_accepted_stk_generation_methods": "0x0201fe1d", + "sm_set_authentication_requirements": "0x0201fe29", + "sm_set_encryption_key_size_range": "0x0201fe39", + "sscanf_bd_addr": "0x02020189", + "sysSetPublicDeviceAddr": "0x0202023d", + "uuid128_to_str": "0x020209f9", + "uuid_add_bluetooth_prefix": "0x02020a51", + "uuid_has_bluetooth_prefix": "0x02020a71" } \ No newline at end of file diff --git a/bundles/noos_mini/ING9168xx/meta.json b/bundles/noos_mini/ING9168xx/meta.json index b810b2f5c..43dbf895e 100644 --- a/bundles/noos_mini/ING9168xx/meta.json +++ b/bundles/noos_mini/ING9168xx/meta.json @@ -4,15 +4,15 @@ }, "ram": { "base": 536870912, - "size": 17132 + "size": 17148 }, "rom": { "base": 33562624, - "size": 148892 + "size": 148972 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/noos_mini/ING9168xx/platform.bin b/bundles/noos_mini/ING9168xx/platform.bin index ff46bfaf7..5a1ca7bbd 100644 Binary files a/bundles/noos_mini/ING9168xx/platform.bin and b/bundles/noos_mini/ING9168xx/platform.bin differ diff --git a/bundles/noos_mini/ING9187xx/apis.json b/bundles/noos_mini/ING9187xx/apis.json index 550b81ab9..0a95e3e49 100644 --- a/bundles/noos_mini/ING9187xx/apis.json +++ b/bundles/noos_mini/ING9187xx/apis.json @@ -173,81 +173,83 @@ "nibble_for_char": "0x0001d165", "platform_calibrate_rt_clk": "0x0001d1f3", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001d1f9", - "platform_controller_run": "0x0001d31d", - "platform_delete_timer": "0x0001d351", - "platform_enable_irq": "0x0001d359", - "platform_get_gen_os_driver": "0x0001d391", - "platform_get_link_layer_interf": "0x0001d39d", - "platform_get_task_handle": "0x0001d3a5", - "platform_get_timer_counter": "0x0001d3bd", - "platform_get_us_time": "0x0001d3c1", - "platform_get_version": "0x0001d3c5", - "platform_hrng": "0x0001d3cd", - "platform_init_controller": "0x0001d3d5", - "platform_os_idle_resumed_hook": "0x0001d3f1", - "platform_patch_rf_init_data": "0x0001d3f5", - "platform_post_sleep_processing": "0x0001d401", - "platform_pre_sleep_processing": "0x0001d407", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0001d40d", - "platform_printf": "0x0001d411", - "platform_raise_assertion": "0x0001d425", - "platform_rand": "0x0001d439", - "platform_read_info": "0x0001d43d", - "platform_read_persistent_reg": "0x0001d46d", - "platform_reset": "0x0001d47d", - "platform_rt_rc_auto_tune": "0x0001d4a1", - "platform_rt_rc_auto_tune2": "0x0001d4a9", - "platform_rt_rc_tune": "0x0001d531", - "platform_set_abs_timer": "0x0001d545", - "platform_set_evt_callback": "0x0001d549", - "platform_set_evt_callback_table": "0x0001d55d", - "platform_set_irq_callback": "0x0001d569", - "platform_set_irq_callback_table": "0x0001d585", - "platform_set_rf_clk_source": "0x0001d591", - "platform_set_rf_init_data": "0x0001d59d", - "platform_set_rf_power_mapping": "0x0001d5a9", - "platform_set_timer": "0x0001d5b5", - "platform_shutdown": "0x0001d5b9", - "platform_switch_app": "0x0001d5bd", - "platform_trace_raw": "0x0001d5e9", - "platform_write_persistent_reg": "0x0001d601", - "printf_hexdump": "0x0001d611", - "reverse_128": "0x0001d949", - "reverse_24": "0x0001d94f", - "reverse_256": "0x0001d955", - "reverse_48": "0x0001d95b", - "reverse_56": "0x0001d961", - "reverse_64": "0x0001d967", - "reverse_bd_addr": "0x0001d96d", - "reverse_bytes": "0x0001d973", - "sm_add_event_handler": "0x0001db11", - "sm_address_resolution_lookup": "0x0001dc69", - "sm_authenticated": "0x0001e011", - "sm_authorization_decline": "0x0001e01f", - "sm_authorization_grant": "0x0001e03f", - "sm_authorization_state": "0x0001e05f", - "sm_bonding_decline": "0x0001e079", - "sm_config": "0x0001e4d5", - "sm_config_conn": "0x0001e509", - "sm_encryption_key_size": "0x0001e6c3", - "sm_just_works_confirm": "0x0001ec49", - "sm_le_device_key": "0x0001ef89", - "sm_passkey_input": "0x0001f01f", - "sm_private_random_address_generation_get": "0x0001f3d9", - "sm_private_random_address_generation_get_mode": "0x0001f3e1", - "sm_private_random_address_generation_set_mode": "0x0001f3ed", - "sm_private_random_address_generation_set_update_period": "0x0001f415", - "sm_register_external_ltk_callback": "0x0001f551", - "sm_register_oob_data_callback": "0x0001f55d", - "sm_request_pairing": "0x0001f569", - "sm_send_security_request": "0x00020047", - "sm_set_accepted_stk_generation_methods": "0x0002006d", - "sm_set_authentication_requirements": "0x00020079", - "sm_set_encryption_key_size_range": "0x00020089", - "sscanf_bd_addr": "0x000203d5", - "sysSetPublicDeviceAddr": "0x00020789", - "uuid128_to_str": "0x00020d9d", - "uuid_add_bluetooth_prefix": "0x00020df5", - "uuid_has_bluetooth_prefix": "0x00020e15" + "platform_cancel_us_timer": "0x0001d1f7", + "platform_config": "0x0001d20d", + "platform_controller_run": "0x0001d331", + "platform_create_us_timer": "0x0001d365", + "platform_delete_timer": "0x0001d379", + "platform_enable_irq": "0x0001d381", + "platform_get_gen_os_driver": "0x0001d3b9", + "platform_get_link_layer_interf": "0x0001d3c5", + "platform_get_task_handle": "0x0001d3cd", + "platform_get_timer_counter": "0x0001d3e5", + "platform_get_us_time": "0x0001d3e9", + "platform_get_version": "0x0001d3ed", + "platform_hrng": "0x0001d3f5", + "platform_init_controller": "0x0001d3fd", + "platform_os_idle_resumed_hook": "0x0001d419", + "platform_patch_rf_init_data": "0x0001d41d", + "platform_post_sleep_processing": "0x0001d429", + "platform_pre_sleep_processing": "0x0001d42f", + "platform_pre_suppress_ticks_and_sleep_processing": "0x0001d435", + "platform_printf": "0x0001d439", + "platform_raise_assertion": "0x0001d44d", + "platform_rand": "0x0001d461", + "platform_read_info": "0x0001d465", + "platform_read_persistent_reg": "0x0001d495", + "platform_reset": "0x0001d4a5", + "platform_rt_rc_auto_tune": "0x0001d4c9", + "platform_rt_rc_auto_tune2": "0x0001d4d1", + "platform_rt_rc_tune": "0x0001d559", + "platform_set_abs_timer": "0x0001d56d", + "platform_set_evt_callback": "0x0001d571", + "platform_set_evt_callback_table": "0x0001d585", + "platform_set_irq_callback": "0x0001d591", + "platform_set_irq_callback_table": "0x0001d5ad", + "platform_set_rf_clk_source": "0x0001d5b9", + "platform_set_rf_init_data": "0x0001d5c5", + "platform_set_rf_power_mapping": "0x0001d5d1", + "platform_set_timer": "0x0001d5dd", + "platform_shutdown": "0x0001d5e1", + "platform_switch_app": "0x0001d5e5", + "platform_trace_raw": "0x0001d611", + "platform_write_persistent_reg": "0x0001d629", + "printf_hexdump": "0x0001d639", + "reverse_128": "0x0001d971", + "reverse_24": "0x0001d977", + "reverse_256": "0x0001d97d", + "reverse_48": "0x0001d983", + "reverse_56": "0x0001d989", + "reverse_64": "0x0001d98f", + "reverse_bd_addr": "0x0001d995", + "reverse_bytes": "0x0001d99b", + "sm_add_event_handler": "0x0001db39", + "sm_address_resolution_lookup": "0x0001dc91", + "sm_authenticated": "0x0001e039", + "sm_authorization_decline": "0x0001e047", + "sm_authorization_grant": "0x0001e067", + "sm_authorization_state": "0x0001e087", + "sm_bonding_decline": "0x0001e0a1", + "sm_config": "0x0001e4fd", + "sm_config_conn": "0x0001e531", + "sm_encryption_key_size": "0x0001e6eb", + "sm_just_works_confirm": "0x0001ec71", + "sm_le_device_key": "0x0001efb1", + "sm_passkey_input": "0x0001f047", + "sm_private_random_address_generation_get": "0x0001f401", + "sm_private_random_address_generation_get_mode": "0x0001f409", + "sm_private_random_address_generation_set_mode": "0x0001f415", + "sm_private_random_address_generation_set_update_period": "0x0001f43d", + "sm_register_external_ltk_callback": "0x0001f579", + "sm_register_oob_data_callback": "0x0001f585", + "sm_request_pairing": "0x0001f591", + "sm_send_security_request": "0x0002006f", + "sm_set_accepted_stk_generation_methods": "0x00020095", + "sm_set_authentication_requirements": "0x000200a1", + "sm_set_encryption_key_size_range": "0x000200b1", + "sscanf_bd_addr": "0x000203fd", + "sysSetPublicDeviceAddr": "0x000207b1", + "uuid128_to_str": "0x00020dc5", + "uuid_add_bluetooth_prefix": "0x00020e1d", + "uuid_has_bluetooth_prefix": "0x00020e3d" } \ No newline at end of file diff --git a/bundles/noos_mini/ING9187xx/meta.json b/bundles/noos_mini/ING9187xx/meta.json index 7cc0094f6..b74cc7f59 100644 --- a/bundles/noos_mini/ING9187xx/meta.json +++ b/bundles/noos_mini/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 124628 + "size": 124680 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_mini/ING9187xx/platform.bin b/bundles/noos_mini/ING9187xx/platform.bin index 5a13ce031..12d3643f3 100644 Binary files a/bundles/noos_mini/ING9187xx/platform.bin and b/bundles/noos_mini/ING9187xx/platform.bin differ diff --git a/bundles/noos_mini/ING9188xx/apis.json b/bundles/noos_mini/ING9188xx/apis.json index 490505ddc..444c2a126 100644 --- a/bundles/noos_mini/ING9188xx/apis.json +++ b/bundles/noos_mini/ING9188xx/apis.json @@ -187,81 +187,83 @@ "nibble_for_char": "0x0001e411", "platform_calibrate_rt_clk": "0x0001e49f", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001e4a5", - "platform_controller_run": "0x0001e5c9", - "platform_delete_timer": "0x0001e5fd", - "platform_enable_irq": "0x0001e605", - "platform_get_gen_os_driver": "0x0001e63d", - "platform_get_link_layer_interf": "0x0001e649", - "platform_get_task_handle": "0x0001e651", - "platform_get_timer_counter": "0x0001e669", - "platform_get_us_time": "0x0001e66d", - "platform_get_version": "0x0001e671", - "platform_hrng": "0x0001e679", - "platform_init_controller": "0x0001e681", - "platform_os_idle_resumed_hook": "0x0001e69d", - "platform_patch_rf_init_data": "0x0001e6a1", - "platform_post_sleep_processing": "0x0001e6ad", - "platform_pre_sleep_processing": "0x0001e6b3", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0001e6b9", - "platform_printf": "0x0001e6bd", - "platform_raise_assertion": "0x0001e6d1", - "platform_rand": "0x0001e6e5", - "platform_read_info": "0x0001e6e9", - "platform_read_persistent_reg": "0x0001e719", - "platform_reset": "0x0001e729", - "platform_rt_rc_auto_tune": "0x0001e74d", - "platform_rt_rc_auto_tune2": "0x0001e755", - "platform_rt_rc_tune": "0x0001e7dd", - "platform_set_abs_timer": "0x0001e7f1", - "platform_set_evt_callback": "0x0001e7f5", - "platform_set_evt_callback_table": "0x0001e809", - "platform_set_irq_callback": "0x0001e815", - "platform_set_irq_callback_table": "0x0001e831", - "platform_set_rf_clk_source": "0x0001e83d", - "platform_set_rf_init_data": "0x0001e849", - "platform_set_rf_power_mapping": "0x0001e855", - "platform_set_timer": "0x0001e861", - "platform_shutdown": "0x0001e865", - "platform_switch_app": "0x0001e869", - "platform_trace_raw": "0x0001e895", - "platform_write_persistent_reg": "0x0001e8ad", - "printf_hexdump": "0x0001e8bd", - "reverse_128": "0x0001ec2d", - "reverse_24": "0x0001ec33", - "reverse_256": "0x0001ec39", - "reverse_48": "0x0001ec3f", - "reverse_56": "0x0001ec45", - "reverse_64": "0x0001ec4b", - "reverse_bd_addr": "0x0001ec51", - "reverse_bytes": "0x0001ec57", - "sm_add_event_handler": "0x0001ef45", - "sm_address_resolution_lookup": "0x0001f09d", - "sm_authenticated": "0x0001f445", - "sm_authorization_decline": "0x0001f453", - "sm_authorization_grant": "0x0001f473", - "sm_authorization_state": "0x0001f493", - "sm_bonding_decline": "0x0001f4ad", - "sm_config": "0x0001f909", - "sm_config_conn": "0x0001f93d", - "sm_encryption_key_size": "0x0001faf7", - "sm_just_works_confirm": "0x0002007d", - "sm_le_device_key": "0x000203bd", - "sm_passkey_input": "0x00020453", - "sm_private_random_address_generation_get": "0x0002080d", - "sm_private_random_address_generation_get_mode": "0x00020815", - "sm_private_random_address_generation_set_mode": "0x00020821", - "sm_private_random_address_generation_set_update_period": "0x00020849", - "sm_register_external_ltk_callback": "0x00020985", - "sm_register_oob_data_callback": "0x00020991", - "sm_request_pairing": "0x0002099d", - "sm_send_security_request": "0x0002147b", - "sm_set_accepted_stk_generation_methods": "0x000214a1", - "sm_set_authentication_requirements": "0x000214ad", - "sm_set_encryption_key_size_range": "0x000214bd", - "sscanf_bd_addr": "0x00021809", - "sysSetPublicDeviceAddr": "0x00021bbd", - "uuid128_to_str": "0x00022369", - "uuid_add_bluetooth_prefix": "0x000223c1", - "uuid_has_bluetooth_prefix": "0x000223e1" + "platform_cancel_us_timer": "0x0001e4a3", + "platform_config": "0x0001e4b9", + "platform_controller_run": "0x0001e5dd", + "platform_create_us_timer": "0x0001e611", + "platform_delete_timer": "0x0001e625", + "platform_enable_irq": "0x0001e62d", + "platform_get_gen_os_driver": "0x0001e665", + "platform_get_link_layer_interf": "0x0001e671", + "platform_get_task_handle": "0x0001e679", + "platform_get_timer_counter": "0x0001e691", + "platform_get_us_time": "0x0001e695", + "platform_get_version": "0x0001e699", + "platform_hrng": "0x0001e6a1", + "platform_init_controller": "0x0001e6a9", + "platform_os_idle_resumed_hook": "0x0001e6c5", + "platform_patch_rf_init_data": "0x0001e6c9", + "platform_post_sleep_processing": "0x0001e6d5", + "platform_pre_sleep_processing": "0x0001e6db", + "platform_pre_suppress_ticks_and_sleep_processing": "0x0001e6e1", + "platform_printf": "0x0001e6e5", + "platform_raise_assertion": "0x0001e6f9", + "platform_rand": "0x0001e70d", + "platform_read_info": "0x0001e711", + "platform_read_persistent_reg": "0x0001e741", + "platform_reset": "0x0001e751", + "platform_rt_rc_auto_tune": "0x0001e775", + "platform_rt_rc_auto_tune2": "0x0001e77d", + "platform_rt_rc_tune": "0x0001e805", + "platform_set_abs_timer": "0x0001e819", + "platform_set_evt_callback": "0x0001e81d", + "platform_set_evt_callback_table": "0x0001e831", + "platform_set_irq_callback": "0x0001e83d", + "platform_set_irq_callback_table": "0x0001e859", + "platform_set_rf_clk_source": "0x0001e865", + "platform_set_rf_init_data": "0x0001e871", + "platform_set_rf_power_mapping": "0x0001e87d", + "platform_set_timer": "0x0001e889", + "platform_shutdown": "0x0001e88d", + "platform_switch_app": "0x0001e891", + "platform_trace_raw": "0x0001e8bd", + "platform_write_persistent_reg": "0x0001e8d5", + "printf_hexdump": "0x0001e8e5", + "reverse_128": "0x0001ec55", + "reverse_24": "0x0001ec5b", + "reverse_256": "0x0001ec61", + "reverse_48": "0x0001ec67", + "reverse_56": "0x0001ec6d", + "reverse_64": "0x0001ec73", + "reverse_bd_addr": "0x0001ec79", + "reverse_bytes": "0x0001ec7f", + "sm_add_event_handler": "0x0001ef6d", + "sm_address_resolution_lookup": "0x0001f0c5", + "sm_authenticated": "0x0001f46d", + "sm_authorization_decline": "0x0001f47b", + "sm_authorization_grant": "0x0001f49b", + "sm_authorization_state": "0x0001f4bb", + "sm_bonding_decline": "0x0001f4d5", + "sm_config": "0x0001f931", + "sm_config_conn": "0x0001f965", + "sm_encryption_key_size": "0x0001fb1f", + "sm_just_works_confirm": "0x000200a5", + "sm_le_device_key": "0x000203e5", + "sm_passkey_input": "0x0002047b", + "sm_private_random_address_generation_get": "0x00020835", + "sm_private_random_address_generation_get_mode": "0x0002083d", + "sm_private_random_address_generation_set_mode": "0x00020849", + "sm_private_random_address_generation_set_update_period": "0x00020871", + "sm_register_external_ltk_callback": "0x000209ad", + "sm_register_oob_data_callback": "0x000209b9", + "sm_request_pairing": "0x000209c5", + "sm_send_security_request": "0x000214a3", + "sm_set_accepted_stk_generation_methods": "0x000214c9", + "sm_set_authentication_requirements": "0x000214d5", + "sm_set_encryption_key_size_range": "0x000214e5", + "sscanf_bd_addr": "0x00021831", + "sysSetPublicDeviceAddr": "0x00021be5", + "uuid128_to_str": "0x00022391", + "uuid_add_bluetooth_prefix": "0x000223e9", + "uuid_has_bluetooth_prefix": "0x00022409" } \ No newline at end of file diff --git a/bundles/noos_mini/ING9188xx/meta.json b/bundles/noos_mini/ING9188xx/meta.json index 22305c406..b42a2ade7 100644 --- a/bundles/noos_mini/ING9188xx/meta.json +++ b/bundles/noos_mini/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 130664 + "size": 130720 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_mini/ING9188xx/platform.bin b/bundles/noos_mini/ING9188xx/platform.bin index 2a8f467f0..bd19a446c 100644 Binary files a/bundles/noos_mini/ING9188xx/platform.bin and b/bundles/noos_mini/ING9188xx/platform.bin differ diff --git a/bundles/noos_mini/inc/platform_api.h b/bundles/noos_mini/inc/platform_api.h index 6a5e776e5..839670c86 100644 --- a/bundles/noos_mini/inc/platform_api.h +++ b/bundles/noos_mini/inc/platform_api.h @@ -468,8 +468,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -775,6 +780,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/noos_typical/ING9168xx/apis.json b/bundles/noos_typical/ING9168xx/apis.json index cce9d5cbe..475fbc16b 100644 --- a/bundles/noos_typical/ING9168xx/apis.json +++ b/bundles/noos_typical/ING9168xx/apis.json @@ -188,81 +188,83 @@ "nibble_for_char": "0x0201fd4d", "platform_calibrate_rt_clk": "0x0201fde5", "platform_call_on_stack": "0x0200303f", - "platform_config": "0x0201fde9", - "platform_controller_run": "0x0201ff11", - "platform_delete_timer": "0x0201ff45", - "platform_enable_irq": "0x0201ff4d", - "platform_get_gen_os_driver": "0x0201ff81", - "platform_get_link_layer_interf": "0x0201ff8d", - "platform_get_task_handle": "0x0201ff95", - "platform_get_timer_counter": "0x0201ffad", - "platform_get_us_time": "0x0201ffb1", - "platform_get_version": "0x0201ffb5", - "platform_hrng": "0x0201ffd1", - "platform_init_controller": "0x0201ffd9", - "platform_os_idle_resumed_hook": "0x0201fff5", - "platform_patch_rf_init_data": "0x0201fff9", - "platform_post_sleep_processing": "0x02020005", - "platform_pre_sleep_processing": "0x0202000b", - "platform_pre_suppress_ticks_and_sleep_processing": "0x02020011", - "platform_printf": "0x02020015", - "platform_raise_assertion": "0x02020029", - "platform_rand": "0x0202003d", - "platform_read_info": "0x02020041", - "platform_read_persistent_reg": "0x02020071", - "platform_reset": "0x0202007d", - "platform_rt_rc_auto_tune": "0x02020091", - "platform_rt_rc_auto_tune2": "0x02020099", - "platform_rt_rc_tune": "0x02020101", - "platform_set_abs_timer": "0x0202011d", - "platform_set_evt_callback": "0x02020121", - "platform_set_evt_callback_table": "0x02020135", - "platform_set_irq_callback": "0x02020141", - "platform_set_irq_callback_table": "0x0202015d", - "platform_set_rf_clk_source": "0x02020169", - "platform_set_rf_init_data": "0x02020175", - "platform_set_rf_power_mapping": "0x02020181", - "platform_set_timer": "0x0202018d", - "platform_shutdown": "0x02020191", - "platform_switch_app": "0x02020195", - "platform_trace_raw": "0x020201ad", - "platform_write_persistent_reg": "0x020201c5", - "printf_hexdump": "0x020201d9", - "reverse_128": "0x02020551", - "reverse_24": "0x02020557", - "reverse_256": "0x0202055d", - "reverse_48": "0x02020563", - "reverse_56": "0x02020569", - "reverse_64": "0x0202056f", - "reverse_bd_addr": "0x02020575", - "reverse_bytes": "0x0202057b", - "sm_add_event_handler": "0x020208d9", - "sm_address_resolution_lookup": "0x02020a31", - "sm_authenticated": "0x02020dd9", - "sm_authorization_decline": "0x02020de7", - "sm_authorization_grant": "0x02020e07", - "sm_authorization_state": "0x02020e27", - "sm_bonding_decline": "0x02020e41", - "sm_config": "0x02021295", - "sm_config_conn": "0x020212c9", - "sm_encryption_key_size": "0x02021483", - "sm_just_works_confirm": "0x02021a09", - "sm_le_device_key": "0x02021d49", - "sm_passkey_input": "0x02021ddf", - "sm_private_random_address_generation_get": "0x02022199", - "sm_private_random_address_generation_get_mode": "0x020221a1", - "sm_private_random_address_generation_set_mode": "0x020221ad", - "sm_private_random_address_generation_set_update_period": "0x020221d5", - "sm_register_external_ltk_callback": "0x02022311", - "sm_register_oob_data_callback": "0x0202231d", - "sm_request_pairing": "0x02022329", - "sm_send_security_request": "0x02022e07", - "sm_set_accepted_stk_generation_methods": "0x02022e2d", - "sm_set_authentication_requirements": "0x02022e39", - "sm_set_encryption_key_size_range": "0x02022e49", - "sscanf_bd_addr": "0x02023199", - "sysSetPublicDeviceAddr": "0x020236c1", - "uuid128_to_str": "0x02023f1d", - "uuid_add_bluetooth_prefix": "0x02023f75", - "uuid_has_bluetooth_prefix": "0x02023f95" + "platform_cancel_us_timer": "0x0201fde9", + "platform_config": "0x0201fdfd", + "platform_controller_run": "0x0201ff31", + "platform_create_us_timer": "0x0201ff65", + "platform_delete_timer": "0x0201ff79", + "platform_enable_irq": "0x0201ff81", + "platform_get_gen_os_driver": "0x0201ffb5", + "platform_get_link_layer_interf": "0x0201ffc1", + "platform_get_task_handle": "0x0201ffc9", + "platform_get_timer_counter": "0x0201ffe1", + "platform_get_us_time": "0x0201ffe5", + "platform_get_version": "0x0201ffe9", + "platform_hrng": "0x02020005", + "platform_init_controller": "0x0202000d", + "platform_os_idle_resumed_hook": "0x02020029", + "platform_patch_rf_init_data": "0x0202002d", + "platform_post_sleep_processing": "0x02020039", + "platform_pre_sleep_processing": "0x0202003f", + "platform_pre_suppress_ticks_and_sleep_processing": "0x02020045", + "platform_printf": "0x02020049", + "platform_raise_assertion": "0x0202005d", + "platform_rand": "0x02020071", + "platform_read_info": "0x02020075", + "platform_read_persistent_reg": "0x020200a5", + "platform_reset": "0x020200b1", + "platform_rt_rc_auto_tune": "0x020200c5", + "platform_rt_rc_auto_tune2": "0x020200cd", + "platform_rt_rc_tune": "0x02020135", + "platform_set_abs_timer": "0x02020151", + "platform_set_evt_callback": "0x02020155", + "platform_set_evt_callback_table": "0x02020169", + "platform_set_irq_callback": "0x02020175", + "platform_set_irq_callback_table": "0x02020191", + "platform_set_rf_clk_source": "0x0202019d", + "platform_set_rf_init_data": "0x020201a9", + "platform_set_rf_power_mapping": "0x020201b5", + "platform_set_timer": "0x020201c1", + "platform_shutdown": "0x020201c5", + "platform_switch_app": "0x020201c9", + "platform_trace_raw": "0x020201e1", + "platform_write_persistent_reg": "0x020201f9", + "printf_hexdump": "0x0202020d", + "reverse_128": "0x02020585", + "reverse_24": "0x0202058b", + "reverse_256": "0x02020591", + "reverse_48": "0x02020597", + "reverse_56": "0x0202059d", + "reverse_64": "0x020205a3", + "reverse_bd_addr": "0x020205a9", + "reverse_bytes": "0x020205af", + "sm_add_event_handler": "0x0202090d", + "sm_address_resolution_lookup": "0x02020a65", + "sm_authenticated": "0x02020e0d", + "sm_authorization_decline": "0x02020e1b", + "sm_authorization_grant": "0x02020e3b", + "sm_authorization_state": "0x02020e5b", + "sm_bonding_decline": "0x02020e75", + "sm_config": "0x020212c9", + "sm_config_conn": "0x020212fd", + "sm_encryption_key_size": "0x020214b7", + "sm_just_works_confirm": "0x02021a3d", + "sm_le_device_key": "0x02021d7d", + "sm_passkey_input": "0x02021e13", + "sm_private_random_address_generation_get": "0x020221cd", + "sm_private_random_address_generation_get_mode": "0x020221d5", + "sm_private_random_address_generation_set_mode": "0x020221e1", + "sm_private_random_address_generation_set_update_period": "0x02022209", + "sm_register_external_ltk_callback": "0x02022345", + "sm_register_oob_data_callback": "0x02022351", + "sm_request_pairing": "0x0202235d", + "sm_send_security_request": "0x02022e3b", + "sm_set_accepted_stk_generation_methods": "0x02022e61", + "sm_set_authentication_requirements": "0x02022e6d", + "sm_set_encryption_key_size_range": "0x02022e7d", + "sscanf_bd_addr": "0x020231cd", + "sysSetPublicDeviceAddr": "0x02023709", + "uuid128_to_str": "0x02023f65", + "uuid_add_bluetooth_prefix": "0x02023fbd", + "uuid_has_bluetooth_prefix": "0x02023fdd" } \ No newline at end of file diff --git a/bundles/noos_typical/ING9168xx/meta.json b/bundles/noos_typical/ING9168xx/meta.json index 872ba3a15..f5b250ca6 100644 --- a/bundles/noos_typical/ING9168xx/meta.json +++ b/bundles/noos_typical/ING9168xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 33562624, - "size": 148412 + "size": 148496 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/noos_typical/ING9168xx/platform.bin b/bundles/noos_typical/ING9168xx/platform.bin index 5b058d54c..65386d1e9 100644 Binary files a/bundles/noos_typical/ING9168xx/platform.bin and b/bundles/noos_typical/ING9168xx/platform.bin differ diff --git a/bundles/noos_typical/ING9187xx/apis.json b/bundles/noos_typical/ING9187xx/apis.json index 536304836..786720083 100644 --- a/bundles/noos_typical/ING9187xx/apis.json +++ b/bundles/noos_typical/ING9187xx/apis.json @@ -173,81 +173,83 @@ "nibble_for_char": "0x0001d325", "platform_calibrate_rt_clk": "0x0001d3bf", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001d3c5", - "platform_controller_run": "0x0001d4e9", - "platform_delete_timer": "0x0001d51d", - "platform_enable_irq": "0x0001d525", - "platform_get_gen_os_driver": "0x0001d55d", - "platform_get_link_layer_interf": "0x0001d569", - "platform_get_task_handle": "0x0001d571", - "platform_get_timer_counter": "0x0001d589", - "platform_get_us_time": "0x0001d58d", - "platform_get_version": "0x0001d591", - "platform_hrng": "0x0001d599", - "platform_init_controller": "0x0001d5a1", - "platform_os_idle_resumed_hook": "0x0001d5bd", - "platform_patch_rf_init_data": "0x0001d5c1", - "platform_post_sleep_processing": "0x0001d5cd", - "platform_pre_sleep_processing": "0x0001d5d3", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0001d5d9", - "platform_printf": "0x0001d5dd", - "platform_raise_assertion": "0x0001d5f1", - "platform_rand": "0x0001d605", - "platform_read_info": "0x0001d609", - "platform_read_persistent_reg": "0x0001d639", - "platform_reset": "0x0001d649", - "platform_rt_rc_auto_tune": "0x0001d66d", - "platform_rt_rc_auto_tune2": "0x0001d675", - "platform_rt_rc_tune": "0x0001d6fd", - "platform_set_abs_timer": "0x0001d711", - "platform_set_evt_callback": "0x0001d715", - "platform_set_evt_callback_table": "0x0001d729", - "platform_set_irq_callback": "0x0001d735", - "platform_set_irq_callback_table": "0x0001d751", - "platform_set_rf_clk_source": "0x0001d75d", - "platform_set_rf_init_data": "0x0001d769", - "platform_set_rf_power_mapping": "0x0001d775", - "platform_set_timer": "0x0001d781", - "platform_shutdown": "0x0001d785", - "platform_switch_app": "0x0001d789", - "platform_trace_raw": "0x0001d7b5", - "platform_write_persistent_reg": "0x0001d7cd", - "printf_hexdump": "0x0001d7dd", - "reverse_128": "0x0001db1d", - "reverse_24": "0x0001db23", - "reverse_256": "0x0001db29", - "reverse_48": "0x0001db2f", - "reverse_56": "0x0001db35", - "reverse_64": "0x0001db3b", - "reverse_bd_addr": "0x0001db41", - "reverse_bytes": "0x0001db47", - "sm_add_event_handler": "0x0001dce5", - "sm_address_resolution_lookup": "0x0001de3d", - "sm_authenticated": "0x0001e1e5", - "sm_authorization_decline": "0x0001e1f3", - "sm_authorization_grant": "0x0001e213", - "sm_authorization_state": "0x0001e233", - "sm_bonding_decline": "0x0001e24d", - "sm_config": "0x0001e6a9", - "sm_config_conn": "0x0001e6dd", - "sm_encryption_key_size": "0x0001e897", - "sm_just_works_confirm": "0x0001ee1d", - "sm_le_device_key": "0x0001f15d", - "sm_passkey_input": "0x0001f1f3", - "sm_private_random_address_generation_get": "0x0001f5ad", - "sm_private_random_address_generation_get_mode": "0x0001f5b5", - "sm_private_random_address_generation_set_mode": "0x0001f5c1", - "sm_private_random_address_generation_set_update_period": "0x0001f5e9", - "sm_register_external_ltk_callback": "0x0001f725", - "sm_register_oob_data_callback": "0x0001f731", - "sm_request_pairing": "0x0001f73d", - "sm_send_security_request": "0x0002021b", - "sm_set_accepted_stk_generation_methods": "0x00020241", - "sm_set_authentication_requirements": "0x0002024d", - "sm_set_encryption_key_size_range": "0x0002025d", - "sscanf_bd_addr": "0x000205a9", - "sysSetPublicDeviceAddr": "0x0002095d", - "uuid128_to_str": "0x00020f71", - "uuid_add_bluetooth_prefix": "0x00020fc9", - "uuid_has_bluetooth_prefix": "0x00020fe9" + "platform_cancel_us_timer": "0x0001d3c3", + "platform_config": "0x0001d3d9", + "platform_controller_run": "0x0001d4fd", + "platform_create_us_timer": "0x0001d531", + "platform_delete_timer": "0x0001d545", + "platform_enable_irq": "0x0001d54d", + "platform_get_gen_os_driver": "0x0001d585", + "platform_get_link_layer_interf": "0x0001d591", + "platform_get_task_handle": "0x0001d599", + "platform_get_timer_counter": "0x0001d5b1", + "platform_get_us_time": "0x0001d5b5", + "platform_get_version": "0x0001d5b9", + "platform_hrng": "0x0001d5c1", + "platform_init_controller": "0x0001d5c9", + "platform_os_idle_resumed_hook": "0x0001d5e5", + "platform_patch_rf_init_data": "0x0001d5e9", + "platform_post_sleep_processing": "0x0001d5f5", + "platform_pre_sleep_processing": "0x0001d5fb", + "platform_pre_suppress_ticks_and_sleep_processing": "0x0001d601", + "platform_printf": "0x0001d605", + "platform_raise_assertion": "0x0001d619", + "platform_rand": "0x0001d62d", + "platform_read_info": "0x0001d631", + "platform_read_persistent_reg": "0x0001d661", + "platform_reset": "0x0001d671", + "platform_rt_rc_auto_tune": "0x0001d695", + "platform_rt_rc_auto_tune2": "0x0001d69d", + "platform_rt_rc_tune": "0x0001d725", + "platform_set_abs_timer": "0x0001d739", + "platform_set_evt_callback": "0x0001d73d", + "platform_set_evt_callback_table": "0x0001d751", + "platform_set_irq_callback": "0x0001d75d", + "platform_set_irq_callback_table": "0x0001d779", + "platform_set_rf_clk_source": "0x0001d785", + "platform_set_rf_init_data": "0x0001d791", + "platform_set_rf_power_mapping": "0x0001d79d", + "platform_set_timer": "0x0001d7a9", + "platform_shutdown": "0x0001d7ad", + "platform_switch_app": "0x0001d7b1", + "platform_trace_raw": "0x0001d7dd", + "platform_write_persistent_reg": "0x0001d7f5", + "printf_hexdump": "0x0001d805", + "reverse_128": "0x0001db45", + "reverse_24": "0x0001db4b", + "reverse_256": "0x0001db51", + "reverse_48": "0x0001db57", + "reverse_56": "0x0001db5d", + "reverse_64": "0x0001db63", + "reverse_bd_addr": "0x0001db69", + "reverse_bytes": "0x0001db6f", + "sm_add_event_handler": "0x0001dd0d", + "sm_address_resolution_lookup": "0x0001de65", + "sm_authenticated": "0x0001e20d", + "sm_authorization_decline": "0x0001e21b", + "sm_authorization_grant": "0x0001e23b", + "sm_authorization_state": "0x0001e25b", + "sm_bonding_decline": "0x0001e275", + "sm_config": "0x0001e6d1", + "sm_config_conn": "0x0001e705", + "sm_encryption_key_size": "0x0001e8bf", + "sm_just_works_confirm": "0x0001ee45", + "sm_le_device_key": "0x0001f185", + "sm_passkey_input": "0x0001f21b", + "sm_private_random_address_generation_get": "0x0001f5d5", + "sm_private_random_address_generation_get_mode": "0x0001f5dd", + "sm_private_random_address_generation_set_mode": "0x0001f5e9", + "sm_private_random_address_generation_set_update_period": "0x0001f611", + "sm_register_external_ltk_callback": "0x0001f74d", + "sm_register_oob_data_callback": "0x0001f759", + "sm_request_pairing": "0x0001f765", + "sm_send_security_request": "0x00020243", + "sm_set_accepted_stk_generation_methods": "0x00020269", + "sm_set_authentication_requirements": "0x00020275", + "sm_set_encryption_key_size_range": "0x00020285", + "sscanf_bd_addr": "0x000205d1", + "sysSetPublicDeviceAddr": "0x00020985", + "uuid128_to_str": "0x00020f99", + "uuid_add_bluetooth_prefix": "0x00020ff1", + "uuid_has_bluetooth_prefix": "0x00021011" } \ No newline at end of file diff --git a/bundles/noos_typical/ING9187xx/meta.json b/bundles/noos_typical/ING9187xx/meta.json index c7d87de4f..cec3f3466 100644 --- a/bundles/noos_typical/ING9187xx/meta.json +++ b/bundles/noos_typical/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 125104 + "size": 125152 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_typical/ING9187xx/platform.bin b/bundles/noos_typical/ING9187xx/platform.bin index a832a7b8f..916010739 100644 Binary files a/bundles/noos_typical/ING9187xx/platform.bin and b/bundles/noos_typical/ING9187xx/platform.bin differ diff --git a/bundles/noos_typical/ING9188xx/apis.json b/bundles/noos_typical/ING9188xx/apis.json index 33f21cff1..33ca241ff 100644 --- a/bundles/noos_typical/ING9188xx/apis.json +++ b/bundles/noos_typical/ING9188xx/apis.json @@ -187,81 +187,83 @@ "nibble_for_char": "0x0001e5dd", "platform_calibrate_rt_clk": "0x0001e677", "platform_call_on_stack": "0x000040ef", - "platform_config": "0x0001e67d", - "platform_controller_run": "0x0001e7a1", - "platform_delete_timer": "0x0001e7d5", - "platform_enable_irq": "0x0001e7dd", - "platform_get_gen_os_driver": "0x0001e815", - "platform_get_link_layer_interf": "0x0001e821", - "platform_get_task_handle": "0x0001e829", - "platform_get_timer_counter": "0x0001e841", - "platform_get_us_time": "0x0001e845", - "platform_get_version": "0x0001e849", - "platform_hrng": "0x0001e851", - "platform_init_controller": "0x0001e859", - "platform_os_idle_resumed_hook": "0x0001e875", - "platform_patch_rf_init_data": "0x0001e879", - "platform_post_sleep_processing": "0x0001e885", - "platform_pre_sleep_processing": "0x0001e88b", - "platform_pre_suppress_ticks_and_sleep_processing": "0x0001e891", - "platform_printf": "0x0001e895", - "platform_raise_assertion": "0x0001e8a9", - "platform_rand": "0x0001e8bd", - "platform_read_info": "0x0001e8c1", - "platform_read_persistent_reg": "0x0001e8f1", - "platform_reset": "0x0001e901", - "platform_rt_rc_auto_tune": "0x0001e925", - "platform_rt_rc_auto_tune2": "0x0001e92d", - "platform_rt_rc_tune": "0x0001e9b5", - "platform_set_abs_timer": "0x0001e9c9", - "platform_set_evt_callback": "0x0001e9cd", - "platform_set_evt_callback_table": "0x0001e9e1", - "platform_set_irq_callback": "0x0001e9ed", - "platform_set_irq_callback_table": "0x0001ea09", - "platform_set_rf_clk_source": "0x0001ea15", - "platform_set_rf_init_data": "0x0001ea21", - "platform_set_rf_power_mapping": "0x0001ea2d", - "platform_set_timer": "0x0001ea39", - "platform_shutdown": "0x0001ea3d", - "platform_switch_app": "0x0001ea41", - "platform_trace_raw": "0x0001ea6d", - "platform_write_persistent_reg": "0x0001ea85", - "printf_hexdump": "0x0001ea95", - "reverse_128": "0x0001ee0d", - "reverse_24": "0x0001ee13", - "reverse_256": "0x0001ee19", - "reverse_48": "0x0001ee1f", - "reverse_56": "0x0001ee25", - "reverse_64": "0x0001ee2b", - "reverse_bd_addr": "0x0001ee31", - "reverse_bytes": "0x0001ee37", - "sm_add_event_handler": "0x0001f125", - "sm_address_resolution_lookup": "0x0001f27d", - "sm_authenticated": "0x0001f625", - "sm_authorization_decline": "0x0001f633", - "sm_authorization_grant": "0x0001f653", - "sm_authorization_state": "0x0001f673", - "sm_bonding_decline": "0x0001f68d", - "sm_config": "0x0001fae9", - "sm_config_conn": "0x0001fb1d", - "sm_encryption_key_size": "0x0001fcd7", - "sm_just_works_confirm": "0x0002025d", - "sm_le_device_key": "0x0002059d", - "sm_passkey_input": "0x00020633", - "sm_private_random_address_generation_get": "0x000209ed", - "sm_private_random_address_generation_get_mode": "0x000209f5", - "sm_private_random_address_generation_set_mode": "0x00020a01", - "sm_private_random_address_generation_set_update_period": "0x00020a29", - "sm_register_external_ltk_callback": "0x00020b65", - "sm_register_oob_data_callback": "0x00020b71", - "sm_request_pairing": "0x00020b7d", - "sm_send_security_request": "0x0002165b", - "sm_set_accepted_stk_generation_methods": "0x00021681", - "sm_set_authentication_requirements": "0x0002168d", - "sm_set_encryption_key_size_range": "0x0002169d", - "sscanf_bd_addr": "0x000219e9", - "sysSetPublicDeviceAddr": "0x00021d9d", - "uuid128_to_str": "0x00022549", - "uuid_add_bluetooth_prefix": "0x000225a1", - "uuid_has_bluetooth_prefix": "0x000225c1" + "platform_cancel_us_timer": "0x0001e67b", + "platform_config": "0x0001e691", + "platform_controller_run": "0x0001e7b5", + "platform_create_us_timer": "0x0001e7e9", + "platform_delete_timer": "0x0001e7fd", + "platform_enable_irq": "0x0001e805", + "platform_get_gen_os_driver": "0x0001e83d", + "platform_get_link_layer_interf": "0x0001e849", + "platform_get_task_handle": "0x0001e851", + "platform_get_timer_counter": "0x0001e869", + "platform_get_us_time": "0x0001e86d", + "platform_get_version": "0x0001e871", + "platform_hrng": "0x0001e879", + "platform_init_controller": "0x0001e881", + "platform_os_idle_resumed_hook": "0x0001e89d", + "platform_patch_rf_init_data": "0x0001e8a1", + "platform_post_sleep_processing": "0x0001e8ad", + "platform_pre_sleep_processing": "0x0001e8b3", + "platform_pre_suppress_ticks_and_sleep_processing": "0x0001e8b9", + "platform_printf": "0x0001e8bd", + "platform_raise_assertion": "0x0001e8d1", + "platform_rand": "0x0001e8e5", + "platform_read_info": "0x0001e8e9", + "platform_read_persistent_reg": "0x0001e919", + "platform_reset": "0x0001e929", + "platform_rt_rc_auto_tune": "0x0001e94d", + "platform_rt_rc_auto_tune2": "0x0001e955", + "platform_rt_rc_tune": "0x0001e9dd", + "platform_set_abs_timer": "0x0001e9f1", + "platform_set_evt_callback": "0x0001e9f5", + "platform_set_evt_callback_table": "0x0001ea09", + "platform_set_irq_callback": "0x0001ea15", + "platform_set_irq_callback_table": "0x0001ea31", + "platform_set_rf_clk_source": "0x0001ea3d", + "platform_set_rf_init_data": "0x0001ea49", + "platform_set_rf_power_mapping": "0x0001ea55", + "platform_set_timer": "0x0001ea61", + "platform_shutdown": "0x0001ea65", + "platform_switch_app": "0x0001ea69", + "platform_trace_raw": "0x0001ea95", + "platform_write_persistent_reg": "0x0001eaad", + "printf_hexdump": "0x0001eabd", + "reverse_128": "0x0001ee35", + "reverse_24": "0x0001ee3b", + "reverse_256": "0x0001ee41", + "reverse_48": "0x0001ee47", + "reverse_56": "0x0001ee4d", + "reverse_64": "0x0001ee53", + "reverse_bd_addr": "0x0001ee59", + "reverse_bytes": "0x0001ee5f", + "sm_add_event_handler": "0x0001f14d", + "sm_address_resolution_lookup": "0x0001f2a5", + "sm_authenticated": "0x0001f64d", + "sm_authorization_decline": "0x0001f65b", + "sm_authorization_grant": "0x0001f67b", + "sm_authorization_state": "0x0001f69b", + "sm_bonding_decline": "0x0001f6b5", + "sm_config": "0x0001fb11", + "sm_config_conn": "0x0001fb45", + "sm_encryption_key_size": "0x0001fcff", + "sm_just_works_confirm": "0x00020285", + "sm_le_device_key": "0x000205c5", + "sm_passkey_input": "0x0002065b", + "sm_private_random_address_generation_get": "0x00020a15", + "sm_private_random_address_generation_get_mode": "0x00020a1d", + "sm_private_random_address_generation_set_mode": "0x00020a29", + "sm_private_random_address_generation_set_update_period": "0x00020a51", + "sm_register_external_ltk_callback": "0x00020b8d", + "sm_register_oob_data_callback": "0x00020b99", + "sm_request_pairing": "0x00020ba5", + "sm_send_security_request": "0x00021683", + "sm_set_accepted_stk_generation_methods": "0x000216a9", + "sm_set_authentication_requirements": "0x000216b5", + "sm_set_encryption_key_size_range": "0x000216c5", + "sscanf_bd_addr": "0x00021a11", + "sysSetPublicDeviceAddr": "0x00021dc5", + "uuid128_to_str": "0x00022571", + "uuid_add_bluetooth_prefix": "0x000225c9", + "uuid_has_bluetooth_prefix": "0x000225e9" } \ No newline at end of file diff --git a/bundles/noos_typical/ING9188xx/meta.json b/bundles/noos_typical/ING9188xx/meta.json index a2a7ec4e4..2684285e6 100644 --- a/bundles/noos_typical/ING9188xx/meta.json +++ b/bundles/noos_typical/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 131148 + "size": 131204 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/noos_typical/ING9188xx/platform.bin b/bundles/noos_typical/ING9188xx/platform.bin index bdd8e2a1e..857791612 100644 Binary files a/bundles/noos_typical/ING9188xx/platform.bin and b/bundles/noos_typical/ING9188xx/platform.bin differ diff --git a/bundles/noos_typical/inc/platform_api.h b/bundles/noos_typical/inc/platform_api.h index 6a5e776e5..839670c86 100644 --- a/bundles/noos_typical/inc/platform_api.h +++ b/bundles/noos_typical/inc/platform_api.h @@ -468,8 +468,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -775,6 +780,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/bundles/typical/ING9168xx/apis.json b/bundles/typical/ING9168xx/apis.json index f045eb41a..99fe4554f 100644 --- a/bundles/typical/ING9168xx/apis.json +++ b/bundles/typical/ING9168xx/apis.json @@ -189,159 +189,161 @@ "nibble_for_char": "0x0201fee1", "platform_calibrate_rt_clk": "0x0201ff8b", "platform_call_on_stack": "0x020030fb", - "platform_config": "0x0201ff91", - "platform_delete_timer": "0x020200b9", - "platform_enable_irq": "0x020200c1", - "platform_get_current_task": "0x020200f5", - "platform_get_gen_os_driver": "0x02020119", - "platform_get_heap_status": "0x02020121", - "platform_get_link_layer_interf": "0x02020139", - "platform_get_task_handle": "0x02020141", - "platform_get_timer_counter": "0x02020161", - "platform_get_us_time": "0x02020165", - "platform_get_version": "0x02020169", - "platform_hrng": "0x02020185", - "platform_install_isr_stack": "0x0202018d", - "platform_install_task_stack": "0x02020199", - "platform_patch_rf_init_data": "0x020201d1", - "platform_printf": "0x020201dd", - "platform_raise_assertion": "0x020201f1", - "platform_rand": "0x02020205", - "platform_read_info": "0x02020209", - "platform_read_persistent_reg": "0x02020239", - "platform_reset": "0x02020245", - "platform_rt_rc_auto_tune": "0x02020259", - "platform_rt_rc_auto_tune2": "0x02020261", - "platform_rt_rc_tune": "0x020202c9", - "platform_set_abs_timer": "0x020202e5", - "platform_set_evt_callback": "0x020202e9", - "platform_set_evt_callback_table": "0x020202fd", - "platform_set_irq_callback": "0x02020309", - "platform_set_irq_callback_table": "0x02020325", - "platform_set_rf_clk_source": "0x02020331", - "platform_set_rf_init_data": "0x0202033d", - "platform_set_rf_power_mapping": "0x02020349", - "platform_set_timer": "0x02020355", - "platform_shutdown": "0x02020359", - "platform_switch_app": "0x0202035d", - "platform_trace_raw": "0x02020375", - "platform_write_persistent_reg": "0x0202038d", - "printf_hexdump": "0x02020545", - "pvPortMalloc": "0x0202101d", - "pvTaskIncrementMutexHeldCount": "0x02021105", - "pvTimerGetTimerID": "0x0202111d", - "pxPortInitialiseStack": "0x02021149", - "reverse_128": "0x02021331", - "reverse_24": "0x02021337", - "reverse_256": "0x0202133d", - "reverse_48": "0x02021343", - "reverse_56": "0x02021349", - "reverse_64": "0x0202134f", - "reverse_bd_addr": "0x02021355", - "reverse_bytes": "0x0202135b", - "sm_add_event_handler": "0x020216b9", - "sm_address_resolution_lookup": "0x02021811", - "sm_authenticated": "0x02021bb9", - "sm_authorization_decline": "0x02021bc7", - "sm_authorization_grant": "0x02021be7", - "sm_authorization_state": "0x02021c07", - "sm_bonding_decline": "0x02021c21", - "sm_config": "0x02022075", - "sm_config_conn": "0x020220a9", - "sm_encryption_key_size": "0x02022263", - "sm_just_works_confirm": "0x020227e9", - "sm_le_device_key": "0x02022b29", - "sm_passkey_input": "0x02022bbf", - "sm_private_random_address_generation_get": "0x02022f79", - "sm_private_random_address_generation_get_mode": "0x02022f81", - "sm_private_random_address_generation_set_mode": "0x02022f8d", - "sm_private_random_address_generation_set_update_period": "0x02022fb5", - "sm_register_external_ltk_callback": "0x020230f1", - "sm_register_oob_data_callback": "0x020230fd", - "sm_request_pairing": "0x02023109", - "sm_send_security_request": "0x02023be7", - "sm_set_accepted_stk_generation_methods": "0x02023c0d", - "sm_set_authentication_requirements": "0x02023c19", - "sm_set_encryption_key_size_range": "0x02023c29", - "sscanf_bd_addr": "0x02023f79", - "sysSetPublicDeviceAddr": "0x020244a1", - "uuid128_to_str": "0x02024cfd", - "uuid_add_bluetooth_prefix": "0x02024d55", - "uuid_has_bluetooth_prefix": "0x02024d75", - "uxListRemove": "0x02024d91", - "uxQueueMessagesWaiting": "0x02024db9", - "uxQueueMessagesWaitingFromISR": "0x02024de1", - "uxQueueSpacesAvailable": "0x02024dfd", - "uxTaskGetStackHighWaterMark": "0x02024e29", - "uxTaskPriorityGet": "0x02024e49", - "uxTaskPriorityGetFromISR": "0x02024e65", - "vListInitialise": "0x02024f23", - "vListInitialiseItem": "0x02024f39", - "vListInsert": "0x02024f3f", - "vListInsertEnd": "0x02024f6f", - "vPortEndScheduler": "0x02024f89", - "vPortEnterCritical": "0x02024fb5", - "vPortExitCritical": "0x02024ff9", - "vPortFree": "0x0202502d", - "vPortSuppressTicksAndSleep": "0x020250d1", - "vPortValidateInterruptPriority": "0x020251f9", - "vQueueDelete": "0x02025255", - "vQueueWaitForMessageRestricted": "0x02025281", - "vTaskDelay": "0x020252c5", - "vTaskInternalSetTimeOutState": "0x02025311", - "vTaskMissedYield": "0x02025321", - "vTaskPlaceOnEventList": "0x0202532d", - "vTaskPlaceOnEventListRestricted": "0x02025365", - "vTaskPriorityDisinheritAfterTimeout": "0x020253a5", - "vTaskPrioritySet": "0x02025451", - "vTaskResume": "0x02025519", - "vTaskStartScheduler": "0x0202559d", - "vTaskStepTick": "0x0202562d", - "vTaskSuspend": "0x0202565d", - "vTaskSuspendAll": "0x02025719", - "vTaskSwitchContext": "0x02025729", - "xPortStartScheduler": "0x020257d9", - "xQueueAddToSet": "0x020258dd", - "xQueueCreateCountingSemaphore": "0x02025901", - "xQueueCreateCountingSemaphoreStatic": "0x0202593d", - "xQueueCreateMutex": "0x02025981", - "xQueueCreateMutexStatic": "0x02025997", - "xQueueCreateSet": "0x020259b1", - "xQueueGenericCreate": "0x020259b9", - "xQueueGenericCreateStatic": "0x02025a05", - "xQueueGenericReset": "0x02025a6d", - "xQueueGenericSend": "0x02025af9", - "xQueueGenericSendFromISR": "0x02025c65", - "xQueueGiveFromISR": "0x02025d25", - "xQueueGiveMutexRecursive": "0x02025dc9", - "xQueueIsQueueEmptyFromISR": "0x02025e09", - "xQueueIsQueueFullFromISR": "0x02025e2d", - "xQueuePeek": "0x02025e55", - "xQueuePeekFromISR": "0x02025f7d", - "xQueueReceive": "0x02025fe9", - "xQueueReceiveFromISR": "0x02026115", - "xQueueRemoveFromSet": "0x020261a9", - "xQueueSelectFromSet": "0x020261cb", - "xQueueSelectFromSetFromISR": "0x020261dd", - "xQueueSemaphoreTake": "0x020261f1", - "xQueueTakeMutexRecursive": "0x0202635d", - "xTaskCheckForTimeOut": "0x020263a1", - "xTaskCreate": "0x02026411", - "xTaskCreateStatic": "0x0202646d", - "xTaskGetCurrentTaskHandle": "0x020264dd", - "xTaskGetSchedulerState": "0x020264e9", - "xTaskGetTickCount": "0x02026505", - "xTaskGetTickCountFromISR": "0x02026511", - "xTaskIncrementTick": "0x02026521", - "xTaskPriorityDisinherit": "0x020265ed", - "xTaskPriorityInherit": "0x02026681", - "xTaskRemoveFromEventList": "0x02026715", - "xTaskResumeAll": "0x02026795", - "xTaskResumeFromISR": "0x0202685d", - "xTimerCreate": "0x020268e9", - "xTimerCreateStatic": "0x0202691d", - "xTimerCreateTimerTask": "0x02026955", - "xTimerGenericCommand": "0x020269c1", - "xTimerGetExpiryTime": "0x02026a31", - "xTimerGetTimerDaemonTaskHandle": "0x02026a51" + "platform_cancel_us_timer": "0x0201ff8f", + "platform_config": "0x0201ffa5", + "platform_create_us_timer": "0x020200d9", + "platform_delete_timer": "0x020200ed", + "platform_enable_irq": "0x020200f5", + "platform_get_current_task": "0x02020129", + "platform_get_gen_os_driver": "0x0202014d", + "platform_get_heap_status": "0x02020155", + "platform_get_link_layer_interf": "0x0202016d", + "platform_get_task_handle": "0x02020175", + "platform_get_timer_counter": "0x02020195", + "platform_get_us_time": "0x02020199", + "platform_get_version": "0x0202019d", + "platform_hrng": "0x020201b9", + "platform_install_isr_stack": "0x020201c1", + "platform_install_task_stack": "0x020201cd", + "platform_patch_rf_init_data": "0x02020205", + "platform_printf": "0x02020211", + "platform_raise_assertion": "0x02020225", + "platform_rand": "0x02020239", + "platform_read_info": "0x0202023d", + "platform_read_persistent_reg": "0x0202026d", + "platform_reset": "0x02020279", + "platform_rt_rc_auto_tune": "0x0202028d", + "platform_rt_rc_auto_tune2": "0x02020295", + "platform_rt_rc_tune": "0x020202fd", + "platform_set_abs_timer": "0x02020319", + "platform_set_evt_callback": "0x0202031d", + "platform_set_evt_callback_table": "0x02020331", + "platform_set_irq_callback": "0x0202033d", + "platform_set_irq_callback_table": "0x02020359", + "platform_set_rf_clk_source": "0x02020365", + "platform_set_rf_init_data": "0x02020371", + "platform_set_rf_power_mapping": "0x0202037d", + "platform_set_timer": "0x02020389", + "platform_shutdown": "0x0202038d", + "platform_switch_app": "0x02020391", + "platform_trace_raw": "0x020203a9", + "platform_write_persistent_reg": "0x020203c1", + "printf_hexdump": "0x02020579", + "pvPortMalloc": "0x02021051", + "pvTaskIncrementMutexHeldCount": "0x02021139", + "pvTimerGetTimerID": "0x02021151", + "pxPortInitialiseStack": "0x0202117d", + "reverse_128": "0x02021365", + "reverse_24": "0x0202136b", + "reverse_256": "0x02021371", + "reverse_48": "0x02021377", + "reverse_56": "0x0202137d", + "reverse_64": "0x02021383", + "reverse_bd_addr": "0x02021389", + "reverse_bytes": "0x0202138f", + "sm_add_event_handler": "0x020216ed", + "sm_address_resolution_lookup": "0x02021845", + "sm_authenticated": "0x02021bed", + "sm_authorization_decline": "0x02021bfb", + "sm_authorization_grant": "0x02021c1b", + "sm_authorization_state": "0x02021c3b", + "sm_bonding_decline": "0x02021c55", + "sm_config": "0x020220a9", + "sm_config_conn": "0x020220dd", + "sm_encryption_key_size": "0x02022297", + "sm_just_works_confirm": "0x0202281d", + "sm_le_device_key": "0x02022b5d", + "sm_passkey_input": "0x02022bf3", + "sm_private_random_address_generation_get": "0x02022fad", + "sm_private_random_address_generation_get_mode": "0x02022fb5", + "sm_private_random_address_generation_set_mode": "0x02022fc1", + "sm_private_random_address_generation_set_update_period": "0x02022fe9", + "sm_register_external_ltk_callback": "0x02023125", + "sm_register_oob_data_callback": "0x02023131", + "sm_request_pairing": "0x0202313d", + "sm_send_security_request": "0x02023c1b", + "sm_set_accepted_stk_generation_methods": "0x02023c41", + "sm_set_authentication_requirements": "0x02023c4d", + "sm_set_encryption_key_size_range": "0x02023c5d", + "sscanf_bd_addr": "0x02023fad", + "sysSetPublicDeviceAddr": "0x020244e9", + "uuid128_to_str": "0x02024d45", + "uuid_add_bluetooth_prefix": "0x02024d9d", + "uuid_has_bluetooth_prefix": "0x02024dbd", + "uxListRemove": "0x02024dd9", + "uxQueueMessagesWaiting": "0x02024e01", + "uxQueueMessagesWaitingFromISR": "0x02024e29", + "uxQueueSpacesAvailable": "0x02024e45", + "uxTaskGetStackHighWaterMark": "0x02024e71", + "uxTaskPriorityGet": "0x02024e91", + "uxTaskPriorityGetFromISR": "0x02024ead", + "vListInitialise": "0x02024f6b", + "vListInitialiseItem": "0x02024f81", + "vListInsert": "0x02024f87", + "vListInsertEnd": "0x02024fb7", + "vPortEndScheduler": "0x02024fd1", + "vPortEnterCritical": "0x02024ffd", + "vPortExitCritical": "0x02025041", + "vPortFree": "0x02025075", + "vPortSuppressTicksAndSleep": "0x02025119", + "vPortValidateInterruptPriority": "0x02025241", + "vQueueDelete": "0x0202529d", + "vQueueWaitForMessageRestricted": "0x020252c9", + "vTaskDelay": "0x0202530d", + "vTaskInternalSetTimeOutState": "0x02025359", + "vTaskMissedYield": "0x02025369", + "vTaskPlaceOnEventList": "0x02025375", + "vTaskPlaceOnEventListRestricted": "0x020253ad", + "vTaskPriorityDisinheritAfterTimeout": "0x020253ed", + "vTaskPrioritySet": "0x02025499", + "vTaskResume": "0x02025561", + "vTaskStartScheduler": "0x020255e5", + "vTaskStepTick": "0x02025675", + "vTaskSuspend": "0x020256a5", + "vTaskSuspendAll": "0x02025761", + "vTaskSwitchContext": "0x02025771", + "xPortStartScheduler": "0x02025821", + "xQueueAddToSet": "0x02025925", + "xQueueCreateCountingSemaphore": "0x02025949", + "xQueueCreateCountingSemaphoreStatic": "0x02025985", + "xQueueCreateMutex": "0x020259c9", + "xQueueCreateMutexStatic": "0x020259df", + "xQueueCreateSet": "0x020259f9", + "xQueueGenericCreate": "0x02025a01", + "xQueueGenericCreateStatic": "0x02025a4d", + "xQueueGenericReset": "0x02025ab5", + "xQueueGenericSend": "0x02025b41", + "xQueueGenericSendFromISR": "0x02025cad", + "xQueueGiveFromISR": "0x02025d6d", + "xQueueGiveMutexRecursive": "0x02025e11", + "xQueueIsQueueEmptyFromISR": "0x02025e51", + "xQueueIsQueueFullFromISR": "0x02025e75", + "xQueuePeek": "0x02025e9d", + "xQueuePeekFromISR": "0x02025fc5", + "xQueueReceive": "0x02026031", + "xQueueReceiveFromISR": "0x0202615d", + "xQueueRemoveFromSet": "0x020261f1", + "xQueueSelectFromSet": "0x02026213", + "xQueueSelectFromSetFromISR": "0x02026225", + "xQueueSemaphoreTake": "0x02026239", + "xQueueTakeMutexRecursive": "0x020263a5", + "xTaskCheckForTimeOut": "0x020263e9", + "xTaskCreate": "0x02026459", + "xTaskCreateStatic": "0x020264b5", + "xTaskGetCurrentTaskHandle": "0x02026525", + "xTaskGetSchedulerState": "0x02026531", + "xTaskGetTickCount": "0x0202654d", + "xTaskGetTickCountFromISR": "0x02026559", + "xTaskIncrementTick": "0x02026569", + "xTaskPriorityDisinherit": "0x02026635", + "xTaskPriorityInherit": "0x020266c9", + "xTaskRemoveFromEventList": "0x0202675d", + "xTaskResumeAll": "0x020267dd", + "xTaskResumeFromISR": "0x020268a5", + "xTimerCreate": "0x02026931", + "xTimerCreateStatic": "0x02026965", + "xTimerCreateTimerTask": "0x0202699d", + "xTimerGenericCommand": "0x02026a09", + "xTimerGetExpiryTime": "0x02026a79", + "xTimerGetTimerDaemonTaskHandle": "0x02026a99" } \ No newline at end of file diff --git a/bundles/typical/ING9168xx/meta.json b/bundles/typical/ING9168xx/meta.json index 2eb34dfc9..2d6810c6c 100644 --- a/bundles/typical/ING9168xx/meta.json +++ b/bundles/typical/ING9168xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 33562624, - "size": 159276 + "size": 159360 }, "version": [ 2, 3, - 6 + 8 ] } \ No newline at end of file diff --git a/bundles/typical/ING9168xx/platform.bin b/bundles/typical/ING9168xx/platform.bin index 514624f00..4726ea73c 100644 Binary files a/bundles/typical/ING9168xx/platform.bin and b/bundles/typical/ING9168xx/platform.bin differ diff --git a/bundles/typical/ING9187xx/apis.json b/bundles/typical/ING9187xx/apis.json index 4c7963d04..ec226ac43 100644 --- a/bundles/typical/ING9187xx/apis.json +++ b/bundles/typical/ING9187xx/apis.json @@ -174,159 +174,161 @@ "nibble_for_char": "0x0001d49d", "platform_calibrate_rt_clk": "0x0001d549", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001d54d", - "platform_delete_timer": "0x0001d671", - "platform_enable_irq": "0x0001d679", - "platform_get_current_task": "0x0001d6b1", - "platform_get_gen_os_driver": "0x0001d6d5", - "platform_get_heap_status": "0x0001d6dd", - "platform_get_link_layer_interf": "0x0001d6f5", - "platform_get_task_handle": "0x0001d6fd", - "platform_get_timer_counter": "0x0001d71d", - "platform_get_us_time": "0x0001d721", - "platform_get_version": "0x0001d725", - "platform_hrng": "0x0001d72d", - "platform_install_isr_stack": "0x0001d735", - "platform_install_task_stack": "0x0001d741", - "platform_patch_rf_init_data": "0x0001d779", - "platform_printf": "0x0001d785", - "platform_raise_assertion": "0x0001d799", - "platform_rand": "0x0001d7ad", - "platform_read_info": "0x0001d7b1", - "platform_read_persistent_reg": "0x0001d7e1", - "platform_reset": "0x0001d7f1", - "platform_rt_rc_auto_tune": "0x0001d815", - "platform_rt_rc_auto_tune2": "0x0001d81d", - "platform_rt_rc_tune": "0x0001d8a5", - "platform_set_abs_timer": "0x0001d8b9", - "platform_set_evt_callback": "0x0001d8bd", - "platform_set_evt_callback_table": "0x0001d8d1", - "platform_set_irq_callback": "0x0001d8dd", - "platform_set_irq_callback_table": "0x0001d8f9", - "platform_set_rf_clk_source": "0x0001d905", - "platform_set_rf_init_data": "0x0001d911", - "platform_set_rf_power_mapping": "0x0001d91d", - "platform_set_timer": "0x0001d929", - "platform_shutdown": "0x0001d92d", - "platform_switch_app": "0x0001d931", - "platform_trace_raw": "0x0001d95d", - "platform_write_persistent_reg": "0x0001d975", - "printf_hexdump": "0x0001db29", - "pvPortMalloc": "0x0001e61d", - "pvTaskIncrementMutexHeldCount": "0x0001e705", - "pvTimerGetTimerID": "0x0001e71d", - "pxPortInitialiseStack": "0x0001e749", - "reverse_128": "0x0001e8f1", - "reverse_24": "0x0001e8f7", - "reverse_256": "0x0001e8fd", - "reverse_48": "0x0001e903", - "reverse_56": "0x0001e909", - "reverse_64": "0x0001e90f", - "reverse_bd_addr": "0x0001e915", - "reverse_bytes": "0x0001e91b", - "sm_add_event_handler": "0x0001eab9", - "sm_address_resolution_lookup": "0x0001ec11", - "sm_authenticated": "0x0001efb9", - "sm_authorization_decline": "0x0001efc7", - "sm_authorization_grant": "0x0001efe7", - "sm_authorization_state": "0x0001f007", - "sm_bonding_decline": "0x0001f021", - "sm_config": "0x0001f47d", - "sm_config_conn": "0x0001f4b1", - "sm_encryption_key_size": "0x0001f66b", - "sm_just_works_confirm": "0x0001fbf1", - "sm_le_device_key": "0x0001ff31", - "sm_passkey_input": "0x0001ffc7", - "sm_private_random_address_generation_get": "0x00020381", - "sm_private_random_address_generation_get_mode": "0x00020389", - "sm_private_random_address_generation_set_mode": "0x00020395", - "sm_private_random_address_generation_set_update_period": "0x000203bd", - "sm_register_external_ltk_callback": "0x000204f9", - "sm_register_oob_data_callback": "0x00020505", - "sm_request_pairing": "0x00020511", - "sm_send_security_request": "0x00020fef", - "sm_set_accepted_stk_generation_methods": "0x00021015", - "sm_set_authentication_requirements": "0x00021021", - "sm_set_encryption_key_size_range": "0x00021031", - "sscanf_bd_addr": "0x0002137d", - "sysSetPublicDeviceAddr": "0x00021731", - "uuid128_to_str": "0x00021d45", - "uuid_add_bluetooth_prefix": "0x00021d9d", - "uuid_has_bluetooth_prefix": "0x00021dbd", - "uxListRemove": "0x00021dd9", - "uxQueueMessagesWaiting": "0x00021e01", - "uxQueueMessagesWaitingFromISR": "0x00021e29", - "uxQueueSpacesAvailable": "0x00021e45", - "uxTaskGetStackHighWaterMark": "0x00021e71", - "uxTaskPriorityGet": "0x00021e91", - "uxTaskPriorityGetFromISR": "0x00021ead", - "vListInitialise": "0x00021f67", - "vListInitialiseItem": "0x00021f7d", - "vListInsert": "0x00021f83", - "vListInsertEnd": "0x00021fb3", - "vPortEndScheduler": "0x00021fcd", - "vPortEnterCritical": "0x00021ff9", - "vPortExitCritical": "0x0002203d", - "vPortFree": "0x00022071", - "vPortSuppressTicksAndSleep": "0x00022105", - "vPortValidateInterruptPriority": "0x0002222d", - "vQueueDelete": "0x00022289", - "vQueueWaitForMessageRestricted": "0x000222b5", - "vTaskDelay": "0x000222fd", - "vTaskInternalSetTimeOutState": "0x00022349", - "vTaskMissedYield": "0x00022359", - "vTaskPlaceOnEventList": "0x00022365", - "vTaskPlaceOnEventListRestricted": "0x0002239d", - "vTaskPriorityDisinheritAfterTimeout": "0x000223dd", - "vTaskPrioritySet": "0x00022489", - "vTaskResume": "0x00022551", - "vTaskStartScheduler": "0x000225d5", - "vTaskStepTick": "0x00022665", - "vTaskSuspend": "0x00022695", - "vTaskSuspendAll": "0x00022751", - "vTaskSwitchContext": "0x00022761", - "xPortStartScheduler": "0x00022811", - "xQueueAddToSet": "0x000228d9", - "xQueueCreateCountingSemaphore": "0x000228fd", - "xQueueCreateCountingSemaphoreStatic": "0x00022939", - "xQueueCreateMutex": "0x0002297d", - "xQueueCreateMutexStatic": "0x00022993", - "xQueueCreateSet": "0x000229ad", - "xQueueGenericCreate": "0x000229b5", - "xQueueGenericCreateStatic": "0x00022a01", - "xQueueGenericReset": "0x00022a69", - "xQueueGenericSend": "0x00022af5", - "xQueueGenericSendFromISR": "0x00022c61", - "xQueueGiveFromISR": "0x00022d21", - "xQueueGiveMutexRecursive": "0x00022dc5", - "xQueueIsQueueEmptyFromISR": "0x00022e05", - "xQueueIsQueueFullFromISR": "0x00022e29", - "xQueuePeek": "0x00022e51", - "xQueuePeekFromISR": "0x00022f79", - "xQueueReceive": "0x00022fe5", - "xQueueReceiveFromISR": "0x00023111", - "xQueueRemoveFromSet": "0x000231a5", - "xQueueSelectFromSet": "0x000231c7", - "xQueueSelectFromSetFromISR": "0x000231d9", - "xQueueSemaphoreTake": "0x000231ed", - "xQueueTakeMutexRecursive": "0x00023359", - "xTaskCheckForTimeOut": "0x0002339d", - "xTaskCreate": "0x0002340d", - "xTaskCreateStatic": "0x00023469", - "xTaskGetCurrentTaskHandle": "0x000234d9", - "xTaskGetSchedulerState": "0x000234e5", - "xTaskGetTickCount": "0x00023501", - "xTaskGetTickCountFromISR": "0x0002350d", - "xTaskIncrementTick": "0x0002351d", - "xTaskPriorityDisinherit": "0x000235e9", - "xTaskPriorityInherit": "0x0002367d", - "xTaskRemoveFromEventList": "0x00023711", - "xTaskResumeAll": "0x00023791", - "xTaskResumeFromISR": "0x00023859", - "xTimerCreate": "0x000238e5", - "xTimerCreateStatic": "0x00023919", - "xTimerCreateTimerTask": "0x00023951", - "xTimerGenericCommand": "0x000239bd", - "xTimerGetExpiryTime": "0x00023a2d", - "xTimerGetTimerDaemonTaskHandle": "0x00023a4d" + "platform_cancel_us_timer": "0x0001d54d", + "platform_config": "0x0001d561", + "platform_create_us_timer": "0x0001d685", + "platform_delete_timer": "0x0001d699", + "platform_enable_irq": "0x0001d6a1", + "platform_get_current_task": "0x0001d6d9", + "platform_get_gen_os_driver": "0x0001d6fd", + "platform_get_heap_status": "0x0001d705", + "platform_get_link_layer_interf": "0x0001d71d", + "platform_get_task_handle": "0x0001d725", + "platform_get_timer_counter": "0x0001d745", + "platform_get_us_time": "0x0001d749", + "platform_get_version": "0x0001d74d", + "platform_hrng": "0x0001d755", + "platform_install_isr_stack": "0x0001d75d", + "platform_install_task_stack": "0x0001d769", + "platform_patch_rf_init_data": "0x0001d7a1", + "platform_printf": "0x0001d7ad", + "platform_raise_assertion": "0x0001d7c1", + "platform_rand": "0x0001d7d5", + "platform_read_info": "0x0001d7d9", + "platform_read_persistent_reg": "0x0001d809", + "platform_reset": "0x0001d819", + "platform_rt_rc_auto_tune": "0x0001d83d", + "platform_rt_rc_auto_tune2": "0x0001d845", + "platform_rt_rc_tune": "0x0001d8cd", + "platform_set_abs_timer": "0x0001d8e1", + "platform_set_evt_callback": "0x0001d8e5", + "platform_set_evt_callback_table": "0x0001d8f9", + "platform_set_irq_callback": "0x0001d905", + "platform_set_irq_callback_table": "0x0001d921", + "platform_set_rf_clk_source": "0x0001d92d", + "platform_set_rf_init_data": "0x0001d939", + "platform_set_rf_power_mapping": "0x0001d945", + "platform_set_timer": "0x0001d951", + "platform_shutdown": "0x0001d955", + "platform_switch_app": "0x0001d959", + "platform_trace_raw": "0x0001d985", + "platform_write_persistent_reg": "0x0001d99d", + "printf_hexdump": "0x0001db51", + "pvPortMalloc": "0x0001e645", + "pvTaskIncrementMutexHeldCount": "0x0001e72d", + "pvTimerGetTimerID": "0x0001e745", + "pxPortInitialiseStack": "0x0001e771", + "reverse_128": "0x0001e919", + "reverse_24": "0x0001e91f", + "reverse_256": "0x0001e925", + "reverse_48": "0x0001e92b", + "reverse_56": "0x0001e931", + "reverse_64": "0x0001e937", + "reverse_bd_addr": "0x0001e93d", + "reverse_bytes": "0x0001e943", + "sm_add_event_handler": "0x0001eae1", + "sm_address_resolution_lookup": "0x0001ec39", + "sm_authenticated": "0x0001efe1", + "sm_authorization_decline": "0x0001efef", + "sm_authorization_grant": "0x0001f00f", + "sm_authorization_state": "0x0001f02f", + "sm_bonding_decline": "0x0001f049", + "sm_config": "0x0001f4a5", + "sm_config_conn": "0x0001f4d9", + "sm_encryption_key_size": "0x0001f693", + "sm_just_works_confirm": "0x0001fc19", + "sm_le_device_key": "0x0001ff59", + "sm_passkey_input": "0x0001ffef", + "sm_private_random_address_generation_get": "0x000203a9", + "sm_private_random_address_generation_get_mode": "0x000203b1", + "sm_private_random_address_generation_set_mode": "0x000203bd", + "sm_private_random_address_generation_set_update_period": "0x000203e5", + "sm_register_external_ltk_callback": "0x00020521", + "sm_register_oob_data_callback": "0x0002052d", + "sm_request_pairing": "0x00020539", + "sm_send_security_request": "0x00021017", + "sm_set_accepted_stk_generation_methods": "0x0002103d", + "sm_set_authentication_requirements": "0x00021049", + "sm_set_encryption_key_size_range": "0x00021059", + "sscanf_bd_addr": "0x000213a5", + "sysSetPublicDeviceAddr": "0x00021759", + "uuid128_to_str": "0x00021d6d", + "uuid_add_bluetooth_prefix": "0x00021dc5", + "uuid_has_bluetooth_prefix": "0x00021de5", + "uxListRemove": "0x00021e01", + "uxQueueMessagesWaiting": "0x00021e29", + "uxQueueMessagesWaitingFromISR": "0x00021e51", + "uxQueueSpacesAvailable": "0x00021e6d", + "uxTaskGetStackHighWaterMark": "0x00021e99", + "uxTaskPriorityGet": "0x00021eb9", + "uxTaskPriorityGetFromISR": "0x00021ed5", + "vListInitialise": "0x00021f8f", + "vListInitialiseItem": "0x00021fa5", + "vListInsert": "0x00021fab", + "vListInsertEnd": "0x00021fdb", + "vPortEndScheduler": "0x00021ff5", + "vPortEnterCritical": "0x00022021", + "vPortExitCritical": "0x00022065", + "vPortFree": "0x00022099", + "vPortSuppressTicksAndSleep": "0x0002212d", + "vPortValidateInterruptPriority": "0x00022255", + "vQueueDelete": "0x000222b1", + "vQueueWaitForMessageRestricted": "0x000222dd", + "vTaskDelay": "0x00022325", + "vTaskInternalSetTimeOutState": "0x00022371", + "vTaskMissedYield": "0x00022381", + "vTaskPlaceOnEventList": "0x0002238d", + "vTaskPlaceOnEventListRestricted": "0x000223c5", + "vTaskPriorityDisinheritAfterTimeout": "0x00022405", + "vTaskPrioritySet": "0x000224b1", + "vTaskResume": "0x00022579", + "vTaskStartScheduler": "0x000225fd", + "vTaskStepTick": "0x0002268d", + "vTaskSuspend": "0x000226bd", + "vTaskSuspendAll": "0x00022779", + "vTaskSwitchContext": "0x00022789", + "xPortStartScheduler": "0x00022839", + "xQueueAddToSet": "0x00022901", + "xQueueCreateCountingSemaphore": "0x00022925", + "xQueueCreateCountingSemaphoreStatic": "0x00022961", + "xQueueCreateMutex": "0x000229a5", + "xQueueCreateMutexStatic": "0x000229bb", + "xQueueCreateSet": "0x000229d5", + "xQueueGenericCreate": "0x000229dd", + "xQueueGenericCreateStatic": "0x00022a29", + "xQueueGenericReset": "0x00022a91", + "xQueueGenericSend": "0x00022b1d", + "xQueueGenericSendFromISR": "0x00022c89", + "xQueueGiveFromISR": "0x00022d49", + "xQueueGiveMutexRecursive": "0x00022ded", + "xQueueIsQueueEmptyFromISR": "0x00022e2d", + "xQueueIsQueueFullFromISR": "0x00022e51", + "xQueuePeek": "0x00022e79", + "xQueuePeekFromISR": "0x00022fa1", + "xQueueReceive": "0x0002300d", + "xQueueReceiveFromISR": "0x00023139", + "xQueueRemoveFromSet": "0x000231cd", + "xQueueSelectFromSet": "0x000231ef", + "xQueueSelectFromSetFromISR": "0x00023201", + "xQueueSemaphoreTake": "0x00023215", + "xQueueTakeMutexRecursive": "0x00023381", + "xTaskCheckForTimeOut": "0x000233c5", + "xTaskCreate": "0x00023435", + "xTaskCreateStatic": "0x00023491", + "xTaskGetCurrentTaskHandle": "0x00023501", + "xTaskGetSchedulerState": "0x0002350d", + "xTaskGetTickCount": "0x00023529", + "xTaskGetTickCountFromISR": "0x00023535", + "xTaskIncrementTick": "0x00023545", + "xTaskPriorityDisinherit": "0x00023611", + "xTaskPriorityInherit": "0x000236a5", + "xTaskRemoveFromEventList": "0x00023739", + "xTaskResumeAll": "0x000237b9", + "xTaskResumeFromISR": "0x00023881", + "xTimerCreate": "0x0002390d", + "xTimerCreateStatic": "0x00023941", + "xTimerCreateTimerTask": "0x00023979", + "xTimerGenericCommand": "0x000239e5", + "xTimerGetExpiryTime": "0x00023a55", + "xTimerGetTimerDaemonTaskHandle": "0x00023a75" } \ No newline at end of file diff --git a/bundles/typical/ING9187xx/meta.json b/bundles/typical/ING9187xx/meta.json index 5b0bf4706..0da088e2a 100644 --- a/bundles/typical/ING9187xx/meta.json +++ b/bundles/typical/ING9187xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 135884 + "size": 135932 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/typical/ING9187xx/platform.bin b/bundles/typical/ING9187xx/platform.bin index f84a83204..9204baafc 100644 Binary files a/bundles/typical/ING9187xx/platform.bin and b/bundles/typical/ING9187xx/platform.bin differ diff --git a/bundles/typical/ING9188xx/apis.json b/bundles/typical/ING9188xx/apis.json index fd5850b16..5ecabad73 100644 --- a/bundles/typical/ING9188xx/apis.json +++ b/bundles/typical/ING9188xx/apis.json @@ -188,159 +188,161 @@ "nibble_for_char": "0x0001e755", "platform_calibrate_rt_clk": "0x0001e801", "platform_call_on_stack": "0x00004183", - "platform_config": "0x0001e805", - "platform_delete_timer": "0x0001e929", - "platform_enable_irq": "0x0001e931", - "platform_get_current_task": "0x0001e969", - "platform_get_gen_os_driver": "0x0001e98d", - "platform_get_heap_status": "0x0001e995", - "platform_get_link_layer_interf": "0x0001e9ad", - "platform_get_task_handle": "0x0001e9b5", - "platform_get_timer_counter": "0x0001e9d5", - "platform_get_us_time": "0x0001e9d9", - "platform_get_version": "0x0001e9dd", - "platform_hrng": "0x0001e9e5", - "platform_install_isr_stack": "0x0001e9ed", - "platform_install_task_stack": "0x0001e9f9", - "platform_patch_rf_init_data": "0x0001ea31", - "platform_printf": "0x0001ea3d", - "platform_raise_assertion": "0x0001ea51", - "platform_rand": "0x0001ea65", - "platform_read_info": "0x0001ea69", - "platform_read_persistent_reg": "0x0001ea99", - "platform_reset": "0x0001eaa9", - "platform_rt_rc_auto_tune": "0x0001eacd", - "platform_rt_rc_auto_tune2": "0x0001ead5", - "platform_rt_rc_tune": "0x0001eb5d", - "platform_set_abs_timer": "0x0001eb71", - "platform_set_evt_callback": "0x0001eb75", - "platform_set_evt_callback_table": "0x0001eb89", - "platform_set_irq_callback": "0x0001eb95", - "platform_set_irq_callback_table": "0x0001ebb1", - "platform_set_rf_clk_source": "0x0001ebbd", - "platform_set_rf_init_data": "0x0001ebc9", - "platform_set_rf_power_mapping": "0x0001ebd5", - "platform_set_timer": "0x0001ebe1", - "platform_shutdown": "0x0001ebe5", - "platform_switch_app": "0x0001ebe9", - "platform_trace_raw": "0x0001ec15", - "platform_write_persistent_reg": "0x0001ec2d", - "printf_hexdump": "0x0001ede1", - "pvPortMalloc": "0x0001f8d5", - "pvTaskIncrementMutexHeldCount": "0x0001f9bd", - "pvTimerGetTimerID": "0x0001f9d5", - "pxPortInitialiseStack": "0x0001fa01", - "reverse_128": "0x0001fbe1", - "reverse_24": "0x0001fbe7", - "reverse_256": "0x0001fbed", - "reverse_48": "0x0001fbf3", - "reverse_56": "0x0001fbf9", - "reverse_64": "0x0001fbff", - "reverse_bd_addr": "0x0001fc05", - "reverse_bytes": "0x0001fc0b", - "sm_add_event_handler": "0x0001fef9", - "sm_address_resolution_lookup": "0x00020051", - "sm_authenticated": "0x000203f9", - "sm_authorization_decline": "0x00020407", - "sm_authorization_grant": "0x00020427", - "sm_authorization_state": "0x00020447", - "sm_bonding_decline": "0x00020461", - "sm_config": "0x000208bd", - "sm_config_conn": "0x000208f1", - "sm_encryption_key_size": "0x00020aab", - "sm_just_works_confirm": "0x00021031", - "sm_le_device_key": "0x00021371", - "sm_passkey_input": "0x00021407", - "sm_private_random_address_generation_get": "0x000217c1", - "sm_private_random_address_generation_get_mode": "0x000217c9", - "sm_private_random_address_generation_set_mode": "0x000217d5", - "sm_private_random_address_generation_set_update_period": "0x000217fd", - "sm_register_external_ltk_callback": "0x00021939", - "sm_register_oob_data_callback": "0x00021945", - "sm_request_pairing": "0x00021951", - "sm_send_security_request": "0x0002242f", - "sm_set_accepted_stk_generation_methods": "0x00022455", - "sm_set_authentication_requirements": "0x00022461", - "sm_set_encryption_key_size_range": "0x00022471", - "sscanf_bd_addr": "0x000227bd", - "sysSetPublicDeviceAddr": "0x00022b71", - "uuid128_to_str": "0x0002331d", - "uuid_add_bluetooth_prefix": "0x00023375", - "uuid_has_bluetooth_prefix": "0x00023395", - "uxListRemove": "0x000233b1", - "uxQueueMessagesWaiting": "0x000233d9", - "uxQueueMessagesWaitingFromISR": "0x00023401", - "uxQueueSpacesAvailable": "0x0002341d", - "uxTaskGetStackHighWaterMark": "0x00023449", - "uxTaskPriorityGet": "0x00023469", - "uxTaskPriorityGetFromISR": "0x00023485", - "vListInitialise": "0x0002353f", - "vListInitialiseItem": "0x00023555", - "vListInsert": "0x0002355b", - "vListInsertEnd": "0x0002358b", - "vPortEndScheduler": "0x000235a5", - "vPortEnterCritical": "0x000235d1", - "vPortExitCritical": "0x00023615", - "vPortFree": "0x00023649", - "vPortSuppressTicksAndSleep": "0x000236dd", - "vPortValidateInterruptPriority": "0x00023805", - "vQueueDelete": "0x00023861", - "vQueueWaitForMessageRestricted": "0x0002388d", - "vTaskDelay": "0x000238d5", - "vTaskInternalSetTimeOutState": "0x00023921", - "vTaskMissedYield": "0x00023931", - "vTaskPlaceOnEventList": "0x0002393d", - "vTaskPlaceOnEventListRestricted": "0x00023975", - "vTaskPriorityDisinheritAfterTimeout": "0x000239b5", - "vTaskPrioritySet": "0x00023a61", - "vTaskResume": "0x00023b29", - "vTaskStartScheduler": "0x00023bad", - "vTaskStepTick": "0x00023c3d", - "vTaskSuspend": "0x00023c6d", - "vTaskSuspendAll": "0x00023d29", - "vTaskSwitchContext": "0x00023d39", - "xPortStartScheduler": "0x00023de9", - "xQueueAddToSet": "0x00023eb1", - "xQueueCreateCountingSemaphore": "0x00023ed5", - "xQueueCreateCountingSemaphoreStatic": "0x00023f11", - "xQueueCreateMutex": "0x00023f55", - "xQueueCreateMutexStatic": "0x00023f6b", - "xQueueCreateSet": "0x00023f85", - "xQueueGenericCreate": "0x00023f8d", - "xQueueGenericCreateStatic": "0x00023fd9", - "xQueueGenericReset": "0x00024041", - "xQueueGenericSend": "0x000240cd", - "xQueueGenericSendFromISR": "0x00024239", - "xQueueGiveFromISR": "0x000242f9", - "xQueueGiveMutexRecursive": "0x0002439d", - "xQueueIsQueueEmptyFromISR": "0x000243dd", - "xQueueIsQueueFullFromISR": "0x00024401", - "xQueuePeek": "0x00024429", - "xQueuePeekFromISR": "0x00024551", - "xQueueReceive": "0x000245bd", - "xQueueReceiveFromISR": "0x000246e9", - "xQueueRemoveFromSet": "0x0002477d", - "xQueueSelectFromSet": "0x0002479f", - "xQueueSelectFromSetFromISR": "0x000247b1", - "xQueueSemaphoreTake": "0x000247c5", - "xQueueTakeMutexRecursive": "0x00024931", - "xTaskCheckForTimeOut": "0x00024975", - "xTaskCreate": "0x000249e5", - "xTaskCreateStatic": "0x00024a41", - "xTaskGetCurrentTaskHandle": "0x00024ab1", - "xTaskGetSchedulerState": "0x00024abd", - "xTaskGetTickCount": "0x00024ad9", - "xTaskGetTickCountFromISR": "0x00024ae5", - "xTaskIncrementTick": "0x00024af5", - "xTaskPriorityDisinherit": "0x00024bc1", - "xTaskPriorityInherit": "0x00024c55", - "xTaskRemoveFromEventList": "0x00024ce9", - "xTaskResumeAll": "0x00024d69", - "xTaskResumeFromISR": "0x00024e31", - "xTimerCreate": "0x00024ebd", - "xTimerCreateStatic": "0x00024ef1", - "xTimerCreateTimerTask": "0x00024f29", - "xTimerGenericCommand": "0x00024f95", - "xTimerGetExpiryTime": "0x00025005", - "xTimerGetTimerDaemonTaskHandle": "0x00025025" + "platform_cancel_us_timer": "0x0001e805", + "platform_config": "0x0001e819", + "platform_create_us_timer": "0x0001e93d", + "platform_delete_timer": "0x0001e951", + "platform_enable_irq": "0x0001e959", + "platform_get_current_task": "0x0001e991", + "platform_get_gen_os_driver": "0x0001e9b5", + "platform_get_heap_status": "0x0001e9bd", + "platform_get_link_layer_interf": "0x0001e9d5", + "platform_get_task_handle": "0x0001e9dd", + "platform_get_timer_counter": "0x0001e9fd", + "platform_get_us_time": "0x0001ea01", + "platform_get_version": "0x0001ea05", + "platform_hrng": "0x0001ea0d", + "platform_install_isr_stack": "0x0001ea15", + "platform_install_task_stack": "0x0001ea21", + "platform_patch_rf_init_data": "0x0001ea59", + "platform_printf": "0x0001ea65", + "platform_raise_assertion": "0x0001ea79", + "platform_rand": "0x0001ea8d", + "platform_read_info": "0x0001ea91", + "platform_read_persistent_reg": "0x0001eac1", + "platform_reset": "0x0001ead1", + "platform_rt_rc_auto_tune": "0x0001eaf5", + "platform_rt_rc_auto_tune2": "0x0001eafd", + "platform_rt_rc_tune": "0x0001eb85", + "platform_set_abs_timer": "0x0001eb99", + "platform_set_evt_callback": "0x0001eb9d", + "platform_set_evt_callback_table": "0x0001ebb1", + "platform_set_irq_callback": "0x0001ebbd", + "platform_set_irq_callback_table": "0x0001ebd9", + "platform_set_rf_clk_source": "0x0001ebe5", + "platform_set_rf_init_data": "0x0001ebf1", + "platform_set_rf_power_mapping": "0x0001ebfd", + "platform_set_timer": "0x0001ec09", + "platform_shutdown": "0x0001ec0d", + "platform_switch_app": "0x0001ec11", + "platform_trace_raw": "0x0001ec3d", + "platform_write_persistent_reg": "0x0001ec55", + "printf_hexdump": "0x0001ee09", + "pvPortMalloc": "0x0001f8fd", + "pvTaskIncrementMutexHeldCount": "0x0001f9e5", + "pvTimerGetTimerID": "0x0001f9fd", + "pxPortInitialiseStack": "0x0001fa29", + "reverse_128": "0x0001fc09", + "reverse_24": "0x0001fc0f", + "reverse_256": "0x0001fc15", + "reverse_48": "0x0001fc1b", + "reverse_56": "0x0001fc21", + "reverse_64": "0x0001fc27", + "reverse_bd_addr": "0x0001fc2d", + "reverse_bytes": "0x0001fc33", + "sm_add_event_handler": "0x0001ff21", + "sm_address_resolution_lookup": "0x00020079", + "sm_authenticated": "0x00020421", + "sm_authorization_decline": "0x0002042f", + "sm_authorization_grant": "0x0002044f", + "sm_authorization_state": "0x0002046f", + "sm_bonding_decline": "0x00020489", + "sm_config": "0x000208e5", + "sm_config_conn": "0x00020919", + "sm_encryption_key_size": "0x00020ad3", + "sm_just_works_confirm": "0x00021059", + "sm_le_device_key": "0x00021399", + "sm_passkey_input": "0x0002142f", + "sm_private_random_address_generation_get": "0x000217e9", + "sm_private_random_address_generation_get_mode": "0x000217f1", + "sm_private_random_address_generation_set_mode": "0x000217fd", + "sm_private_random_address_generation_set_update_period": "0x00021825", + "sm_register_external_ltk_callback": "0x00021961", + "sm_register_oob_data_callback": "0x0002196d", + "sm_request_pairing": "0x00021979", + "sm_send_security_request": "0x00022457", + "sm_set_accepted_stk_generation_methods": "0x0002247d", + "sm_set_authentication_requirements": "0x00022489", + "sm_set_encryption_key_size_range": "0x00022499", + "sscanf_bd_addr": "0x000227e5", + "sysSetPublicDeviceAddr": "0x00022b99", + "uuid128_to_str": "0x00023345", + "uuid_add_bluetooth_prefix": "0x0002339d", + "uuid_has_bluetooth_prefix": "0x000233bd", + "uxListRemove": "0x000233d9", + "uxQueueMessagesWaiting": "0x00023401", + "uxQueueMessagesWaitingFromISR": "0x00023429", + "uxQueueSpacesAvailable": "0x00023445", + "uxTaskGetStackHighWaterMark": "0x00023471", + "uxTaskPriorityGet": "0x00023491", + "uxTaskPriorityGetFromISR": "0x000234ad", + "vListInitialise": "0x00023567", + "vListInitialiseItem": "0x0002357d", + "vListInsert": "0x00023583", + "vListInsertEnd": "0x000235b3", + "vPortEndScheduler": "0x000235cd", + "vPortEnterCritical": "0x000235f9", + "vPortExitCritical": "0x0002363d", + "vPortFree": "0x00023671", + "vPortSuppressTicksAndSleep": "0x00023705", + "vPortValidateInterruptPriority": "0x0002382d", + "vQueueDelete": "0x00023889", + "vQueueWaitForMessageRestricted": "0x000238b5", + "vTaskDelay": "0x000238fd", + "vTaskInternalSetTimeOutState": "0x00023949", + "vTaskMissedYield": "0x00023959", + "vTaskPlaceOnEventList": "0x00023965", + "vTaskPlaceOnEventListRestricted": "0x0002399d", + "vTaskPriorityDisinheritAfterTimeout": "0x000239dd", + "vTaskPrioritySet": "0x00023a89", + "vTaskResume": "0x00023b51", + "vTaskStartScheduler": "0x00023bd5", + "vTaskStepTick": "0x00023c65", + "vTaskSuspend": "0x00023c95", + "vTaskSuspendAll": "0x00023d51", + "vTaskSwitchContext": "0x00023d61", + "xPortStartScheduler": "0x00023e11", + "xQueueAddToSet": "0x00023ed9", + "xQueueCreateCountingSemaphore": "0x00023efd", + "xQueueCreateCountingSemaphoreStatic": "0x00023f39", + "xQueueCreateMutex": "0x00023f7d", + "xQueueCreateMutexStatic": "0x00023f93", + "xQueueCreateSet": "0x00023fad", + "xQueueGenericCreate": "0x00023fb5", + "xQueueGenericCreateStatic": "0x00024001", + "xQueueGenericReset": "0x00024069", + "xQueueGenericSend": "0x000240f5", + "xQueueGenericSendFromISR": "0x00024261", + "xQueueGiveFromISR": "0x00024321", + "xQueueGiveMutexRecursive": "0x000243c5", + "xQueueIsQueueEmptyFromISR": "0x00024405", + "xQueueIsQueueFullFromISR": "0x00024429", + "xQueuePeek": "0x00024451", + "xQueuePeekFromISR": "0x00024579", + "xQueueReceive": "0x000245e5", + "xQueueReceiveFromISR": "0x00024711", + "xQueueRemoveFromSet": "0x000247a5", + "xQueueSelectFromSet": "0x000247c7", + "xQueueSelectFromSetFromISR": "0x000247d9", + "xQueueSemaphoreTake": "0x000247ed", + "xQueueTakeMutexRecursive": "0x00024959", + "xTaskCheckForTimeOut": "0x0002499d", + "xTaskCreate": "0x00024a0d", + "xTaskCreateStatic": "0x00024a69", + "xTaskGetCurrentTaskHandle": "0x00024ad9", + "xTaskGetSchedulerState": "0x00024ae5", + "xTaskGetTickCount": "0x00024b01", + "xTaskGetTickCountFromISR": "0x00024b0d", + "xTaskIncrementTick": "0x00024b1d", + "xTaskPriorityDisinherit": "0x00024be9", + "xTaskPriorityInherit": "0x00024c7d", + "xTaskRemoveFromEventList": "0x00024d11", + "xTaskResumeAll": "0x00024d91", + "xTaskResumeFromISR": "0x00024e59", + "xTimerCreate": "0x00024ee5", + "xTimerCreateStatic": "0x00024f19", + "xTimerCreateTimerTask": "0x00024f51", + "xTimerGenericCommand": "0x00024fbd", + "xTimerGetExpiryTime": "0x0002502d", + "xTimerGetTimerDaemonTaskHandle": "0x0002504d" } \ No newline at end of file diff --git a/bundles/typical/ING9188xx/meta.json b/bundles/typical/ING9188xx/meta.json index 24bd79d62..dad9d8e7c 100644 --- a/bundles/typical/ING9188xx/meta.json +++ b/bundles/typical/ING9188xx/meta.json @@ -8,11 +8,11 @@ }, "rom": { "base": 16384, - "size": 141928 + "size": 141984 }, "version": [ 1, 9, - 45 + 46 ] } \ No newline at end of file diff --git a/bundles/typical/ING9188xx/platform.bin b/bundles/typical/ING9188xx/platform.bin index 6af785c96..54eb920cb 100644 Binary files a/bundles/typical/ING9188xx/platform.bin and b/bundles/typical/ING9188xx/platform.bin differ diff --git a/bundles/typical/inc/platform_api.h b/bundles/typical/inc/platform_api.h index b16a6c17c..27b03f259 100644 --- a/bundles/typical/inc/platform_api.h +++ b/bundles/typical/inc/platform_api.h @@ -464,8 +464,13 @@ typedef enum PLATFORM_CFG_PS_DBG_4, // Debugging parameters for ING916. Default (0) // Bit [0]: `platform_shutdown` uses DEEPER SLEEP (1) or SLEEP (0) PLATFORM_CFG_FAST_DEEP_SLEEP_TIME_REDUCTION, // sleep time reduction (fast deep sleep mode) in us. - // Requirement: < PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // Requirement: <= PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION + // When equal to PLATFORM_CFG_DEEP_SLEEP_TIME_REDUCTION, fast deep sleep mode is not used // Only available for ING916 (default: ~2000us) + PLATFORM_CFG_AUTO_REDUCE_CLOCK_FREQ, // automatic reduce CPU clock frequency in these circumstances: + // * the default IDLE procedure + // * when entering sleep modes + // Only available for ING916 (default: Enabled) } platform_cfg_item_t; typedef enum @@ -783,6 +788,55 @@ void platform_set_abs_timer(f_platform_timer_callback callback, uint32_t abs_tim */ void platform_delete_timer(f_platform_timer_callback callback); +typedef void * platform_us_timer_handle_t; + +/** + **************************************************************************************** + * @brief Callback function of microsecond (us) resolution timer + * + * @param[in] timer_handle handle of this timer + * @param[in] time_us internal timer counter when invoke this callback + * @param[in] param user parameter + * @return (must be NULL) + **************************************************************************************** + */ +typedef void * (* f_platform_us_timer_callback)(platform_us_timer_handle_t timer_handle, + uint64_t time_us, void *param); + +/** + **************************************************************************************** + * @brief Setup a single-shot platform timer with microsecond (us) resolution + * + * Although `abs_time` is in microsecond (us), callback is **not guaranteed** + * to be invoked with such resolution. + * + * This type of timers are much like `platform_set_timer`, except that: + * 1. resolution is higher; + * 2. callback is invoked in the context of an ISR. + * + * @param[in] abs_time when `platform_get_us_timer() == abs_time`, callback is invoked. + * @param[in] callback the callback function + * @param[in] param user parameter + * @return a non-NULL value when succeeded. Otherwise, NULL. + **************************************************************************************** + */ +platform_us_timer_handle_t platform_create_us_timer(uint64_t abs_time, + f_platform_us_timer_callback callback, void *param); + +/** + **************************************************************************************** + * @brief Cancel a platform timer previously created by `platform_create_us_timer` + * + * When a timer not needed any more, use this API to cancel it. + * + * @param[in] timer_handle handle of the timer + * @return 0 if succeeded else non-0 + * Note: non-0 means the callback function of the timer + * is executing. + **************************************************************************************** + */ +int platform_cancel_us_timer(platform_us_timer_handle_t timer_handle); + /** **************************************************************************************** * @brief Install a new RTOS stack for a specific platform task diff --git a/examples-gcc/central_fota/central_fota.ingw b/examples-gcc/central_fota/central_fota.ingw index 8a2abdfb0..e59786dc7 100644 --- a/examples-gcc/central_fota/central_fota.ingw +++ b/examples-gcc/central_fota/central_fota.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Programs\\gcc-arm-none-eabi-10.3-2021.10\\bin", "eflash_addr": "0x42000", diff --git a/examples-gcc/get_started/get_started.ingw b/examples-gcc/get_started/get_started.ingw index b0cbb987e..67bf01ebc 100644 --- a/examples-gcc/get_started/get_started.ingw +++ b/examples-gcc/get_started/get_started.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Programs\\gcc-arm-none-eabi-10.3-2021.10\\bin", "eflash_addr": "0x42000", diff --git a/examples-gcc/peripheral_console_liteos/peripheral_console_liteos.ingw b/examples-gcc/peripheral_console_liteos/peripheral_console_liteos.ingw index 2f17234c3..9a767a3fa 100644 --- a/examples-gcc/peripheral_console_liteos/peripheral_console_liteos.ingw +++ b/examples-gcc/peripheral_console_liteos/peripheral_console_liteos.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 125104, + "size": 125152, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 147456 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Programs\\gcc-arm-none-eabi-10.3-2021.10\\bin", "eflash_addr": "0x42000", diff --git a/examples-gcc/peripheral_ibeacon/peripheral_ibeacon.ingw b/examples-gcc/peripheral_ibeacon/peripheral_ibeacon.ingw index bf2e00a24..6eba12bcc 100644 --- a/examples-gcc/peripheral_ibeacon/peripheral_ibeacon.ingw +++ b/examples-gcc/peripheral_ibeacon/peripheral_ibeacon.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Programs\\gcc-arm-none-eabi-10.3-2021.10\\bin", "ide_ver": "", diff --git a/examples-gcc/smart_home_hub/smart_home_hub.ingw b/examples-gcc/smart_home_hub/smart_home_hub.ingw index 9dd12f77c..3923b74e8 100644 --- a/examples-gcc/smart_home_hub/smart_home_hub.ingw +++ b/examples-gcc/smart_home_hub/smart_home_hub.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Programs\\gcc-arm-none-eabi-10.3-2021.10\\bin", "eflash_addr": "0x42000", diff --git a/examples-iar/peripheral_ibeacon/generic_cortex.icf b/examples-iar/peripheral_ibeacon/generic_cortex.icf index 60b418236..5a94f5246 100644 --- a/examples-iar/peripheral_ibeacon/generic_cortex.icf +++ b/examples-iar/peripheral_ibeacon/generic_cortex.icf @@ -2,9 +2,9 @@ /*-Editor annotation file-*/ /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_4.xml" */ /*-Specials-*/ -define symbol __ICFEDIT_intvec_start__ = 155648; +define symbol __ICFEDIT_intvec_start__ = 155648; /*-Memory Regions-*/ -define symbol __ICFEDIT_region_IROM1_start__ = 155648; +define symbol __ICFEDIT_region_IROM1_start__ = 155648; define symbol __ICFEDIT_region_IROM1_end__ = 0x00084000; define symbol __ICFEDIT_region_IROM2_start__ = 0x0; define symbol __ICFEDIT_region_IROM2_end__ = 0x0; @@ -14,7 +14,7 @@ define symbol __ICFEDIT_region_EROM2_start__ = 0x0; define symbol __ICFEDIT_region_EROM2_end__ = 0x0; define symbol __ICFEDIT_region_EROM3_start__ = 0x0; define symbol __ICFEDIT_region_EROM3_end__ = 0x0; -define symbol __ICFEDIT_region_IRAM1_start__ = 536900792; +define symbol __ICFEDIT_region_IRAM1_start__ = 536900792; define symbol __ICFEDIT_region_IRAM1_end__ = 0x2000FFFF; define symbol __ICFEDIT_region_IRAM2_start__ = 0x0; define symbol __ICFEDIT_region_IRAM2_end__ = 0x0; diff --git a/examples-iar/peripheral_ibeacon/peripheral_ibeacon.ingw b/examples-iar/peripheral_ibeacon/peripheral_ibeacon.ingw index ca84f0a4e..d4768bd07 100644 --- a/examples-iar/peripheral_ibeacon/peripheral_ibeacon.ingw +++ b/examples-iar/peripheral_ibeacon/peripheral_ibeacon.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "", "ide_ver": "", diff --git a/examples-rowley/peripheral_ibeacon/peripheral_ibeacon.ingw b/examples-rowley/peripheral_ibeacon/peripheral_ibeacon.ingw index 49ae1c765..85c1ab3d4 100644 --- a/examples-rowley/peripheral_ibeacon/peripheral_ibeacon.ingw +++ b/examples-rowley/peripheral_ibeacon/peripheral_ibeacon.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "", "ide_ver": "", diff --git a/examples-segger/peripheral_ibeacon/peripheral_ibeacon.ingw b/examples-segger/peripheral_ibeacon/peripheral_ibeacon.ingw index 9dd76f0e9..214b04318 100644 --- a/examples-segger/peripheral_ibeacon/peripheral_ibeacon.ingw +++ b/examples-segger/peripheral_ibeacon/peripheral_ibeacon.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "", "ide_ver": "", diff --git a/examples/anti_lost_mas/anti_lost_mas.ingw b/examples/anti_lost_mas/anti_lost_mas.ingw index 9d8887482..c9d280061 100644 --- a/examples/anti_lost_mas/anti_lost_mas.ingw +++ b/examples/anti_lost_mas/anti_lost_mas.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/anti_lost_sla/anti_lost_sla.ingw b/examples/anti_lost_sla/anti_lost_sla.ingw index adf552eae..e7401a1bb 100644 --- a/examples/anti_lost_sla/anti_lost_sla.ingw +++ b/examples/anti_lost_sla/anti_lost_sla.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/ble_rpc/ble_rpc.ingw b/examples/ble_rpc/ble_rpc.ingw index 5338f06f3..48e767583 100644 --- a/examples/ble_rpc/ble_rpc.ingw +++ b/examples/ble_rpc/ble_rpc.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 146588, + "size": 146636, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/bqb_rf/bqb_rf.ingw b/examples/bqb_rf/bqb_rf.ingw index 33d2fc913..aed59dfaf 100644 --- a/examples/bqb_rf/bqb_rf.ingw +++ b/examples/bqb_rf/bqb_rf.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 165272, + "size": 165356, "base": 33562624 }, "ram": { @@ -13,7 +13,7 @@ "base": 33730560 }, "version": [ - 2,3,6] + 2,3,8] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/central_cte/central_cte.ingw b/examples/central_cte/central_cte.ingw index 7c2481c80..3f11b1e58 100644 --- a/examples/central_cte/central_cte.ingw +++ b/examples/central_cte/central_cte.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 146588, + "size": 146636, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/central_fota/central_fota.ingw b/examples/central_fota/central_fota.ingw index eec79b1e6..af8b89ef5 100644 --- a/examples/central_fota/central_fota.ingw +++ b/examples/central_fota/central_fota.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/central_mass_conn/central_mass_conn.ingw b/examples/central_mass_conn/central_mass_conn.ingw index 1d3ec795c..d88b5f1b9 100644 --- a/examples/central_mass_conn/central_mass_conn.ingw +++ b/examples/central_mass_conn/central_mass_conn.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135956, + "size": 136008, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/central_throughput/central_throughput.ingw b/examples/central_throughput/central_throughput.ingw index 29dc274e7..7823bcb7e 100644 --- a/examples/central_throughput/central_throughput.ingw +++ b/examples/central_throughput/central_throughput.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/coremark/coremark.ingw b/examples/coremark/coremark.ingw index 659d62c86..26b95ff62 100644 --- a/examples/coremark/coremark.ingw +++ b/examples/coremark/coremark.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 141928, + "size": 141984, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/data_logger/data_logger.ingw b/examples/data_logger/data_logger.ingw index 9e6b06ab0..06f9127f0 100644 --- a/examples/data_logger/data_logger.ingw +++ b/examples/data_logger/data_logger.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/direct_conn/direct_conn.ingw b/examples/direct_conn/direct_conn.ingw index d91da115e..2f34b32bd 100644 --- a/examples/direct_conn/direct_conn.ingw +++ b/examples/direct_conn/direct_conn.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 152084, + "size": 152136, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 172032 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/ext_ackable_packet/ext_ackable_packet.ingw b/examples/ext_ackable_packet/ext_ackable_packet.ingw index f392daa82..c5ca45092 100644 --- a/examples/ext_ackable_packet/ext_ackable_packet.ingw +++ b/examples/ext_ackable_packet/ext_ackable_packet.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 146588, + "size": 146636, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/ext_raw_packet/ext_raw_packet.ingw b/examples/ext_raw_packet/ext_raw_packet.ingw index cfe3e6d48..83d0f9050 100644 --- a/examples/ext_raw_packet/ext_raw_packet.ingw +++ b/examples/ext_raw_packet/ext_raw_packet.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 146588, + "size": 146636, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/ext_raw_packet_noos/ext_raw_packet_noos.ingw b/examples/ext_raw_packet_noos/ext_raw_packet_noos.ingw index d1c8ff308..48a7891b7 100644 --- a/examples/ext_raw_packet_noos/ext_raw_packet_noos.ingw +++ b/examples/ext_raw_packet_noos/ext_raw_packet_noos.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135808, + "size": 135856, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/gatt_relay/gatt_relay.ingw b/examples/gatt_relay/gatt_relay.ingw index dbd114621..8827a06fc 100644 --- a/examples/gatt_relay/gatt_relay.ingw +++ b/examples/gatt_relay/gatt_relay.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/get_started/get_started.ingw b/examples/get_started/get_started.ingw index 434aab683..e13cd8d80 100644 --- a/examples/get_started/get_started.ingw +++ b/examples/get_started/get_started.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/hid_keyboard/hid_keyboard.ingw b/examples/hid_keyboard/hid_keyboard.ingw index 5f6516291..d07b6267a 100644 --- a/examples/hid_keyboard/hid_keyboard.ingw +++ b/examples/hid_keyboard/hid_keyboard.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 152084, + "size": 152136, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 172032 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/hid_mouse/hid_mouse.ingw b/examples/hid_mouse/hid_mouse.ingw index a5c870c24..c8ceedd85 100644 --- a/examples/hid_mouse/hid_mouse.ingw +++ b/examples/hid_mouse/hid_mouse.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/ibeacon_scanner/ibeacon_scanner.ingw b/examples/ibeacon_scanner/ibeacon_scanner.ingw index 08dc6eaa2..8764d4081 100644 --- a/examples/ibeacon_scanner/ibeacon_scanner.ingw +++ b/examples/ibeacon_scanner/ibeacon_scanner.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/io_over_ble_mas/io_over_ble_mas.ingw b/examples/io_over_ble_mas/io_over_ble_mas.ingw index e9bdb276c..33fac14b9 100644 --- a/examples/io_over_ble_mas/io_over_ble_mas.ingw +++ b/examples/io_over_ble_mas/io_over_ble_mas.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/io_over_ble_sla/io_over_ble_sla.ingw b/examples/io_over_ble_sla/io_over_ble_sla.ingw index 0215caaae..f9721e28b 100644 --- a/examples/io_over_ble_sla/io_over_ble_sla.ingw +++ b/examples/io_over_ble_sla/io_over_ble_sla.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/l2cap_psm/l2cap_psm.ingw b/examples/l2cap_psm/l2cap_psm.ingw index 9359c8890..5f5059d39 100644 --- a/examples/l2cap_psm/l2cap_psm.ingw +++ b/examples/l2cap_psm/l2cap_psm.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/littleVGL/littleVGL.ingw b/examples/littleVGL/littleVGL.ingw index 540269fe0..2bd55b6a7 100644 --- a/examples/littleVGL/littleVGL.ingw +++ b/examples/littleVGL/littleVGL.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/llsync_light/llsync_light.ingw b/examples/llsync_light/llsync_light.ingw index f6b52841f..ba8953e0e 100644 --- a/examples/llsync_light/llsync_light.ingw +++ b/examples/llsync_light/llsync_light.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/mesh-light/mesh-light.ingw b/examples/mesh-light/mesh-light.ingw index 52a71d428..ee10a6d3c 100644 --- a/examples/mesh-light/mesh-light.ingw +++ b/examples/mesh-light/mesh-light.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 141300, + "size": 141352, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/pairing_with_oob/pairing_with_oob.ingw b/examples/pairing_with_oob/pairing_with_oob.ingw index 7aba4a18a..0a325aff2 100644 --- a/examples/pairing_with_oob/pairing_with_oob.ingw +++ b/examples/pairing_with_oob/pairing_with_oob.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 152084, + "size": 152136, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 172032 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/pawr/pawr.ingw b/examples/pawr/pawr.ingw index 6e2ee5e8b..dcf5a4efe 100644 --- a/examples/pawr/pawr.ingw +++ b/examples/pawr/pawr.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 177828, + "size": 177912, "base": 33562624 }, "ram": { @@ -13,7 +13,7 @@ "base": 33742848 }, "version": [ - 2,3,6] + 2,3,8] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/periodic_advertiser/periodic_advertiser.ingw b/examples/periodic_advertiser/periodic_advertiser.ingw index 597cdcd94..de5ae91d3 100644 --- a/examples/periodic_advertiser/periodic_advertiser.ingw +++ b/examples/periodic_advertiser/periodic_advertiser.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 141928, + "size": 141984, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/periodic_scanner/periodic_scanner.ingw b/examples/periodic_scanner/periodic_scanner.ingw index c8c37ace3..2dd69bb30 100644 --- a/examples/periodic_scanner/periodic_scanner.ingw +++ b/examples/periodic_scanner/periodic_scanner.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 141928, + "size": 141984, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/peripheral_ancs/peripheral_ancs.ingw b/examples/peripheral_ancs/peripheral_ancs.ingw index 0ca374784..07c6c2aad 100644 --- a/examples/peripheral_ancs/peripheral_ancs.ingw +++ b/examples/peripheral_ancs/peripheral_ancs.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/peripheral_band/peripheral_band.ingw b/examples/peripheral_band/peripheral_band.ingw index e09e326d9..4e53de926 100644 --- a/examples/peripheral_band/peripheral_band.ingw +++ b/examples/peripheral_band/peripheral_band.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/peripheral_battery/peripheral_battery.ingw b/examples/peripheral_battery/peripheral_battery.ingw index 1d9bc4e1e..2bcd8e4cf 100644 --- a/examples/peripheral_battery/peripheral_battery.ingw +++ b/examples/peripheral_battery/peripheral_battery.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/peripheral_console/peripheral_console.ingw b/examples/peripheral_console/peripheral_console.ingw index 449745f85..a5596312e 100644 --- a/examples/peripheral_console/peripheral_console.ingw +++ b/examples/peripheral_console/peripheral_console.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135408, + "size": 135460, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/peripheral_console_freertos/peripheral_console_freertos.ingw b/examples/peripheral_console_freertos/peripheral_console_freertos.ingw index efd9dde17..db2a60ceb 100644 --- a/examples/peripheral_console_freertos/peripheral_console_freertos.ingw +++ b/examples/peripheral_console_freertos/peripheral_console_freertos.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 125104, + "size": 125152, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 147456 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/peripheral_console_realtime/peripheral_console_realtime.ingw b/examples/peripheral_console_realtime/peripheral_console_realtime.ingw index 046a8bbca..39f8404eb 100644 --- a/examples/peripheral_console_realtime/peripheral_console_realtime.ingw +++ b/examples/peripheral_console_realtime/peripheral_console_realtime.ingw @@ -2,18 +2,18 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 148892, + "size": 148972, "base": 33562624 }, "ram": { - "size": 17132, + "size": 17148, "base": 536870912 }, "app": { "base": 33714176 }, "version": [ - 2,3,6] + 2,3,8] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", @@ -70,8 +70,8 @@ }, "keil": true, "cmsis": "", - "app_ram_size": 40208, - "app_ram_addr": 536888048, + "app_ram_size": 40192, + "app_ram_addr": 536888064, "k5_cc_ver": "6", "printf_enable": true, "ota_ver_patch": "0", diff --git a/examples/peripheral_console_realtime/peripheral_console_realtime.sct b/examples/peripheral_console_realtime/peripheral_console_realtime.sct index a35b3d924..fa60ef32d 100644 --- a/examples/peripheral_console_realtime/peripheral_console_realtime.sct +++ b/examples/peripheral_console_realtime/peripheral_console_realtime.sct @@ -9,7 +9,7 @@ LR_IROM1 0x02027000 0x00059000 { ; load region size_region .ANY (+RO) .ANY (+XO) } -RW_IRAM1 0x200042F0 0x00009D10 { ; RW data +RW_IRAM1 0x20004300 0x00009D00 { ; RW data *(.ram_code) *(Veneer$$Code) .ANY (+RW +ZI) diff --git a/examples/peripheral_console_realtime/peripheral_console_realtime.uvproj b/examples/peripheral_console_realtime/peripheral_console_realtime.uvproj index 7a1411fed..16435bb2f 100644 --- a/examples/peripheral_console_realtime/peripheral_console_realtime.uvproj +++ b/examples/peripheral_console_realtime/peripheral_console_realtime.uvproj @@ -319,8 +319,8 @@ 0 - 536888048 - 40208 + 536888064 + 40192 0 diff --git a/examples/peripheral_console_realtime/peripheral_console_realtime.uvprojx b/examples/peripheral_console_realtime/peripheral_console_realtime.uvprojx index 0c0a49ae5..572f6031a 100644 --- a/examples/peripheral_console_realtime/peripheral_console_realtime.uvprojx +++ b/examples/peripheral_console_realtime/peripheral_console_realtime.uvprojx @@ -298,8 +298,8 @@ 0 - 536888048 - 40208 + 536888064 + 40192 0 diff --git a/examples/peripheral_console_rt-thread/peripheral_console_rt-thread.ingw b/examples/peripheral_console_rt-thread/peripheral_console_rt-thread.ingw index 9482f9a8e..fbec321f1 100644 --- a/examples/peripheral_console_rt-thread/peripheral_console_rt-thread.ingw +++ b/examples/peripheral_console_rt-thread/peripheral_console_rt-thread.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 125104, + "size": 125152, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 147456 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/peripheral_etag/peripheral_etag.ingw b/examples/peripheral_etag/peripheral_etag.ingw index dfd5e7f8e..3b7225d54 100644 --- a/examples/peripheral_etag/peripheral_etag.ingw +++ b/examples/peripheral_etag/peripheral_etag.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/peripheral_ibeacon/peripheral_ibeacon.ingw b/examples/peripheral_ibeacon/peripheral_ibeacon.ingw index 17c3c728f..9e772a655 100644 --- a/examples/peripheral_ibeacon/peripheral_ibeacon.ingw +++ b/examples/peripheral_ibeacon/peripheral_ibeacon.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/peripheral_irc/peripheral_irc.ingw b/examples/peripheral_irc/peripheral_irc.ingw index b0c3d24b7..730fa6e1e 100644 --- a/examples/peripheral_irc/peripheral_irc.ingw +++ b/examples/peripheral_irc/peripheral_irc.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/peripheral_led/peripheral_led.ingw b/examples/peripheral_led/peripheral_led.ingw index 40d9e23fe..561fa077b 100644 --- a/examples/peripheral_led/peripheral_led.ingw +++ b/examples/peripheral_led/peripheral_led.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 146588, + "size": 146636, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 163840 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/peripheral_mass_conn/peripheral_mass_conn.ingw b/examples/peripheral_mass_conn/peripheral_mass_conn.ingw index f58fed3e6..d3aa7d2f7 100644 --- a/examples/peripheral_mass_conn/peripheral_mass_conn.ingw +++ b/examples/peripheral_mass_conn/peripheral_mass_conn.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135956, + "size": 136008, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/peripheral_pedometer/peripheral_pedometer.ingw b/examples/peripheral_pedometer/peripheral_pedometer.ingw index 9ad72a5c5..3d51280c3 100644 --- a/examples/peripheral_pedometer/peripheral_pedometer.ingw +++ b/examples/peripheral_pedometer/peripheral_pedometer.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/peripheral_piano/peripheral_piano.ingw b/examples/peripheral_piano/peripheral_piano.ingw index b27836962..1818d26bb 100644 --- a/examples/peripheral_piano/peripheral_piano.ingw +++ b/examples/peripheral_piano/peripheral_piano.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/peripheral_throughput/peripheral_throughput.ingw b/examples/peripheral_throughput/peripheral_throughput.ingw index 9b549d96d..13522ed72 100644 --- a/examples/peripheral_throughput/peripheral_throughput.ingw +++ b/examples/peripheral_throughput/peripheral_throughput.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/reset_handler/reset_handler.ingw b/examples/reset_handler/reset_handler.ingw index 911818c0b..d0cd983b2 100644 --- a/examples/reset_handler/reset_handler.ingw +++ b/examples/reset_handler/reset_handler.ingw @@ -2,7 +2,7 @@ "watchdog": true, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/secondary_fota/secondary_fota.ingw b/examples/secondary_fota/secondary_fota.ingw index 20100cfd7..c15185dd1 100644 --- a/examples/secondary_fota/secondary_fota.ingw +++ b/examples/secondary_fota/secondary_fota.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "eflash_addr": "0x42000", diff --git a/examples/smart_meter/smart_meter.ingw b/examples/smart_meter/smart_meter.ingw index f763f49eb..39f665747 100644 --- a/examples/smart_meter/smart_meter.ingw +++ b/examples/smart_meter/smart_meter.ingw @@ -2,7 +2,7 @@ "watchdog": false, "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -13,7 +13,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/thermo_ota/thermo_ota.ingw b/examples/thermo_ota/thermo_ota.ingw index 646140468..02dcbcc90 100644 --- a/examples/thermo_ota/thermo_ota.ingw +++ b/examples/thermo_ota/thermo_ota.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 135884, + "size": 135932, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 155648 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/uart_console/uart_console.ingw b/examples/uart_console/uart_console.ingw index 6b4eba859..af20aa7ae 100644 --- a/examples/uart_console/uart_console.ingw +++ b/examples/uart_console/uart_console.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 152084, + "size": 152136, "base": 16384 }, "ram": { @@ -12,7 +12,7 @@ "base": 172032 }, "version": [ - 1,9,45] + 1,9,46] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5", diff --git a/examples/voice_remote_ctrl/voice_remote_ctrl.ingw b/examples/voice_remote_ctrl/voice_remote_ctrl.ingw index 128dea620..c038d141f 100644 --- a/examples/voice_remote_ctrl/voice_remote_ctrl.ingw +++ b/examples/voice_remote_ctrl/voice_remote_ctrl.ingw @@ -1,7 +1,7 @@ { "bundle_meta": { "rom": { - "size": 159276, + "size": 159360, "base": 33562624 }, "ram": { @@ -12,7 +12,7 @@ "base": 33722368 }, "version": [ - 2,3,6] + 2,3,8] }, "tc_dir": "C:\\Keil_v5\\UV4", "ide_ver": "5",