VA Fixes: USB IRQ Handling and EP configuration, Thread handler shenanigans. (#3705)

* FuriHal: properly handle high priority USB IRQ, change CDC decriptor to use separate TX/RX endpoints
* Furi: drop task handle, cleanup casts and memory corrupt in threads
* FuriHal: update max power in USB descriptors
* Furi: properly handle thread free if thread was not started
* Furi crash: meaningful interrupt name instead of id

---------

Co-authored-by: SG <who.just.the.doctor@gmail.com>
This commit is contained in:
あく
2024-06-12 16:07:29 +01:00
committed by GitHub
parent 798e0c3e78
commit 70d2453bbc
10 changed files with 207 additions and 31 deletions

View File

@@ -110,6 +110,14 @@ void furi_hal_interrupt_set_isr_ex(
FuriHalInterruptISR isr,
void* context);
/** Get interrupt name by exception number.
* Exception number can be obtained from IPSR register.
*
* @param exception_number
* @return const char* or NULL if interrupt name is not found
*/
const char* furi_hal_interrupt_get_name(uint8_t exception_number);
#ifdef __cplusplus
}
#endif