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.The net result is that I have built a file called Firmware.elf.
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
Code:
elf2uf2 firmware.elf firmware.uf2
Statistics: Posted by hippy — Wed Jul 17, 2024 6:21 pm