Category: Matlab
Category Archives: Matlab
how i can find this in MATLAB in order to find (τ,ν): I want the code and i will fix it
(τ,ν)= argmax(τ,ν) xp^H A(τ,ν) (A(τ,ν)^H A(τ,ν))−1 A(τ,ν)H xp
how i can find this in matlab
note: all coefficients are vector
(τ,ν)= argmax(τ,ν) xp^H A(τ,ν) (A(τ,ν)^H A(τ,ν))−1 A(τ,ν)H xp
how i can find this in matlab
note: all coefficients are vector
(τ,ν)= argmax(τ,ν) xp^H A(τ,ν) (A(τ,ν)^H A(τ,ν))−1 A(τ,ν)H xp
how i can find this in matlab
note: all coefficients are vector
optimization MATLAB Answers — New Questions
Controlling a prosthetic hand
I took an EMG signal of 17 hand gestures from 43 person separately and now I have the dataset of these signals. After doing segmentation, DFTI, Feature-Extraction and classification how can I identify the the movement to the servo ?I took an EMG signal of 17 hand gestures from 43 person separately and now I have the dataset of these signals. After doing segmentation, DFTI, Feature-Extraction and classification how can I identify the the movement to the servo ? I took an EMG signal of 17 hand gestures from 43 person separately and now I have the dataset of these signals. After doing segmentation, DFTI, Feature-Extraction and classification how can I identify the the movement to the servo ? machine learning, deep learning MATLAB Answers — New Questions
Is there any way to perform an at least partially symbolic smulation (using ODE or discrete model) in simulink?
Does it exst any way to use symbolic variables for paraametrzng a simulink model and getting a symbolic or semi symbolic solution?Does it exst any way to use symbolic variables for paraametrzng a simulink model and getting a symbolic or semi symbolic solution? Does it exst any way to use symbolic variables for paraametrzng a simulink model and getting a symbolic or semi symbolic solution? symbolic, simulink MATLAB Answers — New Questions
how to convert block diagram (simulink )to m-file code ?
may i know how to convert the simulink blok diagram into m-file ? how can i get the code for each block?
the m-file coded will run on DSP kit tms320c6713 so the waterfall graph (pe vs ber) will come out.
here is the block diagram i need to convert..
<http://www.mediafire.com/?bw3vgn106115kd9>may i know how to convert the simulink blok diagram into m-file ? how can i get the code for each block?
the m-file coded will run on DSP kit tms320c6713 so the waterfall graph (pe vs ber) will come out.
here is the block diagram i need to convert..
<http://www.mediafire.com/?bw3vgn106115kd9> may i know how to convert the simulink blok diagram into m-file ? how can i get the code for each block?
the m-file coded will run on DSP kit tms320c6713 so the waterfall graph (pe vs ber) will come out.
here is the block diagram i need to convert..
<http://www.mediafire.com/?bw3vgn106115kd9> m-file, simulink, block diagram, coding code, simulation MATLAB Answers — New Questions
MATLAB problem with resting-state EEG data analysis.
Hi, I am doing the pre-processing of the resting-state EEG data. I have finished re-referecing, filter, and ICA. I now have two epochs per participants, each epoch has 50 seconds of continuous data. There are no triggers or even markers included in these epoche (i have exluded the first few seconds around the start and end triggers). I want to first converge them into one continuous data (100s) and then segment it into non-overlapping 2-second segments in order to do time-frequency analysis. However, I could not find any function to do this. When i tried to carry out the following steps, it seems to always require event code. Chould anyone tell me how to segment my data? Thank you so much for answering my question.Hi, I am doing the pre-processing of the resting-state EEG data. I have finished re-referecing, filter, and ICA. I now have two epochs per participants, each epoch has 50 seconds of continuous data. There are no triggers or even markers included in these epoche (i have exluded the first few seconds around the start and end triggers). I want to first converge them into one continuous data (100s) and then segment it into non-overlapping 2-second segments in order to do time-frequency analysis. However, I could not find any function to do this. When i tried to carry out the following steps, it seems to always require event code. Chould anyone tell me how to segment my data? Thank you so much for answering my question. Hi, I am doing the pre-processing of the resting-state EEG data. I have finished re-referecing, filter, and ICA. I now have two epochs per participants, each epoch has 50 seconds of continuous data. There are no triggers or even markers included in these epoche (i have exluded the first few seconds around the start and end triggers). I want to first converge them into one continuous data (100s) and then segment it into non-overlapping 2-second segments in order to do time-frequency analysis. However, I could not find any function to do this. When i tried to carry out the following steps, it seems to always require event code. Chould anyone tell me how to segment my data? Thank you so much for answering my question. matlab, eeg, eeglab MATLAB Answers — New Questions
expressing the complex function
clear i
syms x t
U=zeros(1,2,’sym’);
A=zeros(1,2,’sym’);
series(x,t)=sym(zeros(1,1));
U(1)=exp(i*x);
alpha=1;
for k=1:2
A(1)=0;
for r=1:k
for s=1:r
A=A+U(s)*U(r-s+1)*U(k-r+1);
end
end
U(k+1)=simplify(i*(gamma(alpha*(k-1)+1)/gamma((alpha*(k))+1))*(sym(1/2)*diff(U(k),x,2)))
end
for k=1:3
series(x,t)=simplify(series(x,t)+U(k)*power(t,k-1))
end
series i obatin is form of the complex function and want to separte the real and imigimary part of the complex number But the command Re(series) does work . I want to plot the graph of the real part and imaginary part separtely of the series . For that i use the command expand (series) but it is also not workingclear i
syms x t
U=zeros(1,2,’sym’);
A=zeros(1,2,’sym’);
series(x,t)=sym(zeros(1,1));
U(1)=exp(i*x);
alpha=1;
for k=1:2
A(1)=0;
for r=1:k
for s=1:r
A=A+U(s)*U(r-s+1)*U(k-r+1);
end
end
U(k+1)=simplify(i*(gamma(alpha*(k-1)+1)/gamma((alpha*(k))+1))*(sym(1/2)*diff(U(k),x,2)))
end
for k=1:3
series(x,t)=simplify(series(x,t)+U(k)*power(t,k-1))
end
series i obatin is form of the complex function and want to separte the real and imigimary part of the complex number But the command Re(series) does work . I want to plot the graph of the real part and imaginary part separtely of the series . For that i use the command expand (series) but it is also not working clear i
syms x t
U=zeros(1,2,’sym’);
A=zeros(1,2,’sym’);
series(x,t)=sym(zeros(1,1));
U(1)=exp(i*x);
alpha=1;
for k=1:2
A(1)=0;
for r=1:k
for s=1:r
A=A+U(s)*U(r-s+1)*U(k-r+1);
end
end
U(k+1)=simplify(i*(gamma(alpha*(k-1)+1)/gamma((alpha*(k))+1))*(sym(1/2)*diff(U(k),x,2)))
end
for k=1:3
series(x,t)=simplify(series(x,t)+U(k)*power(t,k-1))
end
series i obatin is form of the complex function and want to separte the real and imigimary part of the complex number But the command Re(series) does work . I want to plot the graph of the real part and imaginary part separtely of the series . For that i use the command expand (series) but it is also not working complex function MATLAB Answers — New Questions
Create a figure with slider (before/after)
I want to create a figure or an app that can show before and after image draw by plot(), the slider can be pull to show the before/after (the picture below for example). How can I do that in Matlab?I want to create a figure or an app that can show before and after image draw by plot(), the slider can be pull to show the before/after (the picture below for example). How can I do that in Matlab? I want to create a figure or an app that can show before and after image draw by plot(), the slider can be pull to show the before/after (the picture below for example). How can I do that in Matlab? figure, axis, appdesigner MATLAB Answers — New Questions
With Thingspeakread, can you ignore empty datpoints in order to go back further in time?
I have a channel with 8 fields. Fields 1 and 2 get data sent to them every 15 seconds.
I have a timed app that takes an average of the last 5 minutes of data from 1 and 2 and then enters that average into fields 3 and 4.
I have other apps that take longer averages and enters them in the other fields (5,6 and 7,8).
Can I read the data points in fields 3 and 4, ignore empty data, and still return 8000 points of data? All of them with actual data.
I have been using apps to put the averaging data into whole new channels so that there are no blank data points but this seems klunky and wasteful.I have a channel with 8 fields. Fields 1 and 2 get data sent to them every 15 seconds.
I have a timed app that takes an average of the last 5 minutes of data from 1 and 2 and then enters that average into fields 3 and 4.
I have other apps that take longer averages and enters them in the other fields (5,6 and 7,8).
Can I read the data points in fields 3 and 4, ignore empty data, and still return 8000 points of data? All of them with actual data.
I have been using apps to put the averaging data into whole new channels so that there are no blank data points but this seems klunky and wasteful. I have a channel with 8 fields. Fields 1 and 2 get data sent to them every 15 seconds.
I have a timed app that takes an average of the last 5 minutes of data from 1 and 2 and then enters that average into fields 3 and 4.
I have other apps that take longer averages and enters them in the other fields (5,6 and 7,8).
Can I read the data points in fields 3 and 4, ignore empty data, and still return 8000 points of data? All of them with actual data.
I have been using apps to put the averaging data into whole new channels so that there are no blank data points but this seems klunky and wasteful. thingspeakread, data MATLAB Answers — New Questions
How do I convert a decimal number of months to a datetime format?
I have a vector of several decimal values that represent a number of months after Jan 01, 2020.
(e.g. [9.545563 22.212227])
I need to convert these to dates. I’m unsure of how to do this. The ultimate goal of this is to output the dates within an fprintf statement.
(e.g. "Summer 2021/2022 begins on the 3rd of Dec at 3:51:14 and concludes on the 24th of Feb at 22:03:52")I have a vector of several decimal values that represent a number of months after Jan 01, 2020.
(e.g. [9.545563 22.212227])
I need to convert these to dates. I’m unsure of how to do this. The ultimate goal of this is to output the dates within an fprintf statement.
(e.g. "Summer 2021/2022 begins on the 3rd of Dec at 3:51:14 and concludes on the 24th of Feb at 22:03:52") I have a vector of several decimal values that represent a number of months after Jan 01, 2020.
(e.g. [9.545563 22.212227])
I need to convert these to dates. I’m unsure of how to do this. The ultimate goal of this is to output the dates within an fprintf statement.
(e.g. "Summer 2021/2022 begins on the 3rd of Dec at 3:51:14 and concludes on the 24th of Feb at 22:03:52") time, datetime MATLAB Answers — New Questions
How to activate symbolic math toolbox
Symbolic math toolboxSymbolic math toolbox Symbolic math toolbox symbolic, symbolic math toolbox MATLAB Answers — New Questions
Consider the following MATLAB script. What will the ending value of the variable k be (circle your answer below)?
A = [4, 2, 9, -10, 6];
k = 1;
if sum(A) > max(A)
k = k + sum(A) – max(A);
end
k
a. k = -1
b. k = 1
c. k = 0
d. k = 2A = [4, 2, 9, -10, 6];
k = 1;
if sum(A) > max(A)
k = k + sum(A) – max(A);
end
k
a. k = -1
b. k = 1
c. k = 0
d. k = 2 A = [4, 2, 9, -10, 6];
k = 1;
if sum(A) > max(A)
k = k + sum(A) – max(A);
end
k
a. k = -1
b. k = 1
c. k = 0
d. k = 2 variable k MATLAB Answers — New Questions
Why can’t I build simulink model for my power system? (Index error and code generation file does not exist)
Top Model Build
### Generating code and artifacts to ‘Model specific’ folder structure ### Generating code into build folder: C:UsersUserOneDriveDesktopFYPuntitled1_niVeriStand_rtw ### Aborted due to an error in the build procedure for model: untitled1
Build Summary
Top model targets built: Model Action Rebuild Reason ===================================================================== untitled1 Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 9.9615s
Index in position 1 exceeds array bounds. Index must not exceed 66.
Component:Simulink | Category:Block diagram errorTop Model Build
### Generating code and artifacts to ‘Model specific’ folder structure ### Generating code into build folder: C:UsersUserOneDriveDesktopFYPuntitled1_niVeriStand_rtw ### Aborted due to an error in the build procedure for model: untitled1
Build Summary
Top model targets built: Model Action Rebuild Reason ===================================================================== untitled1 Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 9.9615s
Index in position 1 exceeds array bounds. Index must not exceed 66.
Component:Simulink | Category:Block diagram error Top Model Build
### Generating code and artifacts to ‘Model specific’ folder structure ### Generating code into build folder: C:UsersUserOneDriveDesktopFYPuntitled1_niVeriStand_rtw ### Aborted due to an error in the build procedure for model: untitled1
Build Summary
Top model targets built: Model Action Rebuild Reason ===================================================================== untitled1 Failed Code generation information file does not exist. 0 of 1 models built (0 models already up to date) Build duration: 0h 0m 9.9615s
Index in position 1 exceeds array bounds. Index must not exceed 66.
Component:Simulink | Category:Block diagram error simulink, error, code generation MATLAB Answers — New Questions
Use the plot function to set the curve transparency
When using plot function to draw line, why does the rgba value of the color attribute specify, the transparency of the curve does not changeWhen using plot function to draw line, why does the rgba value of the color attribute specify, the transparency of the curve does not change When using plot function to draw line, why does the rgba value of the color attribute specify, the transparency of the curve does not change plot, line, transparency, rgba MATLAB Answers — New Questions
Simulink STM32F4xx Build Linker Error
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:UsersvarolDesktopledled_ert_rtw
### Invoking Target Language Compiler on led.rtw
### Using System Target File: C:Program FilesMATLABR2022brtwcertert.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:UsersvarolDesktopledled_ert_rtwled.mk’ …
### Building ‘led’: "C:PROGRA~1MATLABR2022bbinwin64gmake" -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:UsersvarolDesktopledled_ert_rtw>cd .
C:UsersvarolDesktopledled_ert_rtw>if "all" == "" ("C:PROGRA~1MATLABR2022bbinwin64gmake" -j5 -f led.mk all ) else ("C:PROGRA~1MATLABR2022bbinwin64gmake" -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:UsersvarolDesktopledled_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:UsersvarolDesktopledled_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.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:UsersvarolDesktopledled_ert_rtw
### Invoking Target Language Compiler on led.rtw
### Using System Target File: C:Program FilesMATLABR2022brtwcertert.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:UsersvarolDesktopledled_ert_rtwled.mk’ …
### Building ‘led’: "C:PROGRA~1MATLABR2022bbinwin64gmake" -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:UsersvarolDesktopledled_ert_rtw>cd .
C:UsersvarolDesktopledled_ert_rtw>if "all" == "" ("C:PROGRA~1MATLABR2022bbinwin64gmake" -j5 -f led.mk all ) else ("C:PROGRA~1MATLABR2022bbinwin64gmake" -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:UsersvarolDesktopledled_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:UsersvarolDesktopledled_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. 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:UsersvarolDesktopledled_ert_rtw
### Invoking Target Language Compiler on led.rtw
### Using System Target File: C:Program FilesMATLABR2022brtwcertert.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:UsersvarolDesktopledled_ert_rtwled.mk’ …
### Building ‘led’: "C:PROGRA~1MATLABR2022bbinwin64gmake" -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:UsersvarolDesktopledled_ert_rtw>cd .
C:UsersvarolDesktopledled_ert_rtw>if "all" == "" ("C:PROGRA~1MATLABR2022bbinwin64gmake" -j5 -f led.mk all ) else ("C:PROGRA~1MATLABR2022bbinwin64gmake" -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:UsersvarolDesktopledled_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:UsersvarolDesktopledled_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. embedded coder, stm32, error, compiler MATLAB Answers — New Questions
How do you Remove the Table of Contents from Published Code?
When using the publish to show my code in a pdf a table of contents is added. This is showing up without any input in the code itself or observable settings. Even when there is nothing for the TOC to index it is included in the pdf.When using the publish to show my code in a pdf a table of contents is added. This is showing up without any input in the code itself or observable settings. Even when there is nothing for the TOC to index it is included in the pdf. When using the publish to show my code in a pdf a table of contents is added. This is showing up without any input in the code itself or observable settings. Even when there is nothing for the TOC to index it is included in the pdf. pdf MATLAB Answers — New Questions
Unable to communicate with MathWorks services – Error 5201
I am encountering an issue where MATLAB displays the error:
Unable to communicate with required MathWorks services (error 5201).
I have tried the following troubleshooting steps:
– Verified my internet connection
– Disabled proxy settings
– Configured firewall and antivirus to allow MATLAB access
– Ran MATLAB as an administrator
– Repaired the installation
How to solve this issues?I am encountering an issue where MATLAB displays the error:
Unable to communicate with required MathWorks services (error 5201).
I have tried the following troubleshooting steps:
– Verified my internet connection
– Disabled proxy settings
– Configured firewall and antivirus to allow MATLAB access
– Ran MATLAB as an administrator
– Repaired the installation
How to solve this issues? I am encountering an issue where MATLAB displays the error:
Unable to communicate with required MathWorks services (error 5201).
I have tried the following troubleshooting steps:
– Verified my internet connection
– Disabled proxy settings
– Configured firewall and antivirus to allow MATLAB access
– Ran MATLAB as an administrator
– Repaired the installation
How to solve this issues? error 5201, mathworks services, matlab communicati MATLAB Answers — New Questions
generating periodic trapezoidal waves with ramps
Hello,
I want to generate a periodic trapezoidal wave that has ‘ramps’ on both sides of the wave structure. I was able to generate square waves that does not have ramps using the following codes.
Pwr_avg = 200; % [W] average input power
nu_p = 2e3; % [Hz]=[1/s] pulse repetition frequency
tau_p = 1/nu_p; % [s] pulsed period
f_DC = 0.15; % [%] duty cycle (=fraction of the pulsed period power is on)
tau_on = tau_p * f_DC; % [s] length of time power is on during each pulsed period
tau_ramp = 1e-6; % [s] ramp up/down time
Pwr_max = Pwr_avg * (tau_p/tau_on); % [W] maximum power during the pulsed period during 0<t<=tau_on
Pwr_min = 1e-4; % [W] arbitrary small value during the ‘off’ period
d = tau_on/2:tau_p:t_max;
Pwr = Pwr_max * pulstran(t_array,d,’rectpuls’,tau_on); % generate periodic power input
Pwr(Pwr==0) = Pwr_min; % assign arbitrary small power input during ‘off’ period
Pwr = Pwr / (pi*r_cyl^2*l_cyl) * 1e3; % [mW/cm3] input power array
The code above use pulse train function to generate periodic structure, which is used to simulate pulsed power. The absolute zero values for the power is not ideal for my application, so I assigned arbitrary small value when the power is ‘off’.
Here, I would like to introduce a ramp up/down time as the power increases from zero, and decreases back to zero. So the pulsed waveform will become trapezoid that has steep ramps. I would like to know how to add ramps on this square wave or if Matlab already has inherent function I can use.
Thank you for your timeHello,
I want to generate a periodic trapezoidal wave that has ‘ramps’ on both sides of the wave structure. I was able to generate square waves that does not have ramps using the following codes.
Pwr_avg = 200; % [W] average input power
nu_p = 2e3; % [Hz]=[1/s] pulse repetition frequency
tau_p = 1/nu_p; % [s] pulsed period
f_DC = 0.15; % [%] duty cycle (=fraction of the pulsed period power is on)
tau_on = tau_p * f_DC; % [s] length of time power is on during each pulsed period
tau_ramp = 1e-6; % [s] ramp up/down time
Pwr_max = Pwr_avg * (tau_p/tau_on); % [W] maximum power during the pulsed period during 0<t<=tau_on
Pwr_min = 1e-4; % [W] arbitrary small value during the ‘off’ period
d = tau_on/2:tau_p:t_max;
Pwr = Pwr_max * pulstran(t_array,d,’rectpuls’,tau_on); % generate periodic power input
Pwr(Pwr==0) = Pwr_min; % assign arbitrary small power input during ‘off’ period
Pwr = Pwr / (pi*r_cyl^2*l_cyl) * 1e3; % [mW/cm3] input power array
The code above use pulse train function to generate periodic structure, which is used to simulate pulsed power. The absolute zero values for the power is not ideal for my application, so I assigned arbitrary small value when the power is ‘off’.
Here, I would like to introduce a ramp up/down time as the power increases from zero, and decreases back to zero. So the pulsed waveform will become trapezoid that has steep ramps. I would like to know how to add ramps on this square wave or if Matlab already has inherent function I can use.
Thank you for your time Hello,
I want to generate a periodic trapezoidal wave that has ‘ramps’ on both sides of the wave structure. I was able to generate square waves that does not have ramps using the following codes.
Pwr_avg = 200; % [W] average input power
nu_p = 2e3; % [Hz]=[1/s] pulse repetition frequency
tau_p = 1/nu_p; % [s] pulsed period
f_DC = 0.15; % [%] duty cycle (=fraction of the pulsed period power is on)
tau_on = tau_p * f_DC; % [s] length of time power is on during each pulsed period
tau_ramp = 1e-6; % [s] ramp up/down time
Pwr_max = Pwr_avg * (tau_p/tau_on); % [W] maximum power during the pulsed period during 0<t<=tau_on
Pwr_min = 1e-4; % [W] arbitrary small value during the ‘off’ period
d = tau_on/2:tau_p:t_max;
Pwr = Pwr_max * pulstran(t_array,d,’rectpuls’,tau_on); % generate periodic power input
Pwr(Pwr==0) = Pwr_min; % assign arbitrary small power input during ‘off’ period
Pwr = Pwr / (pi*r_cyl^2*l_cyl) * 1e3; % [mW/cm3] input power array
The code above use pulse train function to generate periodic structure, which is used to simulate pulsed power. The absolute zero values for the power is not ideal for my application, so I assigned arbitrary small value when the power is ‘off’.
Here, I would like to introduce a ramp up/down time as the power increases from zero, and decreases back to zero. So the pulsed waveform will become trapezoid that has steep ramps. I would like to know how to add ramps on this square wave or if Matlab already has inherent function I can use.
Thank you for your time pulse train MATLAB Answers — New Questions
How to plot a filled rectangle without edge?
‘EdgeColor’, ‘None’ makes the outline width to be zero?’EdgeColor’, ‘None’ makes the outline width to be zero? ‘EdgeColor’, ‘None’ makes the outline width to be zero? plot, rectangle, outline, width, edge, none MATLAB Answers — New Questions
Panning in Simulink has annoying “Inertia” (for lack of a better word)
When I pan in simulink using space+left mouse or middle mouse and I’m still panning or just stopped panning when I let go of the button, panning continues, decelerating to a stop rather than stopping right when I let go of the button. I have to stop panning for around 1 second before letting go of the button to avoid this, which for me is quite annoying. I’d like panning to stop right when I let go of the button. Is there a fix for this?When I pan in simulink using space+left mouse or middle mouse and I’m still panning or just stopped panning when I let go of the button, panning continues, decelerating to a stop rather than stopping right when I let go of the button. I have to stop panning for around 1 second before letting go of the button to avoid this, which for me is quite annoying. I’d like panning to stop right when I let go of the button. Is there a fix for this? When I pan in simulink using space+left mouse or middle mouse and I’m still panning or just stopped panning when I let go of the button, panning continues, decelerating to a stop rather than stopping right when I let go of the button. I have to stop panning for around 1 second before letting go of the button to avoid this, which for me is quite annoying. I’d like panning to stop right when I let go of the button. Is there a fix for this? simulink, camera MATLAB Answers — New Questions
multiple 3D plane plotting
Hi I have the following code to plot a 2D plane in 3D space.
the plane is describe by their dip angle and azimuth and the center point is at [x,y] = [0,0]
I intend to modify this code so that it can plot 3 planes in the same axis. However, the location for each plane will be varies depending on the x and y location.
planedip = 30;
planeazim = 120;
% Convert angles to radians
dip_angle_rad = deg2rad(planedip);
dip_azimuth_rad = deg2rad(360 – planeazim); % rotate from CCW to CW
% Define normal vector of plane
normal = [sin(dip_angle_rad)*cos(dip_azimuth_rad), sin(dip_angle_rad)*sin(dip_azimuth_rad), cos(dip_angle_rad)];
% Define two vectors in plane
v1 = [1, 0, (-normal(1)/normal(3))];
v2 = cross(normal, v1);
% Plot plane
x = linspace(-1,1,10);
y = linspace(-1,1,10);
[X,Y] = meshgrid(x,y);
Z = (-normal(1)*X – normal(2)*Y)/normal(3);
surf(X,Y,Z,’FaceColor’,[0.5,0.5,0.5],’FaceAlpha’,0.5,’EdgeColor’,’none’);
% Add annotations
hold on
quiver3(0, 0, 0, normal(1), normal(2), normal(3));
projection = [normal(1), normal(2), 0];
quiver3(0, 0, 0, projection(1), projection(2), projection(3));
% Add dashed line
plot3([normal(1), projection(1)], [normal(2), projection(2)], [normal(3), projection(3)], ‘–k’);
view(45,30);
axis equal
xlabel(‘x’);
ylabel(‘y’);
zlabel(‘z’);Hi I have the following code to plot a 2D plane in 3D space.
the plane is describe by their dip angle and azimuth and the center point is at [x,y] = [0,0]
I intend to modify this code so that it can plot 3 planes in the same axis. However, the location for each plane will be varies depending on the x and y location.
planedip = 30;
planeazim = 120;
% Convert angles to radians
dip_angle_rad = deg2rad(planedip);
dip_azimuth_rad = deg2rad(360 – planeazim); % rotate from CCW to CW
% Define normal vector of plane
normal = [sin(dip_angle_rad)*cos(dip_azimuth_rad), sin(dip_angle_rad)*sin(dip_azimuth_rad), cos(dip_angle_rad)];
% Define two vectors in plane
v1 = [1, 0, (-normal(1)/normal(3))];
v2 = cross(normal, v1);
% Plot plane
x = linspace(-1,1,10);
y = linspace(-1,1,10);
[X,Y] = meshgrid(x,y);
Z = (-normal(1)*X – normal(2)*Y)/normal(3);
surf(X,Y,Z,’FaceColor’,[0.5,0.5,0.5],’FaceAlpha’,0.5,’EdgeColor’,’none’);
% Add annotations
hold on
quiver3(0, 0, 0, normal(1), normal(2), normal(3));
projection = [normal(1), normal(2), 0];
quiver3(0, 0, 0, projection(1), projection(2), projection(3));
% Add dashed line
plot3([normal(1), projection(1)], [normal(2), projection(2)], [normal(3), projection(3)], ‘–k’);
view(45,30);
axis equal
xlabel(‘x’);
ylabel(‘y’);
zlabel(‘z’); Hi I have the following code to plot a 2D plane in 3D space.
the plane is describe by their dip angle and azimuth and the center point is at [x,y] = [0,0]
I intend to modify this code so that it can plot 3 planes in the same axis. However, the location for each plane will be varies depending on the x and y location.
planedip = 30;
planeazim = 120;
% Convert angles to radians
dip_angle_rad = deg2rad(planedip);
dip_azimuth_rad = deg2rad(360 – planeazim); % rotate from CCW to CW
% Define normal vector of plane
normal = [sin(dip_angle_rad)*cos(dip_azimuth_rad), sin(dip_angle_rad)*sin(dip_azimuth_rad), cos(dip_angle_rad)];
% Define two vectors in plane
v1 = [1, 0, (-normal(1)/normal(3))];
v2 = cross(normal, v1);
% Plot plane
x = linspace(-1,1,10);
y = linspace(-1,1,10);
[X,Y] = meshgrid(x,y);
Z = (-normal(1)*X – normal(2)*Y)/normal(3);
surf(X,Y,Z,’FaceColor’,[0.5,0.5,0.5],’FaceAlpha’,0.5,’EdgeColor’,’none’);
% Add annotations
hold on
quiver3(0, 0, 0, normal(1), normal(2), normal(3));
projection = [normal(1), normal(2), 0];
quiver3(0, 0, 0, projection(1), projection(2), projection(3));
% Add dashed line
plot3([normal(1), projection(1)], [normal(2), projection(2)], [normal(3), projection(3)], ‘–k’);
view(45,30);
axis equal
xlabel(‘x’);
ylabel(‘y’);
zlabel(‘z’); 2d plane MATLAB Answers — New Questions