Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6488

MicroPython • Re: How to load an elf file into the Pico

$
0
0
The net result is that I have built a file called Firmware.elf.
Assuming that is the equivalent of MicroPython with extra magic on top there's a Pico SDK 'elf2uf2' utility which will convert that to a '.uf2' file.

That's not installed as a system app but it's easy enough to make it one -

Code:

cd ~/pico/pico-sdk/tools/elf2uf2mkdir buildcd buildcmake ..makesudo ln -s ~/pico/pico-sdk/tools/elf2uf2/build/elf2uf2 /usr/local/bin/elf2uf2
Then -

Code:

elf2uf2 firmware.elf firmware.uf2

Statistics: Posted by hippy — Wed Jul 17, 2024 6:21 pm



Viewing all articles
Browse latest Browse all 6488

Latest Images

Trending Articles



Latest Images