Toolchain 9.2.1 support fix (#1666)

Added -B arm flag to firmware/hackrf_usb/CMakeLists.txt to support builds with v9.2.1 toolchains.
This commit is contained in:
stafur
2026-02-05 11:36:56 -05:00
committed by GitHub
parent 2df9ad26af
commit 1ee45eaaa2

View File

@@ -38,6 +38,7 @@ add_custom_command(
COMMAND ${CMAKE_OBJCOPY}
-I binary
-O elf32-littlearm
-B arm
--rename-section .data=.rom_only
"fpga.bin" ${PATH_PRALINE_FPGA_OBJ}
DEPENDS ${PATH_PRALINE_FPGA_BIN}