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

Migrate from Arduino ESP32 Core 2.x to 3.x, IDF 5.1 #502

Merged
merged 38 commits into from Nov 21, 2023

Conversation

brentru
Copy link
Member

@brentru brentru commented Oct 19, 2023

Migration of WipperSnapper's ESP32 builds from 2.X (based on ESP-IDF 4.4) to version 3.0 (based on ESP-IDF 5.1) of the Arduino ESP32 core.

Changes:

  • Migrated to new LEDC API
  • Updated dependencies
    • SleepyDog
    • OneWireNG

The following things require physical testing before merging and releasing:

  • PWM Component on any ESP32 board
  • Servo Component on any ESP32 board
  • DS18x20 on any ESP32 board
  • LVGL on FunHouse ESP32-S2
  • NeoPixel on any ESP32 board

@brentru brentru marked this pull request as ready for review October 19, 2023 19:43
@brentru
Copy link
Member Author

brentru commented Nov 2, 2023

Resolves #502

@brentru
Copy link
Member Author

brentru commented Nov 2, 2023

@brentru
Copy link
Member Author

brentru commented Nov 9, 2023

Everything tests OK except LVGL on FunHouse ESP32-S2.

The current partition scheme with huge_app partition causes the board to reset into BOOTLOADER mode.
TinyUF2 is too small, 7% over.

@brentru
Copy link
Member Author

brentru commented Nov 17, 2023

Using new partition via espressif/arduino-esp32#8897 works OK on FunHouse + LVGL

@brentru
Copy link
Member Author

brentru commented Nov 17, 2023

@tyeth I've added a development build to the esp32 target matrix under, feather_esp32_v2_debug. This board has verbose debugging enabled by default.

@brentru
Copy link
Member Author

brentru commented Nov 20, 2023

Okay, this is finally shaping up well and the RMT bug is fixed.

Final testing of the following components is required again prior to merge (@tyeth - if you'd like to test with me tomorrow, feel free! I'm going to be using a Feather ESP32-S3)

  • PWM Component on any ESP32 board
  • Servo Component on any ESP32 board
  • DS18x20 on any ESP32 board
  • LVGL on FunHouse ESP32-S2
  • NeoPixel on any ESP32 board

Post-merge notes:

  • All ESP32-SX platforms are built from adafruit/arduino-esp32/tree/add-makeboards
  • After merging, we will release this as a pre-release for a week and blog-post/forum-post about it

@tyeth
Copy link
Contributor

tyeth commented Nov 21, 2023

Funhouse fails to accept UF2, probably related to old bootloader, there is an update UF2 for v0.18.1 from last week.

Feather S2 works fine, accepts UF2, tested PWM LED, neopixel, internal LiPo (max17048) i2c sensor, and external LTR390 i2c sensor.

  • PWM Component on any ESP32 board
  • Servo Component on any ESP32 board
  • DS18x20 on any ESP32 board
  • LVGL on FunHouse ESP32-S2 -- fail without new bootloader
  • NeoPixel on any ESP32 board

@brentru brentru merged commit 1922364 into adafruit:main Nov 21, 2023
31 checks passed
@brentru brentru deleted the migrate-to-bsp-3 branch November 21, 2023 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants