OK - good to see this bug...
Based on Recommends I switched to picolibc-arm-none-eabi.
I was able to *build* HackRF firmware with picolibc just now.
(Will need to actually test it in action on hardware this weekend, of course.)
--- a/firmware/toolchain-arm-cortex-m.cmake
+++ b/firmware/toolchain-arm-cortex-m.cmake
@@ -24,7 +24,7 @@
set(CMAKE_C_COMPILER arm-none-eabi-gcc)
set(CMAKE_CXX_COMPILER arm-none-eabi-g++)
-set(CMAKE_EXE_LINKER_FLAGS_INIT "--specs=nosys.specs")
+set(CMAKE_EXE_LINKER_FLAGS_INIT "--specs=picolibc.specs")
execute_process(
COMMAND ${CMAKE_C_COMPILER} -print-file-name=libc.a
I expect Ubertooth to be quite similar.
Also, I am about to ITP a new rfone-fw package for the new
HydraSDR RFOne hardware that is similar to the HackRF.
-Maitland