It appears the rp2350 disables SRAM power when the RUN pin is pulled
low. As a result, one can not store a code in regular memory to
detect if the RUN pin is pulled low multiple times.
Add a new CONFIG_HAVE_BOARD_CHECK_DOUBLE_RESET mechanism to allow the
board code to override the standard double reset checking code.
Implement an rp2350 specific check that uses the chip's POWMAN
chip_reset field to store/check a double reset condition.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Synchronize with the latest Klipper code. This pulls in the latest
lib/ files (needed to use the pico-sdk v2.0.0 version). It updates to
latest can2040 code (needed for pico-sdk v2.0.0 support). It
implements USB double buffering (as is now done in Klipper). It adds
in support for additional UART pins (as is now done in Klipper). It
adds support for rp2350 chips.
This replaces the execute in ram code previously implemented in
Katapult with the execute in ram code that is now standard in Klipper.
The CONFIG_RP2040_ADD_BOOT_SIGNATURE kconfig symbol was removed and
the build now always produces a katapult.withclear.uf2 file.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Modified linker script and loader to load whole bootloader to the RAM.
Removed whatchdog.
Fixed gpio.c compilation.
Signed-off-by: Alex Malishev <malishev@gmail.com>