Jason2866 / platform-espressif32

Tasmota Espressif 32: development platform for PlatformIO
Apache License 2.0
56 stars 24 forks source link

C2 fails to compile on FastLED with this repo #81

Closed zackees closed 3 weeks ago

zackees commented 3 weeks ago

esp32c2

Let me know if I'm doing anything wrong. Here is my board defs for this product:

ESP32_C2_DEVKITM_1 = Board(
    board_name="esp32-c2-devkitm-1",
    platform_needs_install=True,  # Install platform package to get the boards
    platform="https://github.com/Jason2866/platform-espressif32",  # No support from PIO, have forked repo
)
Jason2866 commented 3 weeks ago

CI example compiles fine with the C2 https://github.com/Jason2866/platform-espressif32/blob/fc0da1b9edc2548cbe882b65e6e3df794d1c51d2/examples/arduino-blink/platformio.ini#L23 https://github.com/Jason2866/platform-espressif32/actions/runs/10937501644/job/30363510554

Don't know what you show. Not a usual Platformio setup.

Jason2866 commented 3 weeks ago

Don't know the context but this is not a valid platform entry

platform = https://github.com/Jason2866/platform-espressif32

use

platform = https://github.com/Jason2866/platform-espressif32.git
Jason2866 commented 3 weeks ago

Closing since not reproducable. C2 compiles successfully and flashing does work as expected

zackees commented 3 weeks ago

So the issue here is that pio ci didn't work, but pio run will.

I was able to create a hack that made it work for this board but holy crap.

The good news is that now we have a new way to compile stubborn boards not officially supported so overall a huge win.