Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5369

SDK • Re: Pico SDK 2.0.0 adding an embedded block to RP2040 binaries?

$
0
0
SUCCESS! :D :D :D :D

Kilograham, after your comments, I concentrated on getting 13.2 Rel 1 to work on the Raspberry Pi 5. I downloaded the arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz toolchain from the ARM GNU Developer website. Then I extracted the file to the /usr/local directory and added -DCMAKE_C_COMPILER=/usr/local/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi/bin/arm-none-eabi-gcc to my cmake statement. See below:

Code:

david@raspberrypi:~/pico/rp2040-new-doom/build_rp2040 $ cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_C_COMPILER=/usr/local/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi/bin/arm-none-eabi-gcc -DPICO_BOARD=vgaboard -DPICO_SDK_PATH=/home/david/pico/pico-sdk -DPICO_EXTRAS_PATH=/home/david/pico/pico-extras ..PICO_SDK_PATH is /home/david/pico/pico-sdkTarget board (PICO_BOARD) is 'vgaboard'....david@raspberrypi:~/pico/rp2040-new-doom/build_rp2040 $ make[  0%] Built target picotoolForceReconfigure[  0%] Creating directories for 'picotoolBuild'[  0%] No download step for 'picotoolBuild'...[100%] Built target doom_tiny_nost_usbdavid@raspberrypi:~/pico/rp2040-new-doom/build_rp2040 $ picotool infoProgram Information name:          doom_tiny_usb features:      WHX at 0x10042000                USB keyboard support                I2C multi-player                UART stdin / stdout binary start:  0x10000000 binary end:    0x10041fb4david@raspberrypi:~/pico/rp2040-new-doom/build_rp2040 $ cd ..david@raspberrypi:~/pico/rp2040-new-doom $ picotool load -v -t bin doom1.whx -o 0x10042000Loading into Flash: [==============================]  100%Verifying Flash:    [==============================]  100%  OK
I guess using the script from jahboater was for an earlier time when the toolchain hadn't been released yet. Now I am listening to the great sounds of lost souls dying! :D :D :D

Thanks for your suggestions; I really appreciate them!!!!

Statistics: Posted by dminderman — Sun Nov 24, 2024 2:24 pm



Viewing all articles
Browse latest Browse all 5369

Trending Articles