Compare commits

...

2 Commits

Author SHA1 Message Date
Ibrahim Abdelkader
8542657ce4
Merge 189a835999 into 87b01fac51 2025-09-21 20:54:12 +00:00
iabdalkader
189a835999 ports/alif: Handle pending events before/after inference.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2025-09-21 22:54:02 +02:00

View File

@ -35,6 +35,8 @@
#include CMSIS_MCU_H
#include "py/mphal.h"
#include "py/runtime.h"
#include "alif_hal.h"
#include "omv_boardconfig.h"
#include "ethosu_driver.h"
@ -150,11 +152,11 @@ uint64_t ethosu_address_remap(uint64_t address, int index) {
}
void ethosu_inference_begin(struct ethosu_driver *drv, void *user_arg) {
mp_event_handle_nowait();
}
void ethosu_inference_end(struct ethosu_driver *drv, void *user_arg) {
mp_event_handle_nowait();
}
void ETHOSU_IRQ_HANDLER(void) {