lpc: Shuffle more bits around for flash loader Having a fixed value at 0x2fc means splitting flash and trying to make enough space on both sides. Sigh. Signed-off-by: Keith Packard <keithp@keithp.com>
lpc: Stick magic value at 0x2fc to let us use PIO0_1 This pin is used by the built-in ROM boot loader code to force ISP. That keeps us from attaching anything that might be connected to ground. Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Move from newlib-nano to picolibc Use picolibc.ld, which involved some .ld file hacking, including: 1) Defining ao_boot RAM address in the .ld file and declaring it 'extern' 2) Changing how m0 interrupt vector got moved to ram 3) Using -Taltos.ld instead of -Wl,-Taltos.ld so picolibc.specs wouldn't add picolibc.ld 4) Placing romconfig vars in '.init.1' and '.init.2' sections instead of '.romconfig' 5) Place code needing to run out of RAM in section .srodata instead of .ramtext Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Remove 8051 address space specifiers Signed-off-by: Keith Packard <keithp@keithp.com>
Switch from GPLv2 to GPLv2+ Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lpc: Be a bit more resistant to toolchain section name changes Just add some wild cards on the ends of each section name in case the toolchain changes names in the future. Signed-off-by: Keith Packard <keithp@keithp.com>
altos/lpc: Add boot loader Support the USB boot loader, add USB pull-up support. Signed-off-by: Keith Packard <keithp@keithp.com>