logo elektroda
logo elektroda
X
logo elektroda

[Solved] Error 'platform-ide.build' not found when configuring ESP32 C3 with Arduino

gmp 1191 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19971571
    gmp
    Level 19  
    Hello,
    I created a new project for another board with the Arduino framework, then
    I followed the instructions ( https://docs.espressif.com/projects/arduino-e.../installing.html#installing-using-platformio)
    i.e. in the platformio.ini file, I changed the configuration to the one described above
    [env:arduino-esp32c3].
    platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
    board = esp32-c3-devkitm-1
    framework = arduino
    platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32#master
    .

    Unfortunately I get the error: command 'platform-ide.build' not found
    I suspect there's something wrong with this link : platform_packages , although it's from the official site.
    Does anyone have any idea how to solve this?
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • Helpful post
    #2 19971658
    khoam
    Level 42  
    feature/arduino-upstream this is a version that has not been developed for over 8 months. It is better to use simply:
    platform = https://github.com/platformio/platform-espressif32.git

    But it's best to use the packages prepared by Tasmot:
    Code: Ini
    Log in, to see the code
    Link

    The PlatformIO project is now in difficult times. Its main developers live in Ukraine.
  • ADVERTISEMENT
  • #3 19971687
    gmp
    Level 19  
    @khoam - many thanks ,
    I copied what below to the platformio.ini file and it ran.
    GPIOs are working.

    [env:esp32dev]
    board = esp32-c3-devkitm-1
    framework = arduino
    platform = https://github.com/tasmota/platform-espressif....2.1/platform-tasmota-espressif32-2.0.2.1.zip

    This problem had its source in the wrong links on the manufacturer's website, release from 05APR2022 page 9:
    https://docs.espressif.com/_/downloads/arduino-esp32/en/latest/pdf/
    I don't think anyone is even testing it.
  • #4 20010823
    gmp
    Level 19  
    Thanks to a hint from my colleague @khoam, I changed the configuration of the platformio.ini file - and everything works.
ADVERTISEMENT