フィルターのクリア

Simulink STM32F4xx Build Linker Error

7 ビュー (過去 30 日間)
Ibrahim Varola
Ibrahim Varola 2023 年 4 月 24 日
回答済み: Piyush 2023 年 5 月 4 日
Hello there! I'm trying to build an example Simulink design that blinks a LED on my STM32 board. But in building process, the compiler gives an error.
### Starting build procedure for: led
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: C:\Users\varol\Desktop\led\led_ert_rtw
### Invoking Target Language Compiler on led.rtw
### Using System Target File: C:\Program Files\MATLAB\R2022b\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 led_types.h
.
### Writing header file led.h
### Writing header file rtwtypes.h
### Writing source file led.c
### Writing header file led_private.h
### Writing source file led_data.c
.
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete (took 2.434s).
### Saving binary information cache.
### Using toolchain: GNU Tools for ARM Embedded Processors
### Creating 'C:\Users\varol\Desktop\led\led_ert_rtw\led.mk' ...
### Building 'led': "C:\PROGRA~1\MATLAB\R2022b\bin\win64\gmake" -j5 -f led.mk all
MW_GNU_ARM_TOOLS_PATH = C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin
C:\Users\varol\Desktop\led\led_ert_rtw>cd .
C:\Users\varol\Desktop\led\led_ert_rtw>if "all" == "" ("C:\PROGRA~1\MATLAB\R2022b\bin\win64\gmake" -j5 -f led.mk all ) else ("C:\PROGRA~1\MATLAB\R2022b\bin\win64\gmake" -j5 -f led.mk all )
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"led.dep" -MT"led.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "led.o" "C:/Users/varol/Desktop/led/led_ert_rtw/led.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"led_data.dep" -MT"led_data.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "led_data.o" "C:/Users/varol/Desktop/led/led_ert_rtw/led_data.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"overrideHALDelay.dep" -MT"overrideHALDelay.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "overrideHALDelay.o" "C:/ProgramData/MATLAB/SupportPackages/R2022b/toolbox/shared/supportpackages/stm32/src/overrideHALDelay.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"platform_timer.dep" -MT"platform_timer.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "platform_timer.o" "C:/ProgramData/MATLAB/SupportPackages/R2022b/toolbox/shared/supportpackages/stm32/src/platform_timer.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/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 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "SysTickScheduler.o" "C:/ProgramData/MATLAB/SupportPackages/R2022b/toolbox/target/supportpackages/armcortexmbase/scheduler/src/SysTickScheduler.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/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 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "m3m4m4f_multitasking.o" "C:/ProgramData/MATLAB/SupportPackages/R2022b/toolbox/target/supportpackages/armcortexmbase/scheduler/src/m3m4m4f_multitasking.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"main.dep" -MT"main.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "main.o" "C:/Users/varol/Desktop/led/Core/Src/main.c"
C:/ProgramData/MATLAB/SupportPackages/R2022b/toolbox/shared/supportpackages/stm32/src/platform_timer.c:18:13: warning: 'timestampInit' defined but not used [-Wunused-function]
18 | static void timestampInit(void)
| ^~~~~~~~~~~~~
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_it.dep" -MT"stm32f4xx_it.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_it.o" "C:/Users/varol/Desktop/led/Core/Src/stm32f4xx_it.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_msp.dep" -MT"stm32f4xx_hal_msp.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_msp.o" "C:/Users/varol/Desktop/led/Core/Src/stm32f4xx_hal_msp.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_timebase_tim.dep" -MT"stm32f4xx_hal_timebase_tim.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_timebase_tim.o" "C:/Users/varol/Desktop/led/Core/Src/stm32f4xx_hal_timebase_tim.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_ll_gpio.dep" -MT"stm32f4xx_ll_gpio.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_ll_gpio.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_gpio.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_tim.dep" -MT"stm32f4xx_hal_tim.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_tim.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_tim_ex.dep" -MT"stm32f4xx_hal_tim_ex.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_tim_ex.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_ll_rcc.dep" -MT"stm32f4xx_ll_rcc.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_ll_rcc.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_rcc.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_ll_utils.dep" -MT"stm32f4xx_ll_utils.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_ll_utils.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_utils.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_ll_exti.dep" -MT"stm32f4xx_ll_exti.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_ll_exti.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_exti.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_rcc.dep" -MT"stm32f4xx_hal_rcc.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_rcc.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_rcc_ex.dep" -MT"stm32f4xx_hal_rcc_ex.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_rcc_ex.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_flash.dep" -MT"stm32f4xx_hal_flash.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_flash.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_flash_ex.dep" -MT"stm32f4xx_hal_flash_ex.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_flash_ex.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_flash_ramfunc.dep" -MT"stm32f4xx_hal_flash_ramfunc.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_flash_ramfunc.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_gpio.dep" -MT"stm32f4xx_hal_gpio.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_gpio.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_dma_ex.dep" -MT"stm32f4xx_hal_dma_ex.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_dma_ex.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_dma.dep" -MT"stm32f4xx_hal_dma.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_dma.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_pwr.dep" -MT"stm32f4xx_hal_pwr.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_pwr.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_pwr_ex.dep" -MT"stm32f4xx_hal_pwr_ex.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_pwr_ex.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_cortex.dep" -MT"stm32f4xx_hal_cortex.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_cortex.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal.dep" -MT"stm32f4xx_hal.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"stm32f4xx_hal_exti.dep" -MT"stm32f4xx_hal_exti.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "stm32f4xx_hal_exti.o" "C:/Users/varol/Desktop/led/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/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 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "system_stm32f4xx.o" "C:/Users/varol/Desktop/led/Core/Src/system_stm32f4xx.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -MMD -MP -MF"startup_stm32f407vgtx.dep" -MT"startup_stm32f407vgtx.o" -Wall -x assembler-with-cpp -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -c -o "startup_stm32f407vgtx.o" "C:/Users/varol/Desktop/led/STM32CubeIDE/Application/User/Startup/startup_stm32f407vgtx.s"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-gcc" -ffunction-sections -fdata-sections -Wall -MMD -MP -MF"ert_main.dep" -MT"ert_main.o" -c -O0 -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DUSE_FULL_LL_DRIVER -DSTM32F407xx -DUSE_HAL_DRIVER -DMW_TIMEBASESOURCE=TIM5 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DXCP_MEM_DAQ_RESERVED_POOL_BLOCKS_NUMBER=10 -D__FPU_PRESENT=1U -D__FPU_USED=1U -DSTACK_SIZE=64 -DRT -DMODEL=led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 @led_comp.rsp -o "ert_main.o" "C:/Users/varol/Desktop/led/led_ert_rtw/ert_main.c"
C:/Users/varol/Desktop/led/led_ert_rtw/ert_main.c: In function 'main':
C:/Users/varol/Desktop/led/led_ert_rtw/ert_main.c:109:3: warning: implicit declaration of function 'SystemClock_Config'; did you mean 'SysTick_Config'? [-Wimplicit-function-declaration]
109 | SystemClock_Config();
| ^~~~~~~~~~~~~~~~~~
| SysTick_Config
C:/Users/varol/Desktop/led/led_ert_rtw/ert_main.c:110:3: warning: implicit declaration of function 'PeriphCommonClock_Config' [-Wimplicit-function-declaration]
110 | PeriphCommonClock_Config();
| ^~~~~~~~~~~~~~~~~~~~~~~~
"### Creating standalone executable "../led.elf" ..."
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2022b/3P778C~1.INS/GNUARM~1.INS/win/bin/arm-none-eabi-g++" -Wl,--gc-sections -Wl,-Map="led.map" --specs=nano.specs -mcpu=cortex-m4 -mthumb -mlittle-endian -mthumb-interwork -mfpu=fpv4-sp-d16 -mfloat-abi=hard --entry Reset_Handler --specs=nosys.specs -o ../led.elf @led.rsp C:/ProgramData/MATLAB/SupportPackages/R2022b/3P.instrset/cmsis.instrset/CMSIS/DSP/Lib/GCC/libarm_cortexM4lf_math.a -lm
c:/progra~3/matlab/suppor~1/r2022b/3p778c~1.ins/gnuarm~1.ins/win/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: startup_stm32f407vgtx.o: in function `LoopFillZerobss':
(.text.Reset_Handler+0x38): undefined reference to `_estack'
c:/progra~3/matlab/suppor~1/r2022b/3p778c~1.ins/gnuarm~1.ins/win/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: (.text.Reset_Handler+0x3c): undefined reference to `_sdata'
c:/progra~3/matlab/suppor~1/r2022b/3p778c~1.ins/gnuarm~1.ins/win/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: (.text.Reset_Handler+0x44): undefined reference to `_sidata'
c:/progra~3/matlab/suppor~1/r2022b/3p778c~1.ins/gnuarm~1.ins/win/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: (.text.Reset_Handler+0x48): undefined reference to `_sbss'
c:/progra~3/matlab/suppor~1/r2022b/3p778c~1.ins/gnuarm~1.ins/win/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: (.text.Reset_Handler+0x4c): undefined reference to `_ebss'
collect2.exe: error: ld returned 1 exit status
gmake: *** [../led.elf] Error 1
C:\Users\varol\Desktop\led\led_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\varol\Desktop\led\led_ert_rtw>exit /B 1
### Build procedure for led aborted due to an error.
I think the problem casused by ARM compiler, but I don't know what to do. Thanks for your reply.
  1 件のコメント
Yigit
Yigit 2023 年 4 月 27 日
Hello, I'm receiving the same error.

サインインしてコメントする。

回答 (1 件)

Piyush
Piyush 2023 年 5 月 4 日
Here are some possible solutions that may work. Since you are getting linking error-
  1. Check that all the source files links have been provided properly in the cmakelists.txt
  2. Sometimes data types mismatch in Simulink model properties and code also cause linking errors.
  3. Check the library paths in the Simulink models.

Community Treasure Hunt

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

Start Hunting!

Translated by