Closed luisqcosta closed 2 months ago
Just replace the external_components section with the following and it will build directly on your esphome.
external_components:
Hello guys, I am trying to debug the project platformio.ini without success. The board is a brand new Raspberry PI Pico W (the same shown in the project pics) Any kind advice from your side?
Many thanks in advance
Regards
Aldo
here the log:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ soft
Found 30 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoJson @ 6.21.3
Building in debug mode
Linking .pio\build\rp2040-pico-arduino\firmware.elf
c:/users/aldo/.platformio/packages/toolchain-rp2040-earlephilhower/bin/../lib/gcc/arm-none-eabi/12.3.0/../../../../arm-none-eabi/bin/ld.exe: warning: .pio\build\rp2040-pico-arduino\firmware.elf has a LOAD segment with RWX permissions
c:/users/aldo/.platformio/packages/toolchain-rp2040-earlephilhower/bin/../lib/gcc/arm-none-eabi/12.3.0/../../../../arm-none-eabi/bin/ld.exe: .pio\build\rp2040-pico-arduino\libFrameworkArduino.a(main.cpp.o): in function main': C:\Users\aldo\.platformio\packages\framework-arduinopico\cores\rp2040/main.cpp:144: undefined reference to
setup'
c:/users/aldo/.platformio/packages/toolchain-rp2040-earlephilhower/bin/../lib/gcc/arm-none-eabi/12.3.0/../../../../arm-none-eabi/bin/ld.exe: C:\Users\aldo.platformio\packages\framework-arduinopico\cores\rp2040/main.cpp:146: undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\rp2040-pico-arduino\firmware.elf] Error 1
======================================================================================================================================= [FAILED] Took 3.30 seconds =======================================================================================================================================
Environment Status Duration
rp2040-pico-arduino FAILED 00:00:03.300 ================================================================================================================================== 1 failed, 0 succeeded in 00:00:03.300 ==================================================================================================================================
Hello,
I'm havving the same issue:
Building in release mode
Linking .pio\build\rp2040-pico-arduino\firmware.elf
c:/users/user/.platformio/packages/toolchain-rp2040-earlephilhower/bin/../lib/gcc/arm-none-eabi/12.3.0/../../../../arm-none-eabi/bin/ld.exe: warning: .pio\build\rp2040-pico-arduino\firmware.elf has a LOAD segment with RWX permissions
c:/users/user/.platformio/packages/toolchain-rp2040-earlephilhower/bin/../lib/gcc/arm-none-eabi/12.3.0/../../../../arm-none-eabi/bin/ld.exe: .pio\build\rp2040-pico-arduino\libFrameworkArduino.a(main.cpp.o): in function main': main.cpp:(.text.startup.main+0xc8): undefined reference to
setup'
c:/users/user/.platformio/packages/toolchain-rp2040-earlephilhower/bin/../lib/gcc/arm-none-eabi/12.3.0/../../../../arm-none-eabi/bin/ld.exe: main.cpp:(.text.startup.main+0xcc): undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\rp2040-pico-arduino\firmware.elf] Error 1
Anyone found how to fix the problem?
Best regards
You guys managed to get it to work?
You guys managed to get it to work?
I did add some installation steps in readme
Hi! Congratulations on the project! I am bringing to life my intex spa, just like yours.
Would it be possible to have some short directions on how to upload\load everything in the pico?
Also, the home assistant API needs changing if i am correct?
I am sorry for this, it is my first time with the Pico!