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 Comments

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.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 11 Nov 2023

Commented:

on 11 Nov 2023

Community Treasure Hunt

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

Start Hunting!