raspberrypi / picotool

BSD 3-Clause "New" or "Revised" License
555 stars 95 forks source link

Swap endian-ness in tools on big endian host #28

Open zeldin opened 3 years ago

zeldin commented 3 years ago

This depends on raspberrypi/pico-sdk#329.

josch commented 2 months ago

I have https://github.com/raspberrypi/pico-sdk/pull/329 applied to the Debian packaging of pico-sdk and am thus also interested in this patch for picotool.

Can you think of a nice test case for picotool which would not require hardware and would fail on big endian machines? Something I can run as part of the Debian autopkgtests to make sure this works?

Thanks!