Replies: 2 comments
-
That's one heck of a delta in SDK versions! I'm surprised anything still works! Looks like you're using the raw SDK with (I think) CMSIS names which I think have migrated to different spots in the headers. I see that defined now in
So try updating your includes to match the new layout/needed files. |
Beta Was this translation helpful? Give feedback.
-
I see what you say, the original author of the code I am using used the raw SDK (an old version) , which is very different from the latest SDK. I will just use 1.12.0, actually, it is still good till 3.9.5. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using this board definition (for a Raspberry-Pi Pico), this code worked before:
irq_tab[TIMER_IRQ_0_IRQn] = (uint32_t)TIMER_IRQ_0_IRQHandler; // Vektor ins RAM
Now with 4.6.1, I get this error:
"Compilation error: 'TIMER_IRQ_0_IRQn' was not declared in this scope; did you mean 'TIMER_IRQ_0'? "
".arduino15/packages/rp2040/hardware/rp2040/4.6.1//pico-sdk/src/rp2_common/cmsis/stub/CMSIS/Core/Include/core_cm0plus.h:757:22: error: variable or field '__NVIC_EnableIRQ' declared void
757 | __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)"
Any idea why and how to fix it?
Thank you.
John
Beta Was this translation helpful? Give feedback.
All reactions