An open source ecosystem for IoT development. Cross-platform code builder and library manager. Continuous and IDE integration. Arduino and MBED compatible. Ready for Cloud compiling.
Hi ! I have a fairly weird issue:
I have a project with the following platformio.ini:
board_build.partitions = partition.csv
platform = espressif32
framework = arduino, espidf
board = esp32-wroom
monitor_speed = 115200
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#idf-release/v4.0
framework-espidf @ https://github.com/espressif/esp-idf.git#release/v4.2
When I run a compilation(pio run -t upload), it says that it successfully downloaded esp-idf, with the version I asked it to. However, when I go into my ~/.platformio/packages/framework-espidf
, the content is not esp-idf at all:
➜ framework-espidf ls
cjson-utils-tests.json package.json README.md spec_tests.json tests.json version.txt
Which seems to be this repository: https://github.com/DaveGamble/cJSON/tree/master/tests/json-patch-tests
Any idea of what's happening ?
the ls -a
is actually the following:
. cjson-utils-tests.json .gitignore package.json README.md tests.json
.. .editorconfig .npmignore .piopm spec_tests.json version.txt
with the .piopm
file containing the following:
{"type": "tool", "name": "framework-espidf", "version": "1.1.0+sha.8cd16b6", "spec": {"owner": "platformio", "id": null, "name": "framework-espidf", "requirements": null, "url": "git+https://github.com/espressif/esp-idf.git#release/v4.2"}}
package.json
file in the esp-idf repository. Is there another solution than forking esp-idf, and having to maintain my version of it ? (or hoping they'll accept a PR). Moreover, does anyone know how the default esp-idf (when no platform_packages
is given) has a package.json ? Does pio maintain a custom version of it ?
@K0rkunc What about this? https://platformio.org/lib/show/2909/32x16%20P10%20LED%20MATRIX%20library%20based%20on%20Adafruit%20Nok
this stmduino
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream