RogerClark wrote:BTW.
Running in ram used to be an option in the board menu's but as the sketch now generally takes at least 12 to 15k there is so little ram left in the smaller boards, that it wasn't worth supporting

But if you look in the old leaflabs github libmaple repo you can probably find the linker settings for it (albeit that would include the bootloader, which you are not using), but it would be a start.