Remora rp2040 compile issues.

More
1 year 11 months ago #314137 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.

Please Log in to join the conversation.

More
1 year 11 months ago #314380 by cakeslob
are you compiling with release or debug? idk which one but people report trouble with one

Please Log in to join the conversation.

More
1 year 11 months ago #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 ...

Please Log in to join the conversation.

More
1 year 11 months ago #314419 by cakeslob

Please Log in to join the conversation.

More
1 year 11 months ago #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".

Please Log in to join the conversation.

More
1 year 11 months ago #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.

Please Log in to join the conversation.

Time to create page: 0.187 seconds
Powered by Kunena Forum