How to use a custom-made branch as platform

Hello !

I want to use this branch and I have no idea how to do that.

platform = doesn’t work, obviously.

Try this:

platform = espressif32
framework = arduino
platform_packages = framework-arduinoespressif32 @
1 Like

@manuelbl Bumping this thread, I can create a new one if you’d prefer.

The solution proposed does not work for me.

I am attempting to use the branch,

My platformio.ini looks like:

platform = espressif32
platform_packages =
        framework-arduinoespressif32 @
framework = arduino

And returns the error:

Tool Manager: Installing git+
git version 2.21.1 (Apple Git-122.3)
Cloning into '/Users/USER/.platformio/.cache/tmp/pkg-installing-3vle6un3'...
fatal: repository '' not found
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '', '/Users/USER/.platformio/.cache/tmp/pkg-installing-3vle6un3']
The terminal process "platformio 'run', '--environment', 'MagTag'" terminated with exit code: 1.

This is the wrong URL – if you want to reference a specific branch, you must reference the normal repo URL with #branch, as e.g. seen in here.

would be the right URL to use.

Perfect, thanks for your assistance! I’ll wait until the experimental support for ESP32-S2 is merged into PIO (Board Definition for Adafruit MagTag - #5 by maxgerhardt) before continuing further.