custom device driver block not supported for esp32

I have created a custom device driver block accoding to link Create Custom Device Driver Block for Arduino Library - MATLAB & Simulink - MathWorks 中国. While this block is used in my model, Simulink(build or generate code) alway output "unsolved name codertarget.arduinobase.board.ESP32-WROOM(ArduinoCompatible)Board". So, the question is whether "custom device driver block" is supported for esp32.
Thanks & Best Regargs

4 comentarios

xiaoke
xiaoke el 11 de Nov. de 2023
that's true. If i only add some built-in blocks(eg: WIFI、PWM..)to my model, then building or deploy to HW,everything works well. When a "customed device driver block" added to my model, the error message appeared.
in addition, i debug the process of building, the message appeared when Executing the expression “arduino.supportpkg.getBoardInfo”。arduino.supportpkg has methods like getSAMLibraryROot、 getAVRRoot...
getESPxxx not found. maybe that's the point ?
my simulink version is 2022a, it seems that this version has no option "Create Custom board" like your link
thanks
It apears that documentation page is new as of R2022b, https://www.mathworks.com/help/releases/R2022b/supportpkg/arduino/ug/add-custom-esp32-arduino-compatible-boards-to-support-package.html which implies that potentially the support was added in R2022b.
xiaoke
xiaoke el 11 de Nov. de 2023
Maybe worth a try

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Centro de ayuda y File Exchange.

Productos

Versión

R2022a

Preguntada:

el 11 de Nov. de 2023

Comentada:

el 11 de Nov. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by