JoNil / elf2uf2-rs

BSD Zero Clause License
81 stars 31 forks source link

Backport changes #22

Closed datdenkikniet closed 11 months ago

datdenkikniet commented 1 year ago

Closes #5

I looked at the diff between 26653ea81e340cacee55025d110c3e014a252a87 and 6a7db34ff63345a7badec79ebea3aaef1712f374 in the pico-sdk repo and applied the changes to elf2uf2-rs accordingly.

After that applied some changes to make the code a bit more idiomatic, but that commit can be dropped if we don't want it.

Add a miniscule unit test, until we can get #14 merged and write these tests in a slightly less cursed way