Skip to content

Commit 5db0d55

Browse files
committed
up
1 parent 9d4e0bd commit 5db0d55

34 files changed

+10659
-1335
lines changed

labs/lab6/.metadata/.log

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,15 @@ Command-line arguments: -os win32 -ws win32 -arch x86_64
153153

154154
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2023-10-09 16:13:15.516
155155
!MESSAGE Existing sessions are:
156+
157+
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2023-10-09 16:43:29.996
158+
!MESSAGE Error - No active DSF-Session. tmpSessionId = 104 (contextManager row 121)
159+
160+
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2023-10-09 16:43:29.997
161+
!MESSAGE Existing sessions are:
162+
163+
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2023-10-09 16:43:29.998
164+
!MESSAGE Error - No active DSF-Session. tmpSessionId = 104 (contextManager row 121)
165+
166+
!ENTRY com.st.stm32cube.ide.mcu.debug 4 0 2023-10-09 16:43:29.999
167+
!MESSAGE Existing sessions are:

labs/lab6/.metadata/.plugins/org.eclipse.cdt.ui/global-build.log

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,3 +2310,135 @@ Finished building: default.size.stdout
23102310

23112311
Finished building: pwm.list
23122312

2313+
16:26:41 **** Incremental Build of configuration Debug for project pwm ****
2314+
make -j8 all
2315+
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
2316+
../Core/Src/main.c: In function 'main':
2317+
../Core/Src/main.c:124:9: warning: unused variable 'calc' [-Wunused-variable]
2318+
124 | float calc = 0;
2319+
| ^~~~
2320+
../Core/Src/main.c:122:13: warning: unused variable 'freq' [-Wunused-variable]
2321+
122 | const int freq = 1;
2322+
| ^~~~
2323+
../Core/Src/main.c:121:15: warning: unused variable 'half_arr' [-Wunused-variable]
2324+
121 | const float half_arr = (ARR+1) / 2.0f; /* set to (ARR+1) / 2.0f !!! */
2325+
| ^~~~~~~~
2326+
../Core/Src/main.c:119:15: warning: unused variable 'offset' [-Wunused-variable]
2327+
119 | const float offset = M_TWOPI / 3.0f;
2328+
| ^~~~~~
2329+
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2330+
Finished building target: pwm.elf
2331+
2332+
arm-none-eabi-size pwm.elf
2333+
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
2334+
text data bss dec hex filename
2335+
18448 20 1716 20184 4ed8 pwm.elf
2336+
Finished building: default.size.stdout
2337+
2338+
Finished building: pwm.list
2339+
2340+
16:40:27 **** Incremental Build of configuration Debug for project pwm ****
2341+
make -j8 all
2342+
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
2343+
../Core/Src/main.c: In function 'main':
2344+
../Core/Src/main.c:121:15: warning: unused variable 'half_arr' [-Wunused-variable]
2345+
121 | const float half_arr = (ARR+1) / 2.0f; /* set to (ARR+1) / 2.0f !!! */
2346+
| ^~~~~~~~
2347+
../Core/Src/main.c:119:15: warning: unused variable 'offset' [-Wunused-variable]
2348+
119 | const float offset = M_TWOPI / 3.0f;
2349+
| ^~~~~~
2350+
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2351+
Finished building target: pwm.elf
2352+
2353+
arm-none-eabi-size pwm.elf
2354+
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
2355+
text data bss dec hex filename
2356+
18608 20 1716 20344 4f78 pwm.elf
2357+
Finished building: default.size.stdout
2358+
2359+
Finished building: pwm.list
2360+
2361+
16:42:45 **** Incremental Build of configuration Debug for project pwm ****
2362+
make -j8 all
2363+
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
2364+
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2365+
Finished building target: pwm.elf
2366+
2367+
arm-none-eabi-size pwm.elf
2368+
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
2369+
text data bss dec hex filename
2370+
18624 20 1716 20360 4f88 pwm.elf
2371+
Finished building: default.size.stdout
2372+
2373+
Finished building: pwm.list
2374+
2375+
16:43:19 **** Incremental Build of configuration Debug for project pwm ****
2376+
make -j8 all
2377+
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
2378+
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2379+
Finished building target: pwm.elf
2380+
2381+
arm-none-eabi-size pwm.elf
2382+
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
2383+
text data bss dec hex filename
2384+
18624 20 1716 20360 4f88 pwm.elf
2385+
Finished building: default.size.stdout
2386+
2387+
Finished building: pwm.list
2388+
2389+
16:43:36 **** Incremental Build of configuration Debug for project pwm ****
2390+
make -j8 all
2391+
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
2392+
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2393+
Finished building target: pwm.elf
2394+
2395+
arm-none-eabi-size pwm.elf
2396+
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
2397+
text data bss dec hex filename
2398+
18624 20 1716 20360 4f88 pwm.elf
2399+
Finished building: default.size.stdout
2400+
2401+
Finished building: pwm.list
2402+
2403+
16:43:56 **** Incremental Build of configuration Debug for project pwm ****
2404+
make -j8 all
2405+
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
2406+
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2407+
Finished building target: pwm.elf
2408+
2409+
arm-none-eabi-size pwm.elf
2410+
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
2411+
text data bss dec hex filename
2412+
18628 20 1716 20364 4f8c pwm.elf
2413+
Finished building: default.size.stdout
2414+
2415+
Finished building: pwm.list
2416+
2417+
16:44:26 **** Incremental Build of configuration Debug for project pwm ****
2418+
make -j8 all
2419+
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
2420+
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2421+
Finished building target: pwm.elf
2422+
2423+
arm-none-eabi-size pwm.elf
2424+
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
2425+
text data bss dec hex filename
2426+
18628 20 1716 20364 4f8c pwm.elf
2427+
Finished building: default.size.stdout
2428+
2429+
Finished building: pwm.list
2430+
2431+
16:45:56 **** Incremental Build of configuration Debug for project pwm ****
2432+
make -j8 all
2433+
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
2434+
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
2435+
Finished building target: pwm.elf
2436+
2437+
arm-none-eabi-size pwm.elf
2438+
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
2439+
text data bss dec hex filename
2440+
18652 20 1716 20388 4fa4 pwm.elf
2441+
Finished building: default.size.stdout
2442+
2443+
Finished building: pwm.list
2444+
Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
1-
16:17:51 **** Incremental Build of configuration Debug for project pwm ****
1+
16:45:56 **** Incremental Build of configuration Debug for project pwm ****
22
make -j8 all
33
arm-none-eabi-gcc "../Core/Src/main.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/main.d" -MT"Core/Src/main.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/main.o"
4-
../Core/Src/main.c: In function 'main':
5-
../Core/Src/main.c:124:9: warning: unused variable 'calc' [-Wunused-variable]
6-
124 | float calc = 0;
7-
| ^~~~
8-
../Core/Src/main.c:122:13: warning: unused variable 'freq' [-Wunused-variable]
9-
122 | const int freq = 1;
10-
| ^~~~
11-
../Core/Src/main.c:121:15: warning: unused variable 'half_arr' [-Wunused-variable]
12-
121 | const float half_arr = (ARR+1) / 2.0f; /* set to (ARR+1) / 2.0f !!! */
13-
| ^~~~~~~~
14-
../Core/Src/main.c:119:15: warning: unused variable 'offset' [-Wunused-variable]
15-
119 | const float offset = M_TWOPI / 3.0f;
16-
| ^~~~~~
174
arm-none-eabi-gcc -o "pwm.elf" @"objects.list" -mcpu=cortex-m4 -T"D:\JU\Microdata_Technology\Mikrodatateknik_HT2023\labs\lab6\pwm\STM32F411RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="pwm.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
185
Finished building target: pwm.elf
196

207
arm-none-eabi-size pwm.elf
218
arm-none-eabi-objdump -h -S pwm.elf > "pwm.list"
229
text data bss dec hex filename
23-
18448 20 1716 20184 4ed8 pwm.elf
10+
18652 20 1716 20388 4fa4 pwm.elf
2411
Finished building: default.size.stdout
2512

2613
Finished building: pwm.list
2714

2815

29-
16:17:52 Build Finished. 0 errors, 4 warnings. (took 1s.240ms)
16+
16:45:58 Build Finished. 0 errors, 0 warnings. (took 1s.532ms)
3017

0 commit comments

Comments
 (0)