[FL-3289] Various Furi/FuriHal bug fixes and improvements (#2637)

* Furi: properly handle thread free before TCB scrapping, add furi_free - more invasive version of free to memmgr. FuriHal: add DWT comparator api to cortex. Updater, RPC: refactor various thread shanenigans. Code cleanup.
* Rollback free macros and related changes
This commit is contained in:
あく
2023-05-05 21:40:55 +09:00
committed by GitHub
parent a7d1ec03e8
commit 914129a0d9
15 changed files with 204 additions and 70 deletions
+5 -2
View File
@@ -1,5 +1,5 @@
entry,status,name,type,params
Version,+,24.0,,
Version,+,26.0,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
Header,+,applications/services/cli/cli_vcp.h,,
@@ -892,6 +892,8 @@ Function,+,furi_hal_console_puts,void,const char*
Function,+,furi_hal_console_set_tx_callback,void,"FuriHalConsoleTxCallback, void*"
Function,+,furi_hal_console_tx,void,"const uint8_t*, size_t"
Function,+,furi_hal_console_tx_with_new_line,void,"const uint8_t*, size_t"
Function,+,furi_hal_cortex_comp_enable,void,"FuriHalCortexComp, FuriHalCortexCompFunction, uint32_t, uint32_t, FuriHalCortexCompSize"
Function,+,furi_hal_cortex_comp_reset,void,FuriHalCortexComp
Function,+,furi_hal_cortex_delay_us,void,uint32_t
Function,-,furi_hal_cortex_init_early,void,
Function,+,furi_hal_cortex_instructions_per_microsecond,uint32_t,
@@ -1278,7 +1280,7 @@ Function,+,furi_thread_set_priority,void,"FuriThread*, FuriThreadPriority"
Function,+,furi_thread_set_stack_size,void,"FuriThread*, size_t"
Function,+,furi_thread_set_state_callback,void,"FuriThread*, FuriThreadStateCallback"
Function,+,furi_thread_set_state_context,void,"FuriThread*, void*"
Function,+,furi_thread_set_stdout_callback,_Bool,FuriThreadStdoutWriteCallback
Function,+,furi_thread_set_stdout_callback,void,FuriThreadStdoutWriteCallback
Function,+,furi_thread_start,void,FuriThread*
Function,+,furi_thread_stdout_flush,int32_t,
Function,+,furi_thread_stdout_write,size_t,"const char*, size_t"
@@ -1287,6 +1289,7 @@ Function,+,furi_thread_yield,void,
Function,+,furi_timer_alloc,FuriTimer*,"FuriTimerCallback, FuriTimerType, void*"
Function,+,furi_timer_free,void,FuriTimer*
Function,+,furi_timer_is_running,uint32_t,FuriTimer*
Function,+,furi_timer_pending_callback,void,"FuriTimerPendigCallback, void*, uint32_t"
Function,+,furi_timer_start,FuriStatus,"FuriTimer*, uint32_t"
Function,+,furi_timer_stop,FuriStatus,FuriTimer*
Function,-,fwrite,size_t,"const void*, size_t, size_t, FILE*"
1 entry status name type params
2 Version + 24.0 26.0
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
892 Function + furi_hal_console_set_tx_callback void FuriHalConsoleTxCallback, void*
893 Function + furi_hal_console_tx void const uint8_t*, size_t
894 Function + furi_hal_console_tx_with_new_line void const uint8_t*, size_t
895 Function + furi_hal_cortex_comp_enable void FuriHalCortexComp, FuriHalCortexCompFunction, uint32_t, uint32_t, FuriHalCortexCompSize
896 Function + furi_hal_cortex_comp_reset void FuriHalCortexComp
897 Function + furi_hal_cortex_delay_us void uint32_t
898 Function - furi_hal_cortex_init_early void
899 Function + furi_hal_cortex_instructions_per_microsecond uint32_t
1280 Function + furi_thread_set_stack_size void FuriThread*, size_t
1281 Function + furi_thread_set_state_callback void FuriThread*, FuriThreadStateCallback
1282 Function + furi_thread_set_state_context void FuriThread*, void*
1283 Function + furi_thread_set_stdout_callback _Bool void FuriThreadStdoutWriteCallback
1284 Function + furi_thread_start void FuriThread*
1285 Function + furi_thread_stdout_flush int32_t
1286 Function + furi_thread_stdout_write size_t const char*, size_t
1289 Function + furi_timer_alloc FuriTimer* FuriTimerCallback, FuriTimerType, void*
1290 Function + furi_timer_free void FuriTimer*
1291 Function + furi_timer_is_running uint32_t FuriTimer*
1292 Function + furi_timer_pending_callback void FuriTimerPendigCallback, void*, uint32_t
1293 Function + furi_timer_start FuriStatus FuriTimer*, uint32_t
1294 Function + furi_timer_stop FuriStatus FuriTimer*
1295 Function - fwrite size_t const void*, size_t, size_t, FILE*