Hi,
I just realized that there is a bug in the IRQ handler that suppresses callbacks/events for line # > 7. Here is a diff of the fix:
--- a/hal_pal_lld.c
+++ b/hal_pal_lld.c
@@ -62,11 +62,10 @@ palevent_t _pal_events[30];
OSAL_IRQ_HANDLER(RP_IO_IRQ_BANK0_HANDLER) {
OSAL_IRQ_PROLOGUE();
- int ...
Search found 2 matches
- Tue Nov 15, 2022 1:39 am
- Forum: Development and Feedback
- Topic: [DEV] RP2040 support
- Replies: 106
- Views: 194962
- Sun Nov 06, 2022 4:04 pm
- Forum: Development and Feedback
- Topic: [DEV] RP2040 support
- Replies: 106
- Views: 194962
Re: [DEV] RP2040 support
Hi,
I noticed that the RP2040 PAL driver does not support events so I extended the LL driver to support line events. There are 2 configuration options:
1. RP_PAL_EVENT_CORE_AFFINITY (default 0) - core that handles the interrupts
2. RP_IO_IRQ_BANK0_PRIORITY (default 2) - priority of the interrupt ...
I noticed that the RP2040 PAL driver does not support events so I extended the LL driver to support line events. There are 2 configuration options:
1. RP_PAL_EVENT_CORE_AFFINITY (default 0) - core that handles the interrupts
2. RP_IO_IRQ_BANK0_PRIORITY (default 2) - priority of the interrupt ...