To use the USB SRAM up in the 0x5000_0000 range, I've defined it in my linker script, and I'm assigning buffer structures to it with link_section. This works fine, until I try to load the binary using elf2uf2, which says:
Error: "Memory segment 0x50100100->0x50100140 is outside of valid address range for device"
Given that this is an uninitialized segment that won't be loaded, I'd rather this were exempted from the address range check. (I use this same pattern to map peripherals to appropriate places in the address space.)
To use the USB SRAM up in the
0x5000_0000
range, I've defined it in my linker script, and I'm assigning buffer structures to it withlink_section
. This works fine, until I try to load the binary using elf2uf2, which says:Given that this is an uninitialized segment that won't be loaded, I'd rather this were exempted from the address range check. (I use this same pattern to map peripherals to appropriate places in the address space.)