Borrar filtros
Borrar filtros

Why do I see a build error when trying to deploy a simulink model to ESP32 WROVER hardware in R2024a release?

9 visualizaciones (últimos 30 días)
Here is the error snippet from the attached screenshot:
c:\programdata\matlab\supportpackages\r2024a\portable\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\xtensa-esp32-elf\esp32-psram\no-rtti\bits\c++config.h:508:10: fatal error: bits/os_defines.h: No such file or directory
#include <bits/os_defines.h>
^~~~~~~~~~~~~~~~~~~~

Respuestas (1)

Nakul Khadilkar
Nakul Khadilkar el 6 de Mayo de 2024
This is due to the path length limitations that exist on the Windows operating system. The support packages, by default, get installed in the location provided by the following command:
>> matlabshared.supportpkg.getSupportPackageRoot
Try changing this default location to a path that is shorter in character length using the command mentioned in this page.
For example, if the default location is 'C:\ProgramData\MATLAB\SupportPackages\R2024a', change it to 'C:\ProgramData\MATLAB\SupportPackages\24a', restart matlab, reinstall the Simulink Support Package for Arduino Hardware and rebuild the model.

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by