pico-sdk/src/rp2040
Thomas Watson 0ed2840306
boot_stage2: improve reproducibility (#1907)
Specifying the final boot2 source file as a link library here causes the
final `.elf` to be linked directly with that `.S`, which causes it to be
compiled into an object file with a name like `/tmp/<random chars>.o`.
This temporary object name is embedded in the final `.elf`, so the
`.elf`'s contents change after each link even if none of the input files
change, breaking reproducibility.

Fix the issue by specifying the source file as the source for an
object-only library, then specifying the library's object files as the
target link libraries, so the source is compiled in a separate step and
only the object is passed to the linker.
2024-09-11 10:43:32 -05:00
..
boot_stage2 boot_stage2: improve reproducibility (#1907) 2024-09-11 10:43:32 -05:00
hardware_regs SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
hardware_structs SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
pico_platform Update extract configs (#1845) 2024-08-27 11:11:42 -05:00
README.md SDK 2.0.0 release 2024-08-08 08:54:38 -05:00
rp2040_interface_pins.json Add extra checks to check_board_header.py (#1775) 2024-07-25 09:47:26 -05:00

This directory contains files specific to the RP2040 hardware. It is only used when building for the RP2040 platforms i.e. PICO_PLATFORM=rp2040

hardware_regs contains low level hardware register #defines autogenerated from the RP2040 chip definition itself.

hardware_structs contains C structures for accessing memory mapped registers