How does one Add Custom ESP32 Arduino Compatible Boards to Support Package?

18 vues (au cours des 30 derniers jours)
ryan
ryan le 24 Avr 2025
Réponse apportée : Spruha le 17 Juin 2025
Hello, I have been trying to add ESP32-S3- DevKitC-1 board as per the instructuions in the link below
However, once the I modify and save the template file, the newly created custom board dissapears from the boards drop down menu in configuration settings. Kindly help

Réponses (1)

Spruha
Spruha le 17 Juin 2025
Hi Ryan,
I see that you are trying to add custom ESP32 board to support package for Arduino, but the newly created board is not available in the drop-down menu for hardware board.
To resolve this issue, please verify the following points:
  • Verify if the file naming is correct: Ensure that the name of your custom template file starts with ESP32 and ends with Board
  • Ensure Proper Class Definition: Open your custom template file and verify that it defines a class that extends the appropriate base class
  • Check the Location of the Template File: The template file should be in the correct directory (toolbox\target\supportpackages\arduinobase\+codertarget\+arduinobase\+customESP32board)
Hope this helps!

Produits


Version

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by