Remora rp2040 compile issues.
09 Nov 2024 19:11 #314137
by Gluca
Remora rp2040 compile issues. was created by Gluca
Hi all!
I've been trying to use wiznet w5500-evb-pico as step generator for linucnc.
I was successfull loading remora-rp2040-2.0.0.uf2, from github.com/scottalford75/Remora-RP2040-W5500
But, when trying to compile, i was less lucky:
/tmp$> cmake -DPICO_SDK_FETCH_FROM_GIT=on ./Remora-RP2040-W5500-main/
/tmp$> make
I've got some include errors like: pico_bootrom/bootrom.c:9:10: fatal error: boot/picobin.h: No such file or directory
#include "boot/picobin.h"
The same for: runtime_init.h,runtime.h
But those files are available in the sdk source.
My Q&D solution was to copy locally to complete the build.
After that, the build made a loadable uf2 image.
But the rp2040 has been crashing during my tests.
Suggestions?
Gluca.
I've been trying to use wiznet w5500-evb-pico as step generator for linucnc.
I was successfull loading remora-rp2040-2.0.0.uf2, from github.com/scottalford75/Remora-RP2040-W5500
But, when trying to compile, i was less lucky:
/tmp$> cmake -DPICO_SDK_FETCH_FROM_GIT=on ./Remora-RP2040-W5500-main/
/tmp$> make
I've got some include errors like: pico_bootrom/bootrom.c:9:10: fatal error: boot/picobin.h: No such file or directory
#include "boot/picobin.h"
The same for: runtime_init.h,runtime.h
But those files are available in the sdk source.
My Q&D solution was to copy locally to complete the build.
After that, the build made a loadable uf2 image.
But the rp2040 has been crashing during my tests.
Suggestions?
Gluca.
Please Log in or Create an account to join the conversation.
13 Nov 2024 14:48 #314380
by cakeslob
Replied by cakeslob on topic Remora rp2040 compile issues.
are you compiling with release or debug? idk which one but people report trouble with one
Please Log in or Create an account to join the conversation.
13 Nov 2024 20:18 #314403
by Gluca
Replied by Gluca on topic Remora rp2040 compile issues.
>>are you compiling with release or debug?
I'm just compiling with this sequence:
/tmp$> cmake -DPICO_SDK_FETCH_FROM_GIT=on ./Remora-RP2040-W5500-main
/tmp$> make
>> idk which one but people report trouble with one
Explain me better ...
I'm just compiling with this sequence:
/tmp$> cmake -DPICO_SDK_FETCH_FROM_GIT=on ./Remora-RP2040-W5500-main
/tmp$> make
>> idk which one but people report trouble with one
Explain me better ...
Please Log in or Create an account to join the conversation.
14 Nov 2024 04:53 #314419
by cakeslob
Replied by cakeslob on topic Remora rp2040 compile issues.
stackoverflow.com/questions/7724569/debug-vs-release-in-cmake
cmake.org/cmake/help/latest/guide/tutori...20and%20Release.html
after re-reading the question later, im not sure this will help
cmake.org/cmake/help/latest/guide/tutori...20and%20Release.html
after re-reading the question later, im not sure this will help
Please Log in or Create an account to join the conversation.
14 Nov 2024 21:16 #314487
by Gluca
Replied by Gluca on topic Remora rp2040 compile issues.
Nothing to do.
After:
> cmake -DPICO_SDK_FETCH_FROM_GIT=on -DCMAKE_BUILD_TYPE=Release ./Remora-RP2040-W5500-main
> make
OR
> cmake -DPICO_SDK_FETCH_FROM_GIT=on -DCMAKE_BUILD_TYPE=Debug ./Remora-RP2040-W5500-main
> make
It always exits with "fatal error".
After:
> cmake -DPICO_SDK_FETCH_FROM_GIT=on -DCMAKE_BUILD_TYPE=Release ./Remora-RP2040-W5500-main
> make
OR
> cmake -DPICO_SDK_FETCH_FROM_GIT=on -DCMAKE_BUILD_TYPE=Debug ./Remora-RP2040-W5500-main
> make
It always exits with "fatal error".
Please Log in or Create an account to join the conversation.
16 Nov 2024 10:16 #314590
by Gluca
Replied by Gluca on topic Remora rp2040 compile issues.
Hi all!
This issue was already known:
github.com/scottalford75/Remora-RP2040-W5500/issues/10
After: git clone github.com/scottalford75/Remora-RP2040-W5500
in pico_sdk_import.cmake, change GIT_TAG masteÅ— to GIT_TAG 1.5.1 in lines 37 and 44
Than:
cd Remora-RP2040-W5500
mkdir build
cd build
export PICO_SDK_FETCH_FROM_GIT=TRUE
cmake -DPICO_BOARD=pico_w ..
cmake -DCMAKE_BUILD_TYPE=Debug . -DPICO_BOARD=pico
make clean
make
Now, the build process reaches its end with a functional firmware.
This issue was already known:
github.com/scottalford75/Remora-RP2040-W5500/issues/10
After: git clone github.com/scottalford75/Remora-RP2040-W5500
in pico_sdk_import.cmake, change GIT_TAG masteÅ— to GIT_TAG 1.5.1 in lines 37 and 44
Than:
cd Remora-RP2040-W5500
mkdir build
cd build
export PICO_SDK_FETCH_FROM_GIT=TRUE
cmake -DPICO_BOARD=pico_w ..
cmake -DCMAKE_BUILD_TYPE=Debug . -DPICO_BOARD=pico
make clean
make
Now, the build process reaches its end with a functional firmware.
Please Log in or Create an account to join the conversation.
Time to create page: 0.065 seconds