I’m really struggling to find the documentation on this. This is a follow up to a post I mad on May 9th that received 0 answers.
Here’s my platformio.ini
platform = GitHub - platformio/platform-espressif32: Espressif 32: development platform for PlatformIO
framework = arduino
board = esp-wrover-kit
All I want to do is fork platform-espressif32 and build my app using that forked version. And I have searched for days with no answer.
I tried replacing “GitHub - platformio/platform-espressif32: Espressif 32: development platform for PlatformIO” with “http://myplatform.git” but there’s obviously more to do because it doesn’t work. I need to do things like enable code signing, and secure boot, etc. Basically I want to modify the things you can modify with “make menuconfig” in the esp-idf
Needs to be more specific than that. If you have an exakt fork of
platform-espressif32and point to it using the new URL everything old should still work exactly as before. And that is not the case?
I did not put the full URL in the example, but I do have an exact fork of GitHub - platformio/platform-espressif32: Espressif 32: development platform for PlatformIO Let’s call my fork “https://github.com/me/my-platformio-fork.git”
But the actual platform source code from espressif is not there, it’s in these repos:
Let’s say I have forks of those called “https://github.com/me/my-esp-idf.git” and “https://github.com/me/my-arduino-esp32.git”.
I want to use platformio to build against “https://github.com/me/my-esp-idf.git” and “https://github.com/me/my-arduino-esp32.git”. So to do that, if I correctly understand, I need to do the following:
In my platformio.ini:
platform = https://github.com/me/my-platformio-fork.git
Modify some files??? in “https://github.com/me/my-platformio-fork.git” to point to my custom forks “https://github.com/me/my-esp-idf.git” and “https://github.com/me/my-arduino-esp32.git”.
“git commit” to commit those changes
“git push” to push those changes
“pio update” to fetch my updates
“pio run” should now create binaries made with “https://github.com/me/my-platformio-fork.git”
I’ve been able to do everything except step 2. What files do I edit to I tell platformIO where my modified platform source code is? I don’t see references to “GitHub - espressif/esp-idf: Espressif IoT Development Framework. Official development framework for Espressif SoCs.” or “GitHub - espressif/arduino-esp32: Arduino core for the ESP32”
See Custom Development Platforms — PlatformIO latest documentation,
manifest.json. All packages and their URLs are specified there. Modify where
framework-arduinoespressif32 points to.
I’m still not getting it. Is this the section I modify?
So do I add change it like this:
If so, what is XXXX? Is that a GIT repo URL or something else?
The example looks like this:
Am I supposed to just tar/gz the contents of my forked repo?
That’s what it looks like… You’d want to change the
packageRepositories line …
… to a
manifest.json file you control, specify your own framework in your
And then reference it under
packages in your
Seeing the docs makes me want to actually try some platform/framework development stuff out now… wanted to get a board working on arm64… might actually try it now!