I’ve been trying to build the MP3 player from source and create a .bin that the PicoCalc firmware loader can load but with no luck so far.
Starting from the original MP3 player source in the PicoCalc repository, I can build a .bin/.uf2, though the .bin is not usable by the loader as it has not run through whatever process allows for dealing with the bootloader offset.
From there, I’ve tried to follow the instructions in the small addendum in the README of the bootloader itself; libMAD in YAHAL errors the build as both DEBUG and NDEBUG are defined during the build process. If I alter the generated CMakeCache and force defining only one of those 2, the build succeeds but linking fails with arm-none-eabi-gcc: fatal error: /Applications/ArmGNUToolchain/13.3.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/nosys.specs: attempt to rename spec ‘link_gcc_c_sequence’ to already defined spec ‘nosys_link_gcc_c_sequence’.
The only thing I want to do is reproduce the process that led to the generation of the original MP3 player binary (stated as v0.5) that is included with the PicoCalc. Is there any documentation I may have missed?