Borrar filtros
Borrar filtros

STM32 Discovery generation code error

7 visualizaciones (últimos 30 días)
Leandro Ponce
Leandro Ponce el 8 de Ag. de 2021
Respondida: Lokesh el 26 de Mzo. de 2024
Hi.
Im getting an error when trying to build the examples of code generation for STM32F407 discovery board. (STM32F4-Discovery
Support Package)
Model Action Rebuild Reason =========================================================================================== stm32f4discovery_gettingstarted Failed Code generation information file does not exist.
I have followed the steps but this problems persists.
Please help.
This is the disgnostic before summary

Starting build procedure for: stm32f4discovery_gettingstarted ### Generating code and artifacts to 'Model specific' folder structure ### Generating code into build folder: C:\Users\LeandroPC\Documents\MATLAB\Examples\R2021a\stm32f4discovery\GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample\stm32f4discovery_gettingstarted_ert_rtw ### Invoking Target Language Compiler on stm32f4discovery_gettingstarted.rtw ### Using System Target File: C:\Program Files\MATLAB\R2021a\rtw\c\ert\ert.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code . ### Caching model source code ### Writing header file stm32f4discovery_gettingstarted_types.h . ### Writing header file stm32f4discovery_gettingstarted.h ### Writing header file rtwtypes.h ### Writing source file stm32f4discovery_gettingstarted.c ### Writing header file stm32f4discovery_gettingstarted_private.h ### Writing source file stm32f4discovery_gettingstarted_data.c . ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete. ### Evaluating PostCodeGenCommand specified in the model ### Using toolchain: GNU Tools for ARM Embedded Processors ### Creating 'C:\Users\LeandroPC\Documents\MATLAB\Examples\R2021a\stm32f4discovery\GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample\stm32f4discovery_gettingstarted_ert_rtw\stm32f4discovery_gettingstarted.mk' ... ### Building 'stm32f4discovery_gettingstarted': "C:\PROGRA~1\MATLAB\R2021a\bin\win64\gmake" -f stm32f4discovery_gettingstarted.mk all MW_GNU_ARM_TOOLS_PATH = C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin C:\Users\LeandroPC\Documents\MATLAB\Examples\R2021a\stm32f4discovery\GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample\stm32f4discovery_gettingstarted_ert_rtw>cd . C:\Users\LeandroPC\Documents\MATLAB\Examples\R2021a\stm32f4discovery\GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample\stm32f4discovery_gettingstarted_ert_rtw>chcp 1252 Active code page: 1252 C:\Users\LeandroPC\Documents\MATLAB\Examples\R2021a\stm32f4discovery\GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample\stm32f4discovery_gettingstarted_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2021a\bin\win64\gmake" -f stm32f4discovery_gettingstarted.mk all ) else ("C:\PROGRA~1\MATLAB\R2021a\bin\win64\gmake" -f stm32f4discovery_gettingstarted.mk ) "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4discovery_gettingstarted.dep" -MT"stm32f4discovery_gettingstarted.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "stm32f4discovery_gettingstarted.o" "C:/Users/LeandroPC/Documents/MATLAB/Examples/R2021a/stm32f4discovery/GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample/stm32f4discovery_gettingstarted_ert_rtw/stm32f4discovery_gettingstarted.c" "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4discovery_gettingstarted_data.dep" -MT"stm32f4discovery_gettingstarted_data.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "stm32f4discovery_gettingstarted_data.o" "C:/Users/LeandroPC/Documents/MATLAB/Examples/R2021a/stm32f4discovery/GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample/stm32f4discovery_gettingstarted_ert_rtw/stm32f4discovery_gettingstarted_data.c" "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"blapp_support.dep" -MT"blapp_support.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "blapp_support.o" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/stm32f4discovery/src/blapp_support.c" "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"startup_stm32f4xx.dep" -MT"startup_stm32f4xx.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "startup_stm32f4xx.o" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/stm32f4discovery/src/startup_stm32f4xx.c" "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"syscalls_stm32f4xx.dep" -MT"syscalls_stm32f4xx.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "syscalls_stm32f4xx.o" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/stm32f4discovery/src/syscalls_stm32f4xx.c" "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_init_board.dep" -MT"stm32f4xx_init_board.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "stm32f4xx_init_board.o" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/stm32f4discovery/src/stm32f4xx_init_board.c" "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"system_stm32f4xx.dep" -MT"system_stm32f4xx.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "system_stm32f4xx.o" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/stm32f4discovery/src/system_stm32f4xx.c" "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"SysTickScheduler.dep" -MT"SysTickScheduler.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "SysTickScheduler.o" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/armcortexmbase/scheduler/src/SysTickScheduler.c" "C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"m3m4m4f_multitasking.dep" -MT"m3m4m4f_multitasking.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fdata-sections -ffunction-sections -fmessage-length=0 -fno-short-wchar -fshort-enums -fno-delete-null-pointer-checks -fomit-frame-pointer -funsigned-char -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wvla -include stm32f4discovery_wrapper.h -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DUSE_STDPERIPH_DRIVER -DUSE_STM32F4_DISCOVERY -DSTM32F4XX -DARM_MATH_CM4=1 -D__FPU_PRESENT=1 -D__FPU_USED=1U -DHSE_VALUE=8000000 -DNULL=0 -D__START=_start -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=stm32f4discovery_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @stm32f4discovery_gettingstarted_comp.rsp -o "m3m4m4f_multitasking.o" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/armcortexmbase/scheduler/src/m3m4m4f_multitasking.c" gmake: *** No rule to make target `D:/Programs/ST', needed by `stm32f4xx_gpio.o'. Stop. C:\Users\LeandroPC\Documents\MATLAB\Examples\R2021a\stm32f4discovery\GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample\stm32f4discovery_gettingstarted_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\LeandroPC\Documents\MATLAB\Examples\R2021a\stm32f4discovery\GettingStartedEmbedCoderSpkgSTMDiscoveryBoardsExample\stm32f4discovery_gettingstarted_ert_rtw>exit /B 1 ### Build procedure for stm32f4discovery_gettingstarted aborted due to an error

sorry for the long text.
The configurations are as follow:
  3 comentarios
Denis Gurchenkov
Denis Gurchenkov el 18 de Sept. de 2023
The next to last line in the error log is this:
"C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/armcortexmbase/scheduler/src/m3m4m4f_multitasking.c" gmake: *** No rule to make target `D:/Programs/ST', needed by `stm32f4xx_gpio.o'. Stop.
Maybe there is a problem with "space in file name"? Can you check, do you have some folder with the name tarting with "d:\Programs\ST" with space in the name? If so, can you change your system configuration to install that software into a path without a space?
Ege Gediksiz
Ege Gediksiz el 14 de Feb. de 2024
Editada: Ege Gediksiz el 14 de Feb. de 2024
Having a similar problem. Matlab code generator cannot locate src files even though they are there in the cubemx project folder.
stm32g4xx_hal.h: No such file or directory error
I am using Matlab2023b in Windows 11. With MinGw version 8.1

Iniciar sesión para comentar.

Respuestas (1)

Lokesh
Lokesh el 26 de Mzo. de 2024
Hi Leandro,
From the details provided in the error log, it is my understanding that you are encountering a build error due to a "No rule to make target" issue.
The error "No rule to make target" is commonly generated by the make/gmake build automation tool when they cannot find the necessary instructions on how to create a particular file or target.
Please refer to the following MATLAB answer, which outlines various reasons for this issue and workarounds to resolve it:

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by