Closed MichaelMichaelMichaelMichaelMichael closed 1 year ago
The PlatformIO package repository always deleted older versions of the framework-arduinopico
when newer ones were uploaded. Now, they're even completely removed after a very lengthy disagreement (read: "mud-wrestling") between PlatformIO and RaspberryPi Trading Ltd. Hence, the "could not find package" is true because it's really gone in the registry.
But, nothing to worry. The PIO registry is not needed at all for this to work. You can simply repoint the package framework-arduinopico
to be taken from the git link https://github.com/earlephilhower/arduino-pico/archive/refs/tags/2.4.0.zip
instead, giving you 2.4.0 (which is what ~1.20400.0
encodes). In some YAML file there should be some platform_packages
declaration that controls this, I will have a look.
In any case though, even if it successfully uses 2.4.0, that's really outdated by now. Currently, it's 3.3.1. I think you're far better off in general if you take the current vanilla version of https://github.com/esphome/.
No actually I think the blogpost is just wrong, sadly due to time advanced. When it tells you to use this fork of ESPHOME
Use pip3's source install feature to install from the pull request fork: pip3 install git+https://github.com/jesserockz/esphome.git@rp2040
That's a branch now over 1000 commits behind mainline (https://github.com/jesserockz/esphome/tree/rp2040). May I ask you pip uninstall esphome
again and use the pip3 install git+https://github.com/esphome/esphome.git
instead? Hope they reference a more recent platform-raspberrypi version that works properly.
If that does not work, at least try the comment:
No updates from the original filer and the referenced blog seems wildly out of date. Closing.
Hi, I'm trying to make esphome work under ubuntu by trying to run Jeff Geerling's example, but it fails with the error down-below. Do you have an idea what might be missing? Thank you in advance for your help! Michael