VanceVagell / kv4p-ht

Open source handheld ham radio project KV4P-HT
GNU General Public License v3.0
316 stars 35 forks source link

[ESP32] Migrate to ESP32 V3.X Firmware #43

Open wsciaroni opened 1 month ago

wsciaroni commented 1 month ago

Description

This issue proposes migrating the project to utilize the ESP32:ESP32 V3.X board framework in the Arduino IDE. This updated framework is based on ESP-IDF 5.1 and offers several advantages over older versions.

Motivation

New Features: V3.X includes support for new ESP32 SoCs (ESP32-C6, ESP32-H2), an updated I2S library, SPI Ethernet support, Wake Word and Command Recognition (ESP32-S3 only), TensorFlowLite Micro support, and other enhancements.

Performance Improvements

ESP-IDF 5.1 brings performance optimizations and bug fixes that can benefit our project.

Maintainability

Staying up-to-date with the latest framework ensures continued compatibility and access to the latest features and security updates.

Tasks

Testing

Thoroughly test the project on the target ESP32 board after the migration to ensure all functionality works as expected.

Documentation

Update any relevant documentation to reflect the new framework version.

Potential Challenges

API Changes: Some APIs may have been updated or deprecated in V3.X, requiring code modifications.

Library Compatibility

Ensure all external libraries used in the project are compatible with the new framework.

Unexpected Behavior

Thorough testing is crucial to identify and address any unexpected behavior due to the migration.

Benefits