Skip to content

Legacy integration in Arduino IDE #9491

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

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

Legacy integration in Arduino IDE #9491

PM04290 opened this issue Apr 12, 2024 · 19 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:[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!

@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
@ajfdez
Copy link

ajfdez commented Jan 19, 2025

Hello to all.

I am debugging some SPI Displays issues (ili9488 SPI screen) in an Arduino ESP32, and seems like i need Arduino ESP Boards 2.0.14 because it was the last working version for my problem.

But 2.0.14 is not available in the boards manager.

Image

@me-no-dev, is it possible that what happened and you solved on Apr/24, is happening again?

I already have the https://espressif.github.io/arduino-esp32/package_esp32_index.json in the Additional Boards URL's

@Xylopyrographer
Copy link
Contributor

@ajfdez
I think you want to pick the esp32 by Espressif Systems board package, not the Arduino ESP32 Boards by Arduino package.

Image

@ajfdez
Copy link

ajfdez commented Jan 19, 2025

@Xylopyrographer Thank you, but i think i need the Arduino ESP32 Boards.

I have readed somewhere that you need to use the Arduino's and not the Espressis's ones if you are using an Arduino ESP32.

Although trying doesn't hurt, I followed your suggestion and I'm still at the same point. The problem I have is quite widespread, and all the solutions I see involve installing Arduino ESP32 Boards 2.0.14."

@me-no-dev
Copy link
Member

The problem I have is quite widespread

what problem is quite widespread? Our SPI library works just fine on all supported chips with all SPI screens. Maybe the library you are using is not properly written?

@ajfdez
Copy link

ajfdez commented Jan 19, 2025

The problem is an ili9488 Spi screen with an Arduino ESP32.
If you google _Arduino ESP32 Ili9488 _ you can see is something that happens often, and many says is something impossible today.

They do not work. Or at least i do not find the way. The only posts you can see with some success are people that installed 2.0.14

Examples:

https://github.com/Bodmer/TFT_eSPI/issues/3329#issuecomment-2370475614
https://github.com/Bodmer/TFT_eSPI/issues/3329#issuecomment-2370475614
https://forum.arduino.cc/t/tft-lcd-display-ili9488-esp32-does-not-work/1169968/21

I think is something related with SPI declarations. Or maybe is the library as you say, i don't know.

The library is TFT_eSPI.h https://github.com/Bodmer/TFT_eSPI/blob/master/README.md and seems like a well written one.

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

8 participants