Skip to content

Commit

Permalink
Merge pull request #135 from ingchips/develop
Browse files Browse the repository at this point in the history
release 8.2.5
  • Loading branch information
zjli-2019 authored Feb 2, 2023
2 parents 9ee0c11 + 7526f0a commit 2bb5e7d
Show file tree
Hide file tree
Showing 33 changed files with 795 additions and 755 deletions.
284 changes: 142 additions & 142 deletions bundles/extension/ING9168xx/apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,146 +202,146 @@
"platform_32k_rc_tune": "0x0201f849",
"platform_calibrate_32k": "0x0201f865",
"platform_config": "0x0201f869",
"platform_get_current_task": "0x0201f939",
"platform_get_gen_os_driver": "0x0201f95d",
"platform_get_heap_status": "0x0201f965",
"platform_get_task_handle": "0x0201f97d",
"platform_get_us_time": "0x0201f99d",
"platform_get_version": "0x0201f9a1",
"platform_hrng": "0x0201f9a9",
"platform_install_isr_stack": "0x0201f9b1",
"platform_install_task_stack": "0x0201f9bd",
"platform_patch_rf_init_data": "0x0201f9f5",
"platform_printf": "0x0201fa01",
"platform_raise_assertion": "0x0201fa15",
"platform_rand": "0x0201fa29",
"platform_read_info": "0x0201fa2d",
"platform_read_persistent_reg": "0x0201fa5d",
"platform_reset": "0x0201fa69",
"platform_set_evt_callback": "0x0201fa7d",
"platform_set_irq_callback": "0x0201fa91",
"platform_set_rf_clk_source": "0x0201fac9",
"platform_set_rf_init_data": "0x0201fad5",
"platform_set_rf_power_mapping": "0x0201fae1",
"platform_set_timer": "0x0201faed",
"platform_shutdown": "0x0201faf1",
"platform_switch_app": "0x0201faf5",
"platform_trace_raw": "0x0201fb0d",
"platform_write_persistent_reg": "0x0201fb25",
"printf_hexdump": "0x0201fcdd",
"pvPortMalloc": "0x020207d1",
"pvTaskIncrementMutexHeldCount": "0x020208b9",
"pvTimerGetTimerID": "0x020208d1",
"pxPortInitialiseStack": "0x020208fd",
"reverse_128": "0x02020ae5",
"reverse_24": "0x02020aeb",
"reverse_48": "0x02020af1",
"reverse_56": "0x02020af7",
"reverse_64": "0x02020afd",
"reverse_bd_addr": "0x02020b03",
"reverse_bytes": "0x02020b09",
"sm_add_event_handler": "0x02020e45",
"sm_address_resolution_lookup": "0x02020f9d",
"sm_authenticated": "0x020212fd",
"sm_authorization_decline": "0x0202130b",
"sm_authorization_grant": "0x0202132b",
"sm_authorization_state": "0x0202134b",
"sm_bonding_decline": "0x02021365",
"sm_config": "0x0202177d",
"sm_config_conn": "0x02021795",
"sm_encryption_key_size": "0x0202194b",
"sm_just_works_confirm": "0x02021e85",
"sm_le_device_key": "0x020221c1",
"sm_passkey_input": "0x02022257",
"sm_private_random_address_generation_get": "0x02022605",
"sm_private_random_address_generation_get_mode": "0x0202260d",
"sm_private_random_address_generation_set_mode": "0x02022619",
"sm_private_random_address_generation_set_update_period": "0x02022641",
"sm_register_oob_data_callback": "0x0202277d",
"sm_request_pairing": "0x02022789",
"sm_send_security_request": "0x020231c7",
"sm_set_accepted_stk_generation_methods": "0x020231ed",
"sm_set_authentication_requirements": "0x020231f9",
"sm_set_encryption_key_size_range": "0x02023205",
"sscanf_bd_addr": "0x020235dd",
"sysSetPublicDeviceAddr": "0x020239a5",
"uuid128_to_str": "0x020240e9",
"uuid_add_bluetooth_prefix": "0x02024141",
"uuid_has_bluetooth_prefix": "0x02024161",
"uxListRemove": "0x0202417d",
"uxQueueMessagesWaiting": "0x020241a5",
"uxQueueMessagesWaitingFromISR": "0x020241cd",
"uxQueueSpacesAvailable": "0x020241e9",
"uxTaskGetStackHighWaterMark": "0x02024215",
"uxTaskPriorityGet": "0x02024235",
"uxTaskPriorityGetFromISR": "0x02024251",
"vListInitialise": "0x020242ef",
"vListInitialiseItem": "0x02024305",
"vListInsert": "0x0202430b",
"vListInsertEnd": "0x0202433b",
"vPortEndScheduler": "0x02024355",
"vPortEnterCritical": "0x02024381",
"vPortExitCritical": "0x020243c5",
"vPortFree": "0x020243f9",
"vPortSuppressTicksAndSleep": "0x0202449d",
"vPortValidateInterruptPriority": "0x020245a5",
"vQueueDelete": "0x02024601",
"vQueueWaitForMessageRestricted": "0x0202462d",
"vTaskDelay": "0x02024671",
"vTaskInternalSetTimeOutState": "0x020246bd",
"vTaskMissedYield": "0x020246cd",
"vTaskPlaceOnEventList": "0x020246d9",
"vTaskPlaceOnEventListRestricted": "0x02024711",
"vTaskPriorityDisinheritAfterTimeout": "0x02024751",
"vTaskPrioritySet": "0x020247fd",
"vTaskResume": "0x020248c5",
"vTaskStartScheduler": "0x02024949",
"vTaskStepTick": "0x020249d9",
"vTaskSuspend": "0x02024a09",
"vTaskSuspendAll": "0x02024ac5",
"vTaskSwitchContext": "0x02024ad5",
"xPortStartScheduler": "0x02024b7d",
"xQueueAddToSet": "0x02024c7d",
"xQueueCreateCountingSemaphore": "0x02024ca1",
"xQueueCreateCountingSemaphoreStatic": "0x02024cdd",
"xQueueCreateMutex": "0x02024d21",
"xQueueCreateMutexStatic": "0x02024d37",
"xQueueCreateSet": "0x02024d51",
"xQueueGenericCreate": "0x02024d59",
"xQueueGenericCreateStatic": "0x02024da5",
"xQueueGenericReset": "0x02024e0d",
"xQueueGenericSend": "0x02024e99",
"xQueueGenericSendFromISR": "0x02025005",
"xQueueGiveFromISR": "0x020250c5",
"xQueueGiveMutexRecursive": "0x02025169",
"xQueueIsQueueEmptyFromISR": "0x020251a9",
"xQueueIsQueueFullFromISR": "0x020251cd",
"xQueuePeek": "0x020251f5",
"xQueuePeekFromISR": "0x0202531d",
"xQueueReceive": "0x02025389",
"xQueueReceiveFromISR": "0x020254b5",
"xQueueRemoveFromSet": "0x02025549",
"xQueueSelectFromSet": "0x0202556b",
"xQueueSelectFromSetFromISR": "0x0202557d",
"xQueueSemaphoreTake": "0x02025591",
"xQueueTakeMutexRecursive": "0x020256fd",
"xTaskCheckForTimeOut": "0x02025741",
"xTaskCreate": "0x020257b1",
"xTaskCreateStatic": "0x0202580d",
"xTaskGetCurrentTaskHandle": "0x0202587d",
"xTaskGetSchedulerState": "0x02025889",
"xTaskGetTickCount": "0x020258a5",
"xTaskGetTickCountFromISR": "0x020258b1",
"xTaskIncrementTick": "0x020258c1",
"xTaskPriorityDisinherit": "0x0202598d",
"xTaskPriorityInherit": "0x02025a21",
"xTaskRemoveFromEventList": "0x02025ab5",
"xTaskResumeAll": "0x02025b35",
"xTaskResumeFromISR": "0x02025bfd",
"xTimerCreate": "0x02025c89",
"xTimerCreateStatic": "0x02025cbd",
"xTimerCreateTimerTask": "0x02025cf5",
"xTimerGenericCommand": "0x02025d61",
"xTimerGetExpiryTime": "0x02025dd1",
"xTimerGetTimerDaemonTaskHandle": "0x02025df1"
"platform_get_current_task": "0x0201f951",
"platform_get_gen_os_driver": "0x0201f975",
"platform_get_heap_status": "0x0201f97d",
"platform_get_task_handle": "0x0201f995",
"platform_get_us_time": "0x0201f9b5",
"platform_get_version": "0x0201f9b9",
"platform_hrng": "0x0201f9c1",
"platform_install_isr_stack": "0x0201f9c9",
"platform_install_task_stack": "0x0201f9d5",
"platform_patch_rf_init_data": "0x0201fa0d",
"platform_printf": "0x0201fa19",
"platform_raise_assertion": "0x0201fa2d",
"platform_rand": "0x0201fa41",
"platform_read_info": "0x0201fa45",
"platform_read_persistent_reg": "0x0201fa75",
"platform_reset": "0x0201fa81",
"platform_set_evt_callback": "0x0201fa95",
"platform_set_irq_callback": "0x0201faa9",
"platform_set_rf_clk_source": "0x0201fae1",
"platform_set_rf_init_data": "0x0201faed",
"platform_set_rf_power_mapping": "0x0201faf9",
"platform_set_timer": "0x0201fb05",
"platform_shutdown": "0x0201fb09",
"platform_switch_app": "0x0201fb0d",
"platform_trace_raw": "0x0201fb25",
"platform_write_persistent_reg": "0x0201fb3d",
"printf_hexdump": "0x0201fcf5",
"pvPortMalloc": "0x020207e9",
"pvTaskIncrementMutexHeldCount": "0x020208d1",
"pvTimerGetTimerID": "0x020208e9",
"pxPortInitialiseStack": "0x02020915",
"reverse_128": "0x02020afd",
"reverse_24": "0x02020b03",
"reverse_48": "0x02020b09",
"reverse_56": "0x02020b0f",
"reverse_64": "0x02020b15",
"reverse_bd_addr": "0x02020b1b",
"reverse_bytes": "0x02020b21",
"sm_add_event_handler": "0x02020e5d",
"sm_address_resolution_lookup": "0x02020fb5",
"sm_authenticated": "0x02021315",
"sm_authorization_decline": "0x02021323",
"sm_authorization_grant": "0x02021343",
"sm_authorization_state": "0x02021363",
"sm_bonding_decline": "0x0202137d",
"sm_config": "0x02021795",
"sm_config_conn": "0x020217ad",
"sm_encryption_key_size": "0x02021963",
"sm_just_works_confirm": "0x02021e9d",
"sm_le_device_key": "0x020221d9",
"sm_passkey_input": "0x0202226f",
"sm_private_random_address_generation_get": "0x0202261d",
"sm_private_random_address_generation_get_mode": "0x02022625",
"sm_private_random_address_generation_set_mode": "0x02022631",
"sm_private_random_address_generation_set_update_period": "0x02022659",
"sm_register_oob_data_callback": "0x02022795",
"sm_request_pairing": "0x020227a1",
"sm_send_security_request": "0x020231df",
"sm_set_accepted_stk_generation_methods": "0x02023205",
"sm_set_authentication_requirements": "0x02023211",
"sm_set_encryption_key_size_range": "0x0202321d",
"sscanf_bd_addr": "0x020235f5",
"sysSetPublicDeviceAddr": "0x020239e9",
"uuid128_to_str": "0x02024155",
"uuid_add_bluetooth_prefix": "0x020241ad",
"uuid_has_bluetooth_prefix": "0x020241cd",
"uxListRemove": "0x020241e9",
"uxQueueMessagesWaiting": "0x02024211",
"uxQueueMessagesWaitingFromISR": "0x02024239",
"uxQueueSpacesAvailable": "0x02024255",
"uxTaskGetStackHighWaterMark": "0x02024281",
"uxTaskPriorityGet": "0x020242a1",
"uxTaskPriorityGetFromISR": "0x020242bd",
"vListInitialise": "0x0202435b",
"vListInitialiseItem": "0x02024371",
"vListInsert": "0x02024377",
"vListInsertEnd": "0x020243a7",
"vPortEndScheduler": "0x020243c1",
"vPortEnterCritical": "0x020243ed",
"vPortExitCritical": "0x02024431",
"vPortFree": "0x02024465",
"vPortSuppressTicksAndSleep": "0x02024509",
"vPortValidateInterruptPriority": "0x02024611",
"vQueueDelete": "0x0202466d",
"vQueueWaitForMessageRestricted": "0x02024699",
"vTaskDelay": "0x020246dd",
"vTaskInternalSetTimeOutState": "0x02024729",
"vTaskMissedYield": "0x02024739",
"vTaskPlaceOnEventList": "0x02024745",
"vTaskPlaceOnEventListRestricted": "0x0202477d",
"vTaskPriorityDisinheritAfterTimeout": "0x020247bd",
"vTaskPrioritySet": "0x02024869",
"vTaskResume": "0x02024931",
"vTaskStartScheduler": "0x020249b5",
"vTaskStepTick": "0x02024a45",
"vTaskSuspend": "0x02024a75",
"vTaskSuspendAll": "0x02024b31",
"vTaskSwitchContext": "0x02024b41",
"xPortStartScheduler": "0x02024be9",
"xQueueAddToSet": "0x02024ce9",
"xQueueCreateCountingSemaphore": "0x02024d0d",
"xQueueCreateCountingSemaphoreStatic": "0x02024d49",
"xQueueCreateMutex": "0x02024d8d",
"xQueueCreateMutexStatic": "0x02024da3",
"xQueueCreateSet": "0x02024dbd",
"xQueueGenericCreate": "0x02024dc5",
"xQueueGenericCreateStatic": "0x02024e11",
"xQueueGenericReset": "0x02024e79",
"xQueueGenericSend": "0x02024f05",
"xQueueGenericSendFromISR": "0x02025071",
"xQueueGiveFromISR": "0x02025131",
"xQueueGiveMutexRecursive": "0x020251d5",
"xQueueIsQueueEmptyFromISR": "0x02025215",
"xQueueIsQueueFullFromISR": "0x02025239",
"xQueuePeek": "0x02025261",
"xQueuePeekFromISR": "0x02025389",
"xQueueReceive": "0x020253f5",
"xQueueReceiveFromISR": "0x02025521",
"xQueueRemoveFromSet": "0x020255b5",
"xQueueSelectFromSet": "0x020255d7",
"xQueueSelectFromSetFromISR": "0x020255e9",
"xQueueSemaphoreTake": "0x020255fd",
"xQueueTakeMutexRecursive": "0x02025769",
"xTaskCheckForTimeOut": "0x020257ad",
"xTaskCreate": "0x0202581d",
"xTaskCreateStatic": "0x02025879",
"xTaskGetCurrentTaskHandle": "0x020258e9",
"xTaskGetSchedulerState": "0x020258f5",
"xTaskGetTickCount": "0x02025911",
"xTaskGetTickCountFromISR": "0x0202591d",
"xTaskIncrementTick": "0x0202592d",
"xTaskPriorityDisinherit": "0x020259f9",
"xTaskPriorityInherit": "0x02025a8d",
"xTaskRemoveFromEventList": "0x02025b21",
"xTaskResumeAll": "0x02025ba1",
"xTaskResumeFromISR": "0x02025c69",
"xTimerCreate": "0x02025cf5",
"xTimerCreateStatic": "0x02025d29",
"xTimerCreateTimerTask": "0x02025d61",
"xTimerGenericCommand": "0x02025dcd",
"xTimerGetExpiryTime": "0x02025e3d",
"xTimerGetTimerDaemonTaskHandle": "0x02025e5d"
}
6 changes: 3 additions & 3 deletions bundles/extension/ING9168xx/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
},
"ram": {
"base": 536870912,
"size": 21796
"size": 21804
},
"rom": {
"base": 33562624,
"size": 156120
"size": 156232
},
"version": [
2,
1,
0
2
]
}
Binary file modified bundles/extension/ING9168xx/platform.bin
Binary file not shown.
16 changes: 10 additions & 6 deletions bundles/extension/inc/platform_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,18 @@ uint8_t platform_read_persistent_reg(void);
/**
****************************************************************************************
* @brief Shutdown the whole system, and power on again after a duration
* specified by duration_cycles.
* Optionally, a portion of SYS memory can be retentioned during shutdown.
* specified by duration_cycles or by external wake up source.
* Optionally, a portion of SYS memory can be retained during shutdown.
*
* External wake up source:
* ING918xx: EXT_INT;
* ING916xx: GPIOs that are configured as DEEPER sleep wake up source.
*
* @param[in] duration_cycles Duration before power on again (measured in cycles of 32k clock)
* Mininum value: 825 cycles (about 25.18ms)
* When = 0: power on when EXT_INT is asserted
* @param[in] p_retention_data Pointer to the start of data to be retentioned
* @param[in] data_size Size of the data to be retentioned
* Minimum value: 825 cycles (about 25.18ms)
* When = 0: only power on when external wake up source is asserted
* @param[in] p_retention_data Pointer to the start of data to be retained
* @param[in] data_size Size of the data to be retained
****************************************************************************************
*/
void platform_shutdown(const uint32_t duration_cycles, const void *p_retention_data, const uint32_t data_size);
Expand Down
Loading

0 comments on commit 2bb5e7d

Please sign in to comment.