arduino-esp32 icon indicating copy to clipboard operation
arduino-esp32 copied to clipboard

Legacy integration in Arduino IDE

Open PM04290 opened this issue 10 months ago • 13 comments

Board

ESP32

Device Description

na

Hardware Configuration

na

Version

v2.0.14

IDE Name

Arduino IDE

Operating System

Windows

Flash frequency

na

PSRAM enabled

yes

Upload speed

na

Description

With 2.0.14 installed since few month with preferece : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json note: it's same thing with preference : https://espressif.github.io/arduino-esp32/package_esp32_index.json question : is it possible to préserve compatibility with old version (legacy) ? 2.0.14 is not displayed, so it's imposible to uninstall it, and if i want to stay in 2.0.14, the core is not displayed on available board. image

Sketch

na

Debug Message

na

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.

PM04290 avatar Apr 12 '24 05:04 PM04290

it does not show because it's already installed. I suggest you go to 2.0.15 though. it's the same as 2.0.14 with some fixes

me-no-dev avatar Apr 12 '24 10:04 me-no-dev

All ESP32 have desappeared, and i can't remove 2.0.14 to install 2.0.15 image

PM04290 avatar Apr 12 '24 13:04 PM04290

I need 2.0.14 version too, Is there a manual way to install it?

2.0.15 has bugs, Serial 1 and Serial 2 do not work on nodemcu esp32s v1.1 module It was working well on 2.0.14 version, now working on 2.0.11 version which available previous version to install.

CemDemirkartal avatar Apr 13 '24 09:04 CemDemirkartal

seems to me you forgot to load the proper JSON, so you see only the versions that are released by Arduino.cc

me-no-dev avatar Apr 13 '24 11:04 me-no-dev

With https://espressif.github.io/arduino-esp32/package_esp32_index.json

"2.0.15" , "2.0.11" and "2.0.10" versions are listed

CemDemirkartal avatar Apr 13 '24 11:04 CemDemirkartal

@me-no-dev both 'stable' and 'dev' JSON files are truncated:

  • "2.0.15" is the only listed in the 'stable' one: https://espressif.github.io/arduino-esp32/package_esp32_index.json
  • "3.0.0-rc1" is the only listed in the 'dev' file: https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json

references to all previous versions are missing...

lyusupov avatar Apr 13 '24 12:04 lyusupov

holly cow... something really went crazy with those jsons. I guess we have work to do for next release

me-no-dev avatar Apr 13 '24 14:04 me-no-dev

I have updated both JSONs. Can you please confirm that you see the older versions on the stable json and alpha3 on the dev json

me-no-dev avatar Apr 13 '24 14:04 me-no-dev

@me-no-dev

Can you please confirm that you see the older versions on the stable json and alpha3 on the dev json

Your update has positive effect !

Before

$ arduino-cli core install esp32:[email protected]
Error during install: Platform 'esp32:[email protected]' not found: required version 2.0.14 not found for platform esp32:esp32

After

Core 2.0.14

$ arduino-cli core update-index
Downloading index: package_index.tar.bz2 downloaded
Downloading index: package_esp32_dev_index.json downloaded
Downloading index: package_esp32_index.json downloaded

$ arduino-cli core install esp32:[email protected]
Tool esp32:[email protected] already installed
Tool esp32:[email protected] already installed
Tool esp32:[email protected] already installed
Tool esp32:[email protected]_20220823 already installed

< ... skipped  ... >

esp32:[email protected] installed
Installing esp32:[email protected]...
Configuring tool....
esp32:[email protected] installed
Installing platform esp32:[email protected]...
Configuring platform....
Platform esp32:[email protected] installed

Core 3.0.0-alpha3

$ arduino-cli core install esp32:[email protected]
Tool arduino:[email protected] already installed
Downloading packages...
esp32:esp32-arduino-libs@idf-release_v5.1-3662303f31 48.13 MiB / 334.41 MiB   14esp32:esp32-arduino-libs@idf-release_v5.1-3662303f31 105.76 MiB / 334.41 MiB   

< ... skipped  ... >

Configuring tool....
esp32:[email protected] installed
Installing platform esp32:[email protected]...
Configuring platform....
Platform esp32:[email protected] installed

Thank you so much!

lyusupov avatar Apr 13 '24 15:04 lyusupov

@lyusupov I have no idea why it failed. Script has worked for years without issues and it worked for 2.0.14, yet we have not changed it a bit in it since. Dev channel also failed when we started releasing alphas, but nobody noticed until now.

Thanks for your investigation. It really pinpointed the issue. Others saying that they see other versions made no sense, except if they were looking at the Arduino.cc released versions, which were exactly those.

Anyway, we should be good for now and we will fix them for future releases

me-no-dev avatar Apr 13 '24 15:04 me-no-dev

Had the same issue yesterday where only .11 and .15 shows up and had errors on Serial2. But today, almost all versions showed up and I can now revert to .14 instead of .11 only.

khryssmar avatar Apr 13 '24 23:04 khryssmar

@me-no-dev you suggest 2.0.15 and there is a Serial2 bug ? i use it in some projects.... what should i do ? go back to 2.0.14 ?

PM04290 avatar Apr 14 '24 17:04 PM04290

you can go to 2.0.14 or just call Serial2.setPins(rx, tx). As far as I understand, the issue is only with default pins

me-no-dev avatar Apr 14 '24 20:04 me-no-dev

@PM04290

image

lyusupov avatar Apr 15 '24 03:04 lyusupov