Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy integration in Arduino IDE #9491

Closed
1 task done
PM04290 opened this issue Apr 12, 2024 · 14 comments
Closed
1 task done

Legacy integration in Arduino IDE #9491

PM04290 opened this issue Apr 12, 2024 · 14 comments
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Type: Question Only question

Comments

@PM04290
Copy link

PM04290 commented Apr 12, 2024

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

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@PM04290 PM04290 added the Status: Awaiting triage Issue is waiting for triage label Apr 12, 2024
@me-no-dev
Copy link
Member

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

@VojtechBartoska VojtechBartoska added IDE: Arduino IDE Issue relates to Arduino IDE Type: Question Only question and removed Status: Awaiting triage Issue is waiting for triage labels Apr 12, 2024
@PM04290
Copy link
Author

PM04290 commented Apr 12, 2024

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

@CemDemirkartal
Copy link

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.

@me-no-dev
Copy link
Member

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

@CemDemirkartal
Copy link

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

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

@lyusupov
Copy link
Contributor

lyusupov commented Apr 13, 2024

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

references to all previous versions are missing...

@me-no-dev
Copy link
Member

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

@me-no-dev
Copy link
Member

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

@lyusupov
Copy link
Contributor

lyusupov commented Apr 13, 2024

@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:esp32@2.0.14
Error during install: Platform 'esp32:esp32@2.0.14' 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:esp32@2.0.14
Tool esp32:xtensa-esp32-elf-gcc@esp-2021r2-patch5-8.4.0 already installed
Tool esp32:xtensa-esp32s2-elf-gcc@esp-2021r2-patch5-8.4.0 already installed
Tool esp32:xtensa-esp32s3-elf-gcc@esp-2021r2-patch5-8.4.0 already installed
Tool esp32:xtensa-esp-elf-gdb@11.2_20220823 already installed

< ... skipped  ... >

esp32:mkspiffs@0.2.3 installed
Installing esp32:mklittlefs@3.0.0-gnu12-dc7f933...
Configuring tool....
esp32:mklittlefs@3.0.0-gnu12-dc7f933 installed
Installing platform esp32:esp32@2.0.14...
Configuring platform....
Platform esp32:esp32@2.0.14 installed

Core 3.0.0-alpha3

$ arduino-cli core install esp32:esp32@3.0.0-alpha3
Tool arduino:dfu-util@0.11.0-arduino5 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:mklittlefs@3.0.0-gnu12-dc7f933 installed
Installing platform esp32:esp32@3.0.0-alpha3...
Configuring platform....
Platform esp32:esp32@3.0.0-alpha3 installed

Thank you so much!

@me-no-dev
Copy link
Member

@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

@khryssmar
Copy link

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.

@PM04290
Copy link
Author

PM04290 commented Apr 14, 2024

@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 ?

@me-no-dev
Copy link
Member

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

@lyusupov
Copy link
Contributor

@PM04290

image

@PM04290 PM04290 closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Type: Question Only question
Projects
None yet
Development

No branches or pull requests

6 participants