Reduce all DIO interrupt handling to single ISR/task pair #5

Open
opened 2021-11-17 22:40:26 -05:00 by morgan · 0 comments
Owner

Presently there are multiple ISR callback for each DIO pin. This can be reduced to a single callback with Event Bit flags and void* arguments.

Additionally a single task loop local to esp32-lora.c should handle all of the callbacks to application code. A task per device doesn't only waste memory, additional mutex locking would be required to ensure bus collisions don't occur.

Presently there are multiple ISR callback for each DIO pin. This can be reduced to a single callback with Event Bit flags and void* arguments. Additionally a single task loop local to `esp32-lora.c` should handle all of the callbacks to application code. A task per device doesn't only waste memory, additional mutex locking would be required to ensure bus collisions don't occur.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: morgan/esp32-lora#5
No description provided.