MCPcopy Index your code
hub / github.com/JoNil/elf2uf2-rs

github.com/JoNil/elf2uf2-rs @2.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.2.0 ↗ · + Follow
26 symbols 40 edges 4 files 3 documented · 12%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Port of elf2uf2 to rust

cargo install elf2uf2-rs

Options

-d automatic deployment to a mounted pico.

-s open the pico as a serial device after deploy and print serial output.

-t send termination message to the device if ctrl+c is pressed. Can be used on the device to trigger a reboot into programming mode with a call to reset_to_usb_boot(0, 0)

Original at https://github.com/raspberrypi/pico-sdk/tree/master/tools/elf2uf2

Extension points exported contracts — how you extend this code

AddressRangesExt (Interface)
(no doc) [1 implementers]
src/elf.rs

Core symbols most depended-on inside this repo

elf2uf2
called by 3
src/main.rs
output_path
called by 2
src/main.rs
is_address_initialized
called by 2
src/elf.rs
check_address_range
called by 2
src/elf.rs
read_elf32_ph_entries
called by 1
src/elf.rs
is_ram_binary
called by 1
src/elf.rs
realize_page
called by 1
src/elf.rs
range_for
called by 1
src/elf.rs

Shape

Method 11
Class 8
Function 5
Enum 1
Interface 1

Languages

Rust100%

Modules by API surface

src/elf.rs13 symbols
src/main.rs7 symbols
src/address_range.rs4 symbols
src/uf2.rs2 symbols

For agents

$ claude mcp add elf2uf2-rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact