pico-bootrom
pico-bootrom copied to clipboard
Section text will not fit in ROM
I tried building the bootrom on Windows and LInux, booth builds faile with the same error (windows example):
[build] c:/progra~2/armgnu~1/112202~1.02/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld.exe: bootrom.elf section `.text' will not fit in region `ROM'
[build] c:/progra~2/armgnu~1/112202~1.02/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld.exe: region `ROM' overflowed by 16384 bytes
[build] collect2.exe: error: ld returned 1 exit status
[build] NMAKE : fatal error U1077: "C:\PROGRA~2\ARMGNU~1\112202~1.02\bin\AR19DD~1.EXE": R³ckgabe-Code "0x1"
[build] Stop.
[build] NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x86\nmake.exe"": R³ckgabe-Code "0x2"
[build] Stop.
[build] NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.27.29110\bin\HostX86\x86\nmake.exe"": R³ckgabe-Code "0x2"
[build] Stop.
[build] Build finished with exit code 2
steps to reproduce: git clone https://github.com/raspberrypi/pico-bootrom cd pico-bootrom git submodule update --init mkdir build cd build cmake .. make -j4
you have to use the exact compiler versions indicated in the README.md
thanks, i will try that. still had the new compiler open from working with the pico SDK