Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4782

SDK • Re: error: cannot convert 'void (RCOMM::*)()' to 'irq_handler_t'

$
0
0
can emit things like jump tables (when it compiles a switch statement into one) that aren't in the .text segment and hence not affected by the linker script putting that in flash/RAM as requested.
Thanks for pointing that out. I do use a switch in this code. I'll replace it with a stack of elseif's .
For a NO_FLASH build, you can't readily put anything in flash as there's no code to set up the flash for XIP
Since I'm confident I can fit the whole thing in flash I was intending a NO_FLASH build. At that point I wanted to attempt writing some runtime data logging to flash , so no XIP needed.

I have not got as far as looking at how to allocate and write to the onboard flash. Any gotchas I need to look out for there?

Thx.

Statistics: Posted by pie_face — Sun Nov 24, 2024 10:21 am



Viewing all articles
Browse latest Browse all 4782

Trending Articles