task 2 und 3 fertig
This commit is contained in:
@@ -54,3 +54,7 @@
|
||||
*** SESSION März 24, 2026 14:01:49.132 -----------------------------------------
|
||||
*** SESSION März 24, 2026 14:11:29.704 -----------------------------------------
|
||||
*** SESSION März 24, 2026 14:21:04.465 -----------------------------------------
|
||||
*** SESSION Apr. 08, 2026 12:56:29.546 -----------------------------------------
|
||||
*** SESSION Apr. 13, 2026 14:00:30.843 -----------------------------------------
|
||||
*** SESSION Apr. 14, 2026 12:01:47.228 -----------------------------------------
|
||||
*** SESSION Apr. 14, 2026 14:00:09.577 -----------------------------------------
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -7,4 +7,8 @@
|
||||
<section name="CResourceRenameRefactoringInputPage">
|
||||
<item key="updateReferences" value="true"/>
|
||||
</section>
|
||||
<section name="org.eclipse.cdt.ui.text.hover.CMacroExpansionExploration.internal">
|
||||
<item key="size.width" value="1254"/>
|
||||
<item key="size.height" value="180"/>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
@@ -643,3 +643,683 @@ make: *** [Src/subdir.mk:25: Src/task1.o] Error 1
|
||||
14:02:22 **** Incremental Build of configuration Debug for project task2 ****
|
||||
make -j12 all
|
||||
Target all ready
|
||||
12:57:24 **** Incremental Build of configuration Debug for project task2 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
|
||||
G431_addr.s: Assembler messages:
|
||||
G431_addr.s:175: Error: unexpected character `c' in type specifier
|
||||
G431_addr.s:175: Error: bad instruction `sketch.c '
|
||||
G431_addr.s:176: Error: junk at end of line, first unrecognized character is `*'
|
||||
G431_addr.s:177: Error: junk at end of line, first unrecognized character is `*'
|
||||
G431_addr.s:178: Error: junk at end of line, first unrecognized character is `*'
|
||||
G431_addr.s:179: Error: junk at end of line, first unrecognized character is `*'
|
||||
G431_addr.s:180: Error: bad instruction `int reihenfolge[6]={0,1,2,3,2,1}'
|
||||
G431_addr.s:182: Error: bad instruction `int main(){'
|
||||
G431_addr.s:183: Error: bad instruction `while(1){ '
|
||||
G431_addr.s:184: Error: bad instruction `while( ){}'
|
||||
G431_addr.s:185: Error: bad instruction `delay(10)'
|
||||
G431_addr.s:186: Error: bad instruction `while( ){}'
|
||||
G431_addr.s:187: Error: bad instruction `delay(150)'
|
||||
G431_addr.s:189: Error: bad instruction `int aktiv=1'
|
||||
G431_addr.s:190: Error: bad instruction `while(aktiv){ '
|
||||
G431_addr.s:191: Error: bad instruction `for(int i'
|
||||
G431_addr.s:191: Error: bad instruction `i <reihenfolge.length-1&&aktiv=1'
|
||||
G431_addr.s:191: Error: bad instruction `i ++){'
|
||||
make: *** [makefile:74: task2.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
12:58:04 **** Incremental Build of configuration Debug for project task2 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
|
||||
arm-none-eabi-ld -o task2.elf -T ldscript_rom.ld task2.o -g -Map task2.map --cref -static
|
||||
arm-none-eabi-objdump -htdr -j .text -j .data -j .bss -j .vectortable -j .exhand task2.elf > task2.lst
|
||||
arm-none-eabi-size task2.elf
|
||||
text data bss dec hex filename
|
||||
532 0 0 532 214 task2.elf
|
||||
Target all ready
|
||||
14:28:37 **** Incremental Build of configuration Debug for project task2 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-as -o task2.o task2.s -march=armv7-m -mcpu=cortex-m4 -adglns -g -mthumb --warn > task2.als
|
||||
arm-none-eabi-ld -o task2.elf -T ldscript_rom.ld task2.o -g -Map task2.map --cref -static
|
||||
arm-none-eabi-objdump -htdr -j .text -j .data -j .bss -j .vectortable -j .exhand task2.elf > task2.lst
|
||||
arm-none-eabi-size task2.elf
|
||||
text data bss dec hex filename
|
||||
532 0 0 532 214 task2.elf
|
||||
Target all ready
|
||||
15:15:36 **** Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Startup/startup_stm32g431kbtx.d" -MT"Startup/startup_stm32g431kbtx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/startup_stm32g431kbtx.o" "../Startup/startup_stm32g431kbtx.s"
|
||||
arm-none-eabi-gcc "../Startup/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/syscalls.d" -MT"Startup/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/syscalls.o"
|
||||
arm-none-eabi-gcc "../Startup/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/sysmem.d" -MT"Startup/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/sysmem.o"
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc "../Src/task3_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3_it.d" -MT"Src/task3_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3_it.o"
|
||||
../Src/task3.c:66:10: error: unknown type name 'unit23_t'
|
||||
66 | volatile unit23_t timer_ticks = 0;
|
||||
| ^~~~~~~~
|
||||
../Src/task3.c:67:10: error: unknown type name 'unit8_t'
|
||||
67 | volatile unit8_t ampel_aktiv = 0;
|
||||
| ^~~~~~~
|
||||
../Src/task3.c:68:10: error: unknown type name 'unit32_t'
|
||||
68 | volatile unit32_t lbp = 0;
|
||||
| ^~~~~~~~
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
|
||||
86 | System_init();
|
||||
| ^~~~~~~~~~~
|
||||
| SystemInit
|
||||
../Src/task3.c: In function 'EXTI_IRQHandler':
|
||||
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
|
||||
114 | timer_aktiv=1;
|
||||
| ^~~~~~~~~~~
|
||||
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
|
||||
../Src/task3.c: In function 'TIM6_DAC_IRQHandler':
|
||||
../Src/task3.c:137:13: error: duplicate case value
|
||||
137 | case 11000:
|
||||
| ^~~~
|
||||
../Src/task3.c:133:13: note: previously used here
|
||||
133 | case 11000:
|
||||
| ^~~~
|
||||
../Src/task3.c:158:17: warning: implicit declaration of function 'elif' [-Wimplicit-function-declaration]
|
||||
158 | elif(timer_ticks % 1000 == 500){
|
||||
| ^~~~
|
||||
../Src/task3.c:158:48: error: expected ';' before '{' token
|
||||
158 | elif(timer_ticks % 1000 == 500){
|
||||
| ^
|
||||
| ;
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:206:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
|
||||
206 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:192:13: warning: 'Timer_init' defined but not used [-Wunused-function]
|
||||
192 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
|
||||
make: *** Waiting for unfinished jobs....
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:18:10 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c:66:10: error: unknown type name 'uint23_t'
|
||||
66 | volatile uint23_t timer_ticks = 0;
|
||||
| ^~~~~~~~
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
|
||||
86 | System_init();
|
||||
| ^~~~~~~~~~~
|
||||
| SystemInit
|
||||
../Src/task3.c: In function 'EXTI_IRQHandler':
|
||||
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
|
||||
114 | timer_aktiv=1;
|
||||
| ^~~~~~~~~~~
|
||||
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
|
||||
../Src/task3.c: In function 'TIM6_DAC_IRQHandler':
|
||||
../Src/task3.c:137:13: error: duplicate case value
|
||||
137 | case 11000:
|
||||
| ^~~~
|
||||
../Src/task3.c:133:13: note: previously used here
|
||||
133 | case 11000:
|
||||
| ^~~~
|
||||
../Src/task3.c:158:17: warning: implicit declaration of function 'elif' [-Wimplicit-function-declaration]
|
||||
158 | elif(timer_ticks % 1000 == 500){
|
||||
| ^~~~
|
||||
../Src/task3.c:158:48: error: expected ';' before '{' token
|
||||
158 | elif(timer_ticks % 1000 == 500){
|
||||
| ^
|
||||
| ;
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:206:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
|
||||
206 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:192:13: warning: 'Timer_init' defined but not used [-Wunused-function]
|
||||
192 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:19:48 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c:66:10: error: unknown type name 'uint28_t'
|
||||
66 | volatile uint28_t timer_ticks = 0;
|
||||
| ^~~~~~~~
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
|
||||
86 | System_init();
|
||||
| ^~~~~~~~~~~
|
||||
| SystemInit
|
||||
../Src/task3.c: In function 'EXTI_IRQHandler':
|
||||
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
|
||||
114 | timer_aktiv=1;
|
||||
| ^~~~~~~~~~~
|
||||
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
|
||||
202 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
|
||||
188 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:20:58 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
|
||||
86 | System_init();
|
||||
| ^~~~~~~~~~~
|
||||
| SystemInit
|
||||
../Src/task3.c: In function 'EXTI_IRQHandler':
|
||||
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
|
||||
114 | timer_aktiv=1;
|
||||
| ^~~~~~~~~~~
|
||||
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
|
||||
202 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
|
||||
188 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:21:31 **** Build of configuration Debug for project task1 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/sketch.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/sketch.d" -MT"Src/sketch.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/sketch.o"
|
||||
arm-none-eabi-gcc "../Src/task1.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task1.d" -MT"Src/task1.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task1.o"
|
||||
../Src/sketch.c: In function 'main':
|
||||
../Src/sketch.c:11:42: error: expected expression before ')' token
|
||||
11 | while(/*schalter nicht gedrückt*/){}
|
||||
| ^
|
||||
../Src/sketch.c:12:9: warning: implicit declaration of function 'delay' [-Wimplicit-function-declaration]
|
||||
12 | delay(10);
|
||||
| ^~~~~
|
||||
../Src/sketch.c:13:39: error: expected expression before ')' token
|
||||
13 | while(/*schalter losgelassen*/){}
|
||||
| ^
|
||||
../Src/sketch.c:18:39: error: request for member 'length' in something not a structure or union
|
||||
18 | for(int i; i < reihenfolge.length - 1 && aktiv = 1; i ++){
|
||||
| ^
|
||||
../Src/sketch.c:20:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
||||
20 | if(i = 0){/*alles bis auf LED0 auschalten*/}
|
||||
| ^
|
||||
../Src/sketch.c:21:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
||||
21 | if(i = 1){/*..*/}
|
||||
| ^
|
||||
../Src/sketch.c:24:44: error: expected expression before ')' token
|
||||
24 | if(/*schalter gerückt*/){
|
||||
| ^
|
||||
../Src/sketch.c:32:42: error: expected expression before ')' token
|
||||
32 | while(/*Taster gedrückt*/){}
|
||||
| ^
|
||||
make: *** [Src/subdir.mk:25: Src/sketch.o] Error 1
|
||||
make: *** Waiting for unfinished jobs....
|
||||
../Src/task1.c: In function 'GPIO_init':
|
||||
../Src/task1.c:169:22: error: expected expression before '<<' token
|
||||
169 | GPIOA->MODER &= ~(3 ^<< 2); // Versuch: LED 1 Mode löschen :klappt so
|
||||
| ^~
|
||||
make: *** [Src/subdir.mk:25: Src/task1.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:21:32 **** Build of configuration Debug for project task2 ****
|
||||
make -j12 all
|
||||
Target all ready
|
||||
15:21:32 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
|
||||
86 | System_init();
|
||||
| ^~~~~~~~~~~
|
||||
| SystemInit
|
||||
../Src/task3.c: In function 'EXTI_IRQHandler':
|
||||
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
|
||||
114 | timer_aktiv=1;
|
||||
| ^~~~~~~~~~~
|
||||
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
|
||||
202 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
|
||||
188 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:21:32 **** Build of configuration Debug for project task4 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Startup/startup_stm32g431kbtx.d" -MT"Startup/startup_stm32g431kbtx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/startup_stm32g431kbtx.o" "../Startup/startup_stm32g431kbtx.s"
|
||||
arm-none-eabi-gcc "../Startup/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/syscalls.d" -MT"Startup/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/syscalls.o"
|
||||
arm-none-eabi-gcc "../Startup/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/sysmem.d" -MT"Startup/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/sysmem.o"
|
||||
arm-none-eabi-gcc "../Src/task4.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task4.d" -MT"Src/task4.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task4.o"
|
||||
arm-none-eabi-gcc "../Src/task4_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task4_it.d" -MT"Src/task4_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task4_it.o"
|
||||
arm-none-eabi-gcc -o "task4.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task4/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task4.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task4.elf
|
||||
|
||||
arm-none-eabi-size task4.elf
|
||||
arm-none-eabi-objdump -h -S task4.elf > "task4.list"
|
||||
text data bss dec hex filename
|
||||
968 0 1568 2536 9e8 task4.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task4.list
|
||||
|
||||
15:21:42 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
|
||||
86 | System_init();
|
||||
| ^~~~~~~~~~~
|
||||
| SystemInit
|
||||
../Src/task3.c: In function 'EXTI_IRQHandler':
|
||||
../Src/task3.c:114:17: error: 'timer_aktiv' undeclared (first use in this function)
|
||||
114 | timer_aktiv=1;
|
||||
| ^~~~~~~~~~~
|
||||
../Src/task3.c:114:17: note: each undeclared identifier is reported only once for each function it appears in
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
|
||||
202 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
|
||||
188 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:23:20 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'System_init'; did you mean 'SystemInit'? [-Wimplicit-function-declaration]
|
||||
86 | System_init();
|
||||
| ^~~~~~~~~~~
|
||||
| SystemInit
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:202:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
|
||||
202 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:188:13: warning: 'Timer_init' defined but not used [-Wunused-function]
|
||||
188 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
/opt/st/stm32cubeide_1.16.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.0.200.202406132123/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld: ./Src/task3.o: in function `main':
|
||||
/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/Debug/../Src/task3.c:86: undefined reference to `System_init'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make: *** [makefile:63: task3.elf] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:25:59 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'Timer_init' [-Wimplicit-function-declaration]
|
||||
86 | Timer_init();
|
||||
| ^~~~~~~~~~
|
||||
../Src/task3.c:87:5: warning: implicit declaration of function 'EXTI_init' [-Wimplicit-function-declaration]
|
||||
87 | EXTI_init();
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:189:13: warning: conflicting types for 'Timer_init'; have 'void(void)'
|
||||
189 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
../Src/task3.c:189:13: error: static declaration of 'Timer_init' follows non-static declaration
|
||||
../Src/task3.c:86:5: note: previous implicit declaration of 'Timer_init' with type 'void(void)'
|
||||
86 | Timer_init();
|
||||
| ^~~~~~~~~~
|
||||
../Src/task3.c:203:13: warning: conflicting types for 'EXTI_init'; have 'void(void)'
|
||||
203 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:203:13: error: static declaration of 'EXTI_init' follows non-static declaration
|
||||
../Src/task3.c:87:5: note: previous implicit declaration of 'EXTI_init' with type 'void(void)'
|
||||
87 | EXTI_init();
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:203:13: warning: 'EXTI_init' defined but not used [-Wunused-function]
|
||||
203 | static void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:189:13: warning: 'Timer_init' defined but not used [-Wunused-function]
|
||||
189 | static void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
make: *** [Src/subdir.mk:22: Src/task3.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
15:26:50 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c: In function 'main':
|
||||
../Src/task3.c:86:5: warning: implicit declaration of function 'Timer_init' [-Wimplicit-function-declaration]
|
||||
86 | Timer_init();
|
||||
| ^~~~~~~~~~
|
||||
../Src/task3.c:87:5: warning: implicit declaration of function 'EXTI_init' [-Wimplicit-function-declaration]
|
||||
87 | EXTI_init();
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:189:6: warning: conflicting types for 'Timer_init'; have 'void(void)'
|
||||
189 | void Timer_init(void) {
|
||||
| ^~~~~~~~~~
|
||||
../Src/task3.c:86:5: note: previous implicit declaration of 'Timer_init' with type 'void(void)'
|
||||
86 | Timer_init();
|
||||
| ^~~~~~~~~~
|
||||
../Src/task3.c:203:6: warning: conflicting types for 'EXTI_init'; have 'void(void)'
|
||||
203 | void EXTI_init(void) {
|
||||
| ^~~~~~~~~
|
||||
../Src/task3.c:87:5: note: previous implicit declaration of 'EXTI_init' with type 'void(void)'
|
||||
87 | EXTI_init();
|
||||
| ^~~~~~~~~
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1276 0 1568 2844 b1c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
15:28:05 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1276 0 1568 2844 b1c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
15:30:17 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1276 0 1568 2844 b1c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
15:35:25 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1276 0 1568 2844 b1c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
15:37:20 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1276 0 1568 2844 b1c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
15:37:47 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1276 0 1568 2844 b1c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
15:42:27 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1264 0 1568 2832 b10 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
15:45:26 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1240 0 1568 2808 af8 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
15:45:44 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1240 0 1568 2808 af8 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
15:50:48 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1236 0 1568 2804 af4 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
15:51:56 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1236 0 1568 2804 af4 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
15:52:20 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1236 0 1568 2804 af4 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
16:04:28 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1324 0 1576 2900 b54 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:11:41 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1260 0 1568 2828 b0c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:14:05 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1260 0 1568 2828 b0c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:18:18 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1260 0 1568 2828 b0c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:21:47 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1260 0 1568 2828 b0c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:27:59 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1260 0 1568 2828 b0c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:30:05 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1260 0 1568 2828 b0c task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
16:35:46 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3_it.d" -MT"Src/task3_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3_it.o"
|
||||
../Src/task3_it.c:139:5: error: 'EXTI_IRQHandler' undeclared here (not in a function)
|
||||
139 | EXTI_IRQHandler, /* 6 (0x00000058) EXTI Line 0 interrupt */
|
||||
| ^~~~~~~~~~~~~~~
|
||||
make: *** [Src/subdir.mk:22: Src/task3_it.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
16:48:29 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3_it.d" -MT"Src/task3_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3_it.o"
|
||||
../Src/task3_it.c:139:5: error: 'EXTI_IRQHandler' undeclared here (not in a function)
|
||||
139 | EXTI_IRQHandler, /* 6 (0x00000058) EXTI Line 0 interrupt */
|
||||
| ^~~~~~~~~~~~~~~
|
||||
../Src/task3_it.c:187:5: error: 'TIM6_DAC_IRQHandler' undeclared here (not in a function); did you mean 'TIM7_DAC_IRQHandler'?
|
||||
187 | TIM6_DAC_IRQHandler, /* 54 (0x00000118) TIM6 + DAC1/3 underrun global interrupts */
|
||||
| ^~~~~~~~~~~~~~~~~~~
|
||||
| TIM7_DAC_IRQHandler
|
||||
make: *** [Src/subdir.mk:22: Src/task3_it.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
16:49:27 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3_it.d" -MT"Src/task3_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3_it.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1704 0 1576 3280 cd0 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:50:00 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1704 0 1576 3280 cd0 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
16:51:34 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1696 0 1576 3272 cc8 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:54:44 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c: In function 'EXTI_IRQHandler':
|
||||
../Src/task3.c:122:5: warning: implicit declaration of function 'TIM_DAC_IRQHandler'; did you mean 'TIM7_DAC_IRQHandler'? [-Wimplicit-function-declaration]
|
||||
122 | TIM_DAC_IRQHandler();
|
||||
| ^~~~~~~~~~~~~~~~~~
|
||||
| TIM7_DAC_IRQHandler
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
/opt/st/stm32cubeide_1.16.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.0.200.202406132123/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld: ./Src/task3.o: in function `EXTI_IRQHandler':
|
||||
/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/Debug/../Src/task3.c:122: undefined reference to `TIM_DAC_IRQHandler'
|
||||
collect2: error: ld returned 1 exit status
|
||||
make: *** [makefile:63: task3.elf] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
16:55:06 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
../Src/task3.c: In function 'EXTI_IRQHandler':
|
||||
../Src/task3.c:122:5: warning: implicit declaration of function 'TIM6_DAC_IRQHandler'; did you mean 'TIM7_DAC_IRQHandler'? [-Wimplicit-function-declaration]
|
||||
122 | TIM6_DAC_IRQHandler();
|
||||
| ^~~~~~~~~~~~~~~~~~~
|
||||
| TIM7_DAC_IRQHandler
|
||||
../Src/task3.c: At top level:
|
||||
../Src/task3.c:126:6: warning: conflicting types for 'TIM6_DAC_IRQHandler'; have 'void(void)'
|
||||
126 | void TIM6_DAC_IRQHandler(void){
|
||||
| ^~~~~~~~~~~~~~~~~~~
|
||||
../Src/task3.c:122:5: note: previous implicit declaration of 'TIM6_DAC_IRQHandler' with type 'void(void)'
|
||||
122 | TIM6_DAC_IRQHandler();
|
||||
| ^~~~~~~~~~~~~~~~~~~
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1696 0 1576 3272 cc8 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
16:56:24 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-size task3.elf
|
||||
text data bss dec hex filename
|
||||
1696 0 1576 3272 cc8 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
17:16:03 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1696 0 1576 3272 cc8 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
|
||||
@@ -1,7 +1,34 @@
|
||||
13:56:35 **** Incremental Build of configuration Debug for project task1 ****
|
||||
15:21:31 **** Build of configuration Debug for project task1 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/sketch.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/sketch.d" -MT"Src/sketch.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/sketch.o"
|
||||
arm-none-eabi-gcc "../Src/task1.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task1.d" -MT"Src/task1.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task1.o"
|
||||
../Src/sketch.c: In function 'main':
|
||||
../Src/sketch.c:11:42: error: expected expression before ')' token
|
||||
11 | while(/*schalter nicht gedrückt*/){}
|
||||
| ^
|
||||
../Src/sketch.c:12:9: warning: implicit declaration of function 'delay' [-Wimplicit-function-declaration]
|
||||
12 | delay(10);
|
||||
| ^~~~~
|
||||
../Src/sketch.c:13:39: error: expected expression before ')' token
|
||||
13 | while(/*schalter losgelassen*/){}
|
||||
| ^
|
||||
../Src/sketch.c:18:39: error: request for member 'length' in something not a structure or union
|
||||
18 | for(int i; i < reihenfolge.length - 1 && aktiv = 1; i ++){
|
||||
| ^
|
||||
../Src/sketch.c:20:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
||||
20 | if(i = 0){/*alles bis auf LED0 auschalten*/}
|
||||
| ^
|
||||
../Src/sketch.c:21:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
|
||||
21 | if(i = 1){/*..*/}
|
||||
| ^
|
||||
../Src/sketch.c:24:44: error: expected expression before ')' token
|
||||
24 | if(/*schalter gerückt*/){
|
||||
| ^
|
||||
../Src/sketch.c:32:42: error: expected expression before ')' token
|
||||
32 | while(/*Taster gedrückt*/){}
|
||||
| ^
|
||||
make: *** [Src/subdir.mk:25: Src/sketch.o] Error 1
|
||||
make: *** Waiting for unfinished jobs....
|
||||
../Src/task1.c: In function 'GPIO_init':
|
||||
../Src/task1.c:169:22: error: expected expression before '<<' token
|
||||
169 | GPIOA->MODER &= ~(3 ^<< 2); // Versuch: LED 1 Mode löschen :klappt so
|
||||
@@ -9,5 +36,5 @@ arm-none-eabi-gcc "../Src/task1.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM3
|
||||
make: *** [Src/subdir.mk:25: Src/task1.o] Error 1
|
||||
"make -j12 all" terminated with exit code 2. Build might be incomplete.
|
||||
|
||||
13:56:35 Build Failed. 2 errors, 0 warnings. (took 166ms)
|
||||
15:21:32 Build Failed. 9 errors, 3 warnings. (took 171ms)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
14:02:22 **** Incremental Build of configuration Debug for project task2 ****
|
||||
15:21:32 **** Build of configuration Debug for project task2 ****
|
||||
make -j12 all
|
||||
Target all ready
|
||||
|
||||
14:02:22 Build Finished. 0 errors, 0 warnings. (took 121ms)
|
||||
15:21:32 Build Finished. 0 errors, 0 warnings. (took 175ms)
|
||||
|
||||
|
||||
@@ -1,7 +1,17 @@
|
||||
14:13:44 **** Clean-only build of configuration Debug for project task3 ****
|
||||
make -j12 clean
|
||||
makefile:62: *** multiple target patterns. Stop.
|
||||
"make -j12 clean" terminated with exit code 2. Build might be incomplete.
|
||||
17:16:03 **** Incremental Build of configuration Debug for project task3 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc "../Src/task3.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task3.d" -MT"Src/task3.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task3.o"
|
||||
arm-none-eabi-gcc -o "task3.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task3/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task3.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task3.elf
|
||||
|
||||
arm-none-eabi-size task3.elf
|
||||
arm-none-eabi-objdump -h -S task3.elf > "task3.list"
|
||||
text data bss dec hex filename
|
||||
1696 0 1576 3272 cc8 task3.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task3.list
|
||||
|
||||
|
||||
14:13:44 Build Failed. 1 errors, 0 warnings. (took 186ms)
|
||||
17:16:03 Build Finished. 0 errors, 0 warnings. (took 278ms)
|
||||
|
||||
|
||||
@@ -1,7 +1,21 @@
|
||||
14:13:44 **** Clean-only build of configuration Debug for project task4 ****
|
||||
make -j12 clean
|
||||
makefile:62: *** multiple target patterns. Stop.
|
||||
"make -j12 clean" terminated with exit code 2. Build might be incomplete.
|
||||
15:21:32 **** Build of configuration Debug for project task4 ****
|
||||
make -j12 all
|
||||
arm-none-eabi-gcc -mcpu=cortex-m4 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"Startup/startup_stm32g431kbtx.d" -MT"Startup/startup_stm32g431kbtx.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/startup_stm32g431kbtx.o" "../Startup/startup_stm32g431kbtx.s"
|
||||
arm-none-eabi-gcc "../Startup/syscalls.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/syscalls.d" -MT"Startup/syscalls.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/syscalls.o"
|
||||
arm-none-eabi-gcc "../Startup/sysmem.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Startup/sysmem.d" -MT"Startup/sysmem.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Startup/sysmem.o"
|
||||
arm-none-eabi-gcc "../Src/task4.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task4.d" -MT"Src/task4.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task4.o"
|
||||
arm-none-eabi-gcc "../Src/task4_it.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DSTM32G431KBTx -DSTM32 -DSTM32G4 -DNUCLEO_G431KB -c -I../Inc -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Src/task4_it.d" -MT"Src/task4_it.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Src/task4_it.o"
|
||||
arm-none-eabi-gcc -o "task4.elf" @"objects.list" -mcpu=cortex-m4 -T"/home/tobii/02_Uni/09_Mikrocomputertechnik/praktikum/mct_bei_workspace_25w/task4/STM32G431KBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="task4.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
Finished building target: task4.elf
|
||||
|
||||
arm-none-eabi-size task4.elf
|
||||
arm-none-eabi-objdump -h -S task4.elf > "task4.list"
|
||||
text data bss dec hex filename
|
||||
968 0 1568 2536 9e8 task4.elf
|
||||
Finished building: default.size.stdout
|
||||
|
||||
Finished building: task4.list
|
||||
|
||||
|
||||
14:13:44 Build Failed. 1 errors, 0 warnings. (took 186ms)
|
||||
15:21:32 Build Finished. 0 errors, 0 warnings. (took 272ms)
|
||||
|
||||
|
||||
+238
@@ -0,0 +1,238 @@
|
||||
/* ***************************************************************************************
|
||||
# Project: task3 - C: Timer & Interrupts
|
||||
# File: task3_it.s
|
||||
#
|
||||
# Language: C
|
||||
#
|
||||
# Hardware: STefi Light v1.1
|
||||
# Processor: STM32G431KBT6U
|
||||
#
|
||||
# Author: Manuel Lederhofer
|
||||
# Datum: 31.10.2014
|
||||
#
|
||||
# Version: 6.1
|
||||
# History:
|
||||
# 31.10.2014 ML create file
|
||||
# 27.09.2018 ML edit comments, extend vector table
|
||||
# 18.12.2018 ML port from MKL05Z32VLC4 to STM32L476RG
|
||||
# 27.02.2019 ML move section of exception handlers to bottom of file,
|
||||
# change ASM pseudo commands from .space to .org
|
||||
# 25.09.2019 ML minor changes for a better code and comment understanding
|
||||
# 04.09.2020 HL port from STM32L476RG to STM32F411xE
|
||||
# 21.09.2020 ML tidy up, comments and formatting
|
||||
# 29.09.2021 ML port from STM32F411xE to STM32F042K6T6
|
||||
# 09.03.2022 ML port from STM32F042K6T6 to STM32G431KBT6U
|
||||
# 17.02.2025 TK move ASM:Interrupts to task2, replace with C:Interrupts
|
||||
# 24.06.2025 TK remove Systick
|
||||
#
|
||||
# Status: working
|
||||
#
|
||||
# Description:
|
||||
# See the description and requirements of the requested application
|
||||
# in the lab exercise guide.
|
||||
#
|
||||
# Notes:
|
||||
# - MCU speed at startup is 16 MHz
|
||||
#
|
||||
# ToDo:
|
||||
# - Change the example code to match the description and requirements
|
||||
# of the requested application in the lab exercise guide.
|
||||
************************************************************************************** */
|
||||
|
||||
/* ------------------------------------ INCLUDES -------------------------------------- */
|
||||
#include "stm32g431xx.h"
|
||||
#include "STefi-Light.h"
|
||||
|
||||
|
||||
/* ------------------------------------ DEFINES --------------------------------------- */
|
||||
/* ------------------------------------ TYPE DEFINITIONS ------------------------------ */
|
||||
|
||||
|
||||
/* ------------------------------------ GLOBAL VARIABLES ------------------------------ */
|
||||
extern void* _estack; // initial stack pointer from ldscript
|
||||
extern void* Reset_Handler; // exception handler from startup code
|
||||
|
||||
|
||||
/* ------------------------------------ PRIVATE VARIABLES ----------------------------- */
|
||||
/* ------------------------------------ PROTOTYPES ------------------------------------ */
|
||||
|
||||
|
||||
/* ------------------------------------ GLOBAL FUNCTIONS (Exceptions Handlers) -------- */
|
||||
|
||||
/* ------------------------------------------------------------------------------------ *\
|
||||
* method: void ISR_error(void)
|
||||
*
|
||||
* Default interrupt handler for core interrupts.
|
||||
* Enables the green and red LED on the STefi Light board.
|
||||
\* ------------------------------------------------------------------------------------ */
|
||||
void ISR_error(void)
|
||||
{
|
||||
/* init */
|
||||
RCC->AHB2ENR |= RCC_AHB2ENR_GPIOAEN; // PA: clock on (LEDs)
|
||||
GPIOA->ODR |= 0x0F;
|
||||
GPIOA->MODER = (GPIOA->MODER & 0xFFFFFF00) | 0x11;
|
||||
|
||||
while(1)
|
||||
{ /* light up the LEDs permanently */
|
||||
GPIOA->ODR &= ~((1 << 2) | (1 << 0));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------------------ *\
|
||||
* method: void ISR_default(void)
|
||||
*
|
||||
* Default interrupt handler for non-core interrupts.
|
||||
* Enables the blue and yellow LED on the STefi Light board.
|
||||
\* ------------------------------------------------------------------------------------ */
|
||||
void ISR_default(void)
|
||||
{
|
||||
/* init */
|
||||
RCC->AHB2ENR |= RCC_AHB2ENR_GPIOAEN; // PA: clock on (LEDs)
|
||||
GPIOA->ODR |= 0x0F;
|
||||
GPIOA->MODER = (GPIOA->MODER & 0xFFFFFF00) | 0x44;
|
||||
|
||||
while(1)
|
||||
{ /* light up the LEDs permanently */
|
||||
GPIOA->ODR &= ~((1 << 3) | (1 << 1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------------------ *\
|
||||
* method: Timer
|
||||
*
|
||||
* Timer interrupt is used for ...
|
||||
\* ------------------------------------------------------------------------------------ */
|
||||
|
||||
|
||||
|
||||
/* ------------------------------------ INTERRUPT VECTOR TABLE ------------------------ */
|
||||
|
||||
__attribute__ ((section (".isr_vector")))
|
||||
void (* const paIsrFunc[118])(void) =
|
||||
{
|
||||
/* --- core vectors --- */
|
||||
(void *)&_estack, /* 00 (0x00000000) initial stack pointer */
|
||||
(void *)&Reset_Handler, /* 01 (0x00000004) (prio: -3) initial program counter (leads to first command to execute) */
|
||||
ISR_error, /* 02 (0x00000008) (prio: -2) non-maskable interrupt */
|
||||
ISR_error, /* 03 (0x0000000C) (prio: -1) hard fault exception */
|
||||
ISR_error, /* 04 (0x00000010) memory management */
|
||||
ISR_error, /* 05 (0x00000014) bus fault - pre-fetch fault, memory access fault */
|
||||
ISR_error, /* 06 (0x00000018) usage fault - undefined instruction or illegal state */
|
||||
ISR_error, /* 07 (0x0000001C) reserved vector 7 */
|
||||
ISR_error, /* 08 (0x00000020) reserved vector 8 */
|
||||
ISR_error, /* 09 (0x00000024) reserved vector 9 */
|
||||
ISR_error, /* 10 (0x00000028) reserved vector 10 */
|
||||
ISR_error, /* 11 (0x0000002C) system service call via SWI instruction */
|
||||
ISR_error, /* 12 (0x00000030) monitor */
|
||||
ISR_error, /* 13 (0x00000034) reserved vector 13 */
|
||||
ISR_error, /* 14 (0x00000038) pendable service call exception */
|
||||
ISR_error, /* 15 (0x0000003C) SysTick exception */
|
||||
/* --- non-core vectors --- */
|
||||
ISR_default, /* 0 (0x00000040) window watchdog interrupt */
|
||||
ISR_default, /* 1 (0x00000044) PVD through EXTI line 16 interrupt */
|
||||
ISR_default, /* 2 (0x00000048) RTC/TAMP/CSS on LSE through EXTI line 19 interrupt */
|
||||
ISR_default, /* 3 (0x0000004C) RTC Wakeup timer through EXTI line 20 interrupt */
|
||||
ISR_default, /* 4 (0x00000050) Flash global interrupt */
|
||||
ISR_default, /* 5 (0x00000054) RCC global interrupt */
|
||||
EXTI_IRQHandler, /* 6 (0x00000058) EXTI Line 0 interrupt */
|
||||
ISR_default, /* 7 (0x0000005C) EXTI Line 1 interrupt */
|
||||
ISR_default, /* 8 (0x00000060) EXTI Line 2 interrupt */
|
||||
ISR_default, /* 9 (0x00000064) EXTI Line 3 interrupt */
|
||||
ISR_default, /* 10 (0x00000068) EXTI Line 4 interrupt */
|
||||
ISR_default, /* 11 (0x0000006C) DMA1 channel 1 interrupt */
|
||||
ISR_default, /* 12 (0x00000070) DMA1 channel 2 interrupt */
|
||||
ISR_default, /* 13 (0x00000074) DMA1 channel 3 interrupt */
|
||||
ISR_default, /* 14 (0x00000078) DMA1 channel 4 interrupt */
|
||||
ISR_default, /* 15 (0x0000007C) DMA1 channel 5 interrupt */
|
||||
ISR_default, /* 16 (0x00000080) DMA1 channel 6 interrupt */
|
||||
ISR_default, /* 17 (0x00000084) DMA1 channel 7 interrupt */
|
||||
ISR_default, /* 18 (0x00000088) ADC1 + ADC2 global interrupt */
|
||||
ISR_default, /* 19 (0x0000008C) USB high priority interrupts */
|
||||
ISR_default, /* 20 (0x00000090) USB low priority interrupts */
|
||||
ISR_default, /* 21 (0x00000094) FDCAN1 interrupt 0 */
|
||||
ISR_default, /* 22 (0x00000098) FDCAN1 interrupt 1 */
|
||||
ISR_default, /* 23 (0x0000009C) EXTI line [9:5] interrupts */
|
||||
ISR_default, /* 24 (0x000000A0) TIM1 break + TIM15 global interrupts */
|
||||
ISR_default, /* 25 (0x000000A4) TIM1 update + TIM16 global interrupts */
|
||||
ISR_default, /* 26 (0x000000A8) TIM1 trigger, commutation, direction change, index + TIM17 interrupts */
|
||||
ISR_default, /* 27 (0x000000AC) TIM1 capture compare interrupt */
|
||||
ISR_default, /* 28 (0x000000B0) TIM2 global interrupt */
|
||||
ISR_default, /* 29 (0x000000B4) TIM3 global interrupt */
|
||||
ISR_default, /* 30 (0x000000B8) TIM4 global interrupt */
|
||||
ISR_default, /* 31 (0x000000BC) I2C1 event + EXTI line 23 interrupts */
|
||||
ISR_default, /* 32 (0x000000C0) I2C1 error interrupt */
|
||||
ISR_default, /* 33 (0x000000C4) I2C2 event + EXTI line 24 interrupts */
|
||||
ISR_default, /* 34 (0x000000C8) I2C2 error interrupt */
|
||||
ISR_default, /* 35 (0x000000CC) SPI1 global interrupt */
|
||||
ISR_default, /* 36 (0x000000D0) SPI2 global interrupt */
|
||||
ISR_default, /* 37 (0x000000D4) USART1 global + EXTI line 25 interrupts */
|
||||
ISR_default, /* 38 (0x000000D8) USART2 global + EXTI line 26 interrupts */
|
||||
ISR_default, /* 39 (0x000000DC) USART3 global + EXTI line 28 interrupts */
|
||||
ISR_default, /* 40 (0x000000E0) EXTI line [15:10] interrupts */
|
||||
ISR_default, /* 41 (0x000000E4) RTC alarms interrupts */
|
||||
ISR_default, /* 42 (0x000000E8) USB wakeup from suspend trough EXTI line 18 interrupt */
|
||||
ISR_default, /* 43 (0x000000EC) TIM8 break, transition error, index error interrupts */
|
||||
ISR_default, /* 44 (0x000001F0) TIM8 update interrupt */
|
||||
ISR_default, /* 45 (0x000001F4) TIM8 trigger, commutation, direction change, index interrupts */
|
||||
ISR_default, /* 46 (0x000001F8) TIM8 capture compare interrupt */
|
||||
ISR_default, /* 47 (0x000001FC) ADC3 global interrupt */
|
||||
ISR_default, /* 48 (0x00000100) FSMC global interrupt */
|
||||
ISR_default, /* 49 (0x00000104) LPTIM1 global interrupt */
|
||||
ISR_default, /* 50 (0x00000108) TIM5 global interrupt */
|
||||
ISR_default, /* 51 (0x0000010C) SPI3 global interrupt */
|
||||
ISR_default, /* 52 (0x00000110) UART4 global + EXTI line 34 interrupts */
|
||||
ISR_default, /* 53 (0x00000114) UART5 global + EXTI line 35 interrupts */
|
||||
TIM6_DAC_IRQHandler, /* 54 (0x00000118) TIM6 + DAC1/3 underrun global interrupts */
|
||||
ISR_default, /* 55 (0x0000011C) TIM7 + DAC2/4 underrun global interrupts */
|
||||
ISR_default, /* 56 (0x00000120) DMA2 channel 1 interrupt */
|
||||
ISR_default, /* 57 (0x00000124) DMA2 channel 2 interrupt */
|
||||
ISR_default, /* 58 (0x00000128) DMA2 channel 3 interrupt */
|
||||
ISR_default, /* 59 (0x0000012C) DMA2 channel 4 interrupt */
|
||||
ISR_default, /* 60 (0x00000130) DMA2 channel 5 interrupt */
|
||||
ISR_default, /* 61 (0x00000134) ADC4 global interrupt */
|
||||
ISR_default, /* 62 (0x00000138) ADC5 global interrupt */
|
||||
ISR_default, /* 63 (0x0000013C) UCPD1 global + EXTI line 43 interrupts */
|
||||
ISR_default, /* 64 (0x00000140) COMP1/COMP2/COMP3 through EXTI lines 21/22/29 interrupts */
|
||||
ISR_default, /* 65 (0x00000144) COMP4/COMP5/COMP6 through EXTI lines 30/31/32 interrupts */
|
||||
ISR_default, /* 66 (0x00000148) COMP7 through EXTI line 33 interrupt */
|
||||
ISR_default, /* 67 (0x0000014C) HRTIM master timer interrupt (hrtim_it1) */
|
||||
ISR_default, /* 68 (0x00000150) HRTIM timer A interrupt (hrtim_it2) */
|
||||
ISR_default, /* 69 (0x00000154) HRTIM timer B interrupt (hrtim_it3) */
|
||||
ISR_default, /* 70 (0x00000158) HRTIM timer C interrupt (hrtim_it4) */
|
||||
ISR_default, /* 71 (0x0000015C) HRTIM timer D interrupt (hrtim_it5) */
|
||||
ISR_default, /* 72 (0x00000160) HRTIM timer E interrupt (hrtim_it6) */
|
||||
ISR_default, /* 73 (0x00000164) HRTIM fault interrupt (hrtim_it8) */
|
||||
ISR_default, /* 74 (0x00000168) HRTIM timer F interrupt (hrtim_it7) */
|
||||
ISR_default, /* 75 (0x0000016C) CRS interrupt */
|
||||
ISR_default, /* 76 (0x00000170) SAI */
|
||||
ISR_default, /* 77 (0x00000174) TIM20 break, transition error, index error interrupts */
|
||||
ISR_default, /* 78 (0x00000178) TIM20 update interrupt */
|
||||
ISR_default, /* 79 (0x0000017C) TIM20 trigger, commutation, direction change, index interrupts */
|
||||
ISR_default, /* 80 (0x00000180) TIM20 capture compare interrupt */
|
||||
ISR_default, /* 81 (0x00000184) Floating point interrupt */
|
||||
ISR_default, /* 82 (0x00000188) I2C4 event + EXTI line 4 interrupts */
|
||||
ISR_default, /* 83 (0x0000018C) I2C4 error interrupt */
|
||||
ISR_default, /* 84 (0x00000190) SPI4 global interrupt */
|
||||
ISR_default, /* 85 (0x00000194) AES global interrupt */
|
||||
ISR_default, /* 86 (0x00000198) FDCAN2 interrupt 0 */
|
||||
ISR_default, /* 87 (0x0000019C) FDCAN2 interrupt 1 */
|
||||
ISR_default, /* 88 (0x000001A0) FDCAN3 interrupt 0 */
|
||||
ISR_default, /* 89 (0x000001A4) FDCAN3 interrupt 1 */
|
||||
ISR_default, /* 90 (0x000001A8) RNG global interrupt */
|
||||
ISR_default, /* 91 (0x000001AC) LPUART global interrupt */
|
||||
ISR_default, /* 92 (0x000001B0) I2C3 event + EXTI line 27 interrupts */
|
||||
ISR_default, /* 93 (0x000001B4) I2C3 error interrupt */
|
||||
ISR_default, /* 94 (0x000001B8) DMAMUX overrun interrupt */
|
||||
ISR_default, /* 95 (0x000001BC) QUADSPI global interrupt */
|
||||
ISR_default, /* 96 (0x000001C0) DMA1 channel 8 interrupt */
|
||||
ISR_default, /* 97 (0x000001C4) DMA2 channel 6 interrupt */
|
||||
ISR_default, /* 98 (0x000001C8) DMA2 channel 7 interrupt */
|
||||
ISR_default, /* 99 (0x000001CC) DMA2 channel 8 interrupt */
|
||||
ISR_default, /* 100 (0x000001D0) Cordic interrupt */
|
||||
ISR_default /* 101 (0x000001D4) FMAC interrupt */
|
||||
};
|
||||
|
||||
|
||||
/* ************************************ E O F ***************************************** */
|
||||
-347
@@ -1,347 +0,0 @@
|
||||
#****************************************************************************************#
|
||||
# Project: task2 - ASM: Interrupts
|
||||
# File: task2.s
|
||||
# Hardware: STefi Light v1.1
|
||||
# Processor: STM32G431KBT6U
|
||||
#****************************************************************************************#
|
||||
|
||||
.include "G431_addr.s"
|
||||
|
||||
// Falls in G431_addr.s vorhanden, diesen Block löschen um Fehler zu vermeiden:
|
||||
.equ RCC_AHB2ENR, 0x4002104C
|
||||
.equ RCC_APB2ENR, 0x40021060
|
||||
|
||||
.equ GPIOA_MODER, 0x48000000
|
||||
.equ GPIOA_ODR, 0x48000014
|
||||
|
||||
.equ GPIOB_MODER, 0x48000400
|
||||
.equ GPIOB_PUPDR, 0x4800040C
|
||||
.equ GPIOB_IDR, 0x48000410
|
||||
|
||||
.equ SYSCFG_BASE, 0x40010000
|
||||
.equ SYSCFG_EXTICR1, (SYSCFG_BASE + 0x08)
|
||||
.equ SYSCFG_EXTICR2, (SYSCFG_BASE + 0x0C)
|
||||
|
||||
.equ EXTI_BASE, 0x40010400
|
||||
.equ EXTI_IMR1, (EXTI_BASE + 0x00)
|
||||
.equ EXTI_FTSR1, (EXTI_BASE + 0x0C)
|
||||
.equ EXTI_PR1, (EXTI_BASE + 0x14)
|
||||
|
||||
.equ NVIC_ISER0, 0xE000E100
|
||||
|
||||
.equ DBGMCU_CR, 0xE0042004 // Adresse des Debug Configuration Registers
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
.section .vectortable,"a"
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
|
||||
.word 0x20004000 // initial Stack Pointer
|
||||
.word init // initial Program Counter
|
||||
.word _ISR_NMI // non-masking interrupt
|
||||
.word _ISR_HARDF // hard fault interrupt
|
||||
|
||||
.space 0x48 // Padding 72 Bytes (Offset 0x10 -> 0x58)
|
||||
.word _ISR_EXTI0 // EXTI0_IRQHandler (PB0 / S0) - IRQ 6
|
||||
|
||||
.space 0x0C // Padding 12 Bytes (Offset 0x5C -> 0x68)
|
||||
.word _ISR_EXTI4 // EXTI4_IRQHandler (PB4 / S1) - IRQ 10
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
.text
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
.syntax unified
|
||||
.thumb
|
||||
.thumb_func
|
||||
.global init
|
||||
.type init, %function
|
||||
init:
|
||||
CPSID i
|
||||
|
||||
MOVS r0, #0
|
||||
MOVS r1, #0
|
||||
MOVS r2, #0
|
||||
MOVS r3, #0
|
||||
MOVS r4, #0
|
||||
MOVS r5, #0
|
||||
MOVS r6, #0
|
||||
MOVS r7, #0
|
||||
MOV r8, r0
|
||||
MOV r9, r0
|
||||
MOV r10, r0
|
||||
MOV r11, r0
|
||||
MOV r12, r0
|
||||
|
||||
#--- enable port clocking (GPIOA, GPIOB)
|
||||
LDR r1, =RCC_AHB2ENR
|
||||
MOVS r2, #0x03 // Bit 0 (GPIOA) und Bit 1 (GPIOB)
|
||||
LDR r0, [r1, #0]
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#--- port init
|
||||
#- LEDs (PA0 - PA3) als Output
|
||||
LDR r1, =GPIOA_MODER
|
||||
LDR r2, =0x000000FF
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
LDR r2, =0x00000055
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#- switch LED off
|
||||
LDR r1, =GPIOA_ODR
|
||||
MOVS r2, #0x0F
|
||||
LDR r0, [r1, #0]
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#- buttons (PB0, PB4) als Input
|
||||
LDR r1, =GPIOB_MODER
|
||||
LDR r2, =0x00000303 // Maske Bits 0:1 (PB0) und 8:9 (PB4)
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#- Pull-Up für PB0, PB4
|
||||
LDR r1, =GPIOB_PUPDR
|
||||
LDR r2, =0x00000303
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
LDR r2, =0x00000101 // 01 = Pull-Up für PB0 und PB4
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#--- button interrupt config
|
||||
|
||||
#- enable clock for SYSCFG module
|
||||
LDR r1, =RCC_APB2ENR
|
||||
MOVS r2, #0x01
|
||||
LDR r0, [r1, #0]
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#- connect GPIO pins to EXTI lines
|
||||
LDR r1, =SYSCFG_EXTICR1 // EXTI0 (PB0)
|
||||
LDR r2, =0x000F // Maske EXTI0 (Bits 3:0)
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
MOVS r2, #0x0001 // Port B (0001)
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
LDR r1, =SYSCFG_EXTICR2 // EXTI4 (PB4)
|
||||
LDR r2, =0x000F // Maske EXTI4 (Bits 3:0)
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
MOVS r2, #0x0001 // Port B (0001)
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#- configure EXTI lines (falling edge, unmask)
|
||||
LDR r1, =EXTI_FTSR1
|
||||
MOVS r2, #0x11 // Bit 0 (EXTI0) und Bit 4 (EXTI4)
|
||||
LDR r0, [r1, #0]
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
LDR r1, =EXTI_IMR1
|
||||
MOVS r2, #0x11 // Bit 0 und Bit 4
|
||||
LDR r0, [r1, #0]
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#- NVIC: enable interrupts EXTI0 (IRQ 6) & EXTI4 (IRQ 10)
|
||||
LDR r1, =NVIC_ISER0
|
||||
LDR r2, =0x00000440 // Bit 6 (EXTI0) und Bit 10 (EXTI4)
|
||||
LDR r0, [r1, #0]
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
#--- wachhalten während WFI
|
||||
LDR r1, =DBGMCU_CR
|
||||
LDR r0, [r1, #0]
|
||||
MOVS r2, #0x07 // Setzt DBG_SLEEP, DBG_STOP und DBG_STANDBY Bits
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
CPSIE i
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
.syntax unified
|
||||
.thumb
|
||||
.thumb_func
|
||||
.global main
|
||||
.type main, %function
|
||||
main:
|
||||
WFI
|
||||
B main
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
.syntax unified
|
||||
.thumb
|
||||
.thumb_func
|
||||
.global delay
|
||||
.type delay, %function
|
||||
delay:
|
||||
LDR r0, =106000
|
||||
.L1:
|
||||
SUBS r0, r0, #1
|
||||
BNE .L1
|
||||
BX lr
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
.global stop
|
||||
stop:
|
||||
NOP
|
||||
B stop
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
.lp1:
|
||||
.ltorg
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
.section .exhand,"ax"
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
.syntax unified
|
||||
.thumb
|
||||
.type _ISR_NMI, %function
|
||||
_ISR_NMI:
|
||||
LDR r1, =RCC_AHB2ENR
|
||||
MOV r2, #0x01
|
||||
LDR r0, [r1, #0]
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
LDR r1, =GPIOA_MODER
|
||||
MOVS r2, #0xFF
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
MOVS r2, #0x44
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
LDR r1, =GPIOA_ODR
|
||||
MOVS r2, #0x0A
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
B _ISR_NMI
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
.syntax unified
|
||||
.thumb
|
||||
.type _ISR_HARDF, %function
|
||||
_ISR_HARDF:
|
||||
LDR r1, =RCC_AHB2ENR
|
||||
MOV r2, #0x01
|
||||
LDR r0, [r1, #0]
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
LDR r1, =GPIOA_MODER
|
||||
MOVS r2, #0xFF
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
MOVS r2, #0x11
|
||||
ORRS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
LDR r1, =GPIOA_ODR
|
||||
MOVS r2, #0x05
|
||||
LDR r0, [r1, #0]
|
||||
BICS r0, r2
|
||||
STR r0, [r1, #0]
|
||||
|
||||
B _ISR_HARDF
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
.syntax unified
|
||||
.thumb
|
||||
.type _ISR_EXTI0, %function
|
||||
_ISR_EXTI0:
|
||||
PUSH {lr}
|
||||
|
||||
#--- Entprellen
|
||||
BL delay
|
||||
|
||||
#--- Überprüfen, ob Taster noch gedrückt ist (PB0)
|
||||
LDR r0, =GPIOB_IDR
|
||||
LDR r1, [r0, #0]
|
||||
MOVS r2, #0x01
|
||||
TST r1, r2
|
||||
BNE _clear_exti0
|
||||
|
||||
#--- LED0 & LED3 toggeln (1001 = 0x09)
|
||||
LDR r0, =GPIOA_ODR
|
||||
LDR r1, [r0, #0]
|
||||
MOVS r2, #0x09
|
||||
EORS r1, r2
|
||||
STR r1, [r0, #0]
|
||||
|
||||
_clear_exti0:
|
||||
#--- Interrupt Flag löschen
|
||||
LDR r0, =EXTI_PR1
|
||||
MOVS r1, #0x01
|
||||
STR r1, [r0, #0]
|
||||
|
||||
POP {pc}
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.align 2
|
||||
.syntax unified
|
||||
.thumb
|
||||
.type _ISR_EXTI4, %function
|
||||
_ISR_EXTI4:
|
||||
PUSH {lr}
|
||||
|
||||
#--- Entprellen
|
||||
BL delay
|
||||
|
||||
#--- Überprüfen, ob Taster noch gedrückt ist (PB4)
|
||||
LDR r0, =GPIOB_IDR
|
||||
LDR r1, [r0, #0]
|
||||
MOVS r2, #0x10
|
||||
TST r1, r2
|
||||
BNE _clear_exti4
|
||||
|
||||
#--- LED1 & LED2 toggeln (0110 = 0x06)
|
||||
LDR r0, =GPIOA_ODR
|
||||
LDR r1, [r0, #0]
|
||||
MOVS r2, #0x06
|
||||
EORS r1, r2
|
||||
STR r1, [r0, #0]
|
||||
|
||||
_clear_exti4:
|
||||
#--- Interrupt Flag löschen
|
||||
LDR r0, =EXTI_PR1
|
||||
MOVS r1, #0x10
|
||||
STR r1, [r0, #0]
|
||||
|
||||
POP {pc}
|
||||
|
||||
#----------------------------------------------------------------------------------------#
|
||||
.lp2:
|
||||
.ltorg
|
||||
#----------------------------------------------------------------------------------------#
|
||||
|
||||
.end
|
||||
hu
|
||||
+233
@@ -0,0 +1,233 @@
|
||||
/* ***************************************************************************************
|
||||
# Project: task3 - C: Timer & Interrupts
|
||||
# File: task3.s
|
||||
#
|
||||
# Language: C
|
||||
#
|
||||
# Hardware: STefi Light v1.1
|
||||
# Processor: STM32G431KBT6U
|
||||
#
|
||||
# Author: Manuel Lederhofer
|
||||
# Datum: 31.10.2014
|
||||
#
|
||||
# Version: 6.1
|
||||
# History:
|
||||
# 31.10.2014 ML create file
|
||||
# 27.09.2018 ML edit comments, extend vector table
|
||||
# 18.12.2018 ML port from MKL05Z32VLC4 to STM32L476RG
|
||||
# 27.02.2019 ML move section of exception handlers to bottom of file,
|
||||
# change ASM pseudo commands from .space to .org
|
||||
# 25.09.2019 ML minor changes for a better code and comment understanding
|
||||
# 04.09.2020 HL port from STM32L476RG to STM32F411xE
|
||||
# 21.09.2020 ML tidy up, comments and formatting
|
||||
# 29.09.2021 ML port from STM32F411xE to STM32F042K6T6
|
||||
# 09.03.2022 ML port from STM32F042K6T6 to STM32G431KBT6U
|
||||
# 17.02.2025 TK move ASM:Interrupts to task2, replace with C:Timer & Interrupts
|
||||
# 24.06.2025 TK remove "... put your code here ...", remove Systick
|
||||
|
||||
#
|
||||
# Status: working
|
||||
#
|
||||
# Description:
|
||||
# See the description and requirements of the requested application
|
||||
# in the lab exercise guide.
|
||||
#
|
||||
# Notes:
|
||||
# - MCU speed at startup is 16 MHz
|
||||
#
|
||||
# ToDo:
|
||||
# - Change the example code to match the description and requirements
|
||||
# of the requested application in the lab exercise guide.
|
||||
#
|
||||
#
|
||||
# Measurements:
|
||||
# Timers used :
|
||||
# Current with WFI :
|
||||
# Current without WFI :
|
||||
#
|
||||
************************************************************************************** */
|
||||
|
||||
/* ------------------------------------ INCLUDES -------------------------------------- */
|
||||
#include "stm32g431xx.h"
|
||||
#include "STefi-Light.h"
|
||||
|
||||
#define ROT_AN (GPIOA->BSRR = (1UL<<16))
|
||||
#define ROT_AUS (GPIOA->BSRR = (1UL<<0))
|
||||
#define GELB_AN (GPIOA->BSRR = (1UL<<17))
|
||||
#define GELB_AUS (GPIOA->BSRR = (1UL<<1))
|
||||
#define GRÜN_AN (GPIOA->BSRR = (1UL<<18))
|
||||
#define GRÜN_AUS (GPIOA->BSRR = (1UL<<2))
|
||||
#define BLAU_AN (GPIOA->BSRR = (1UL<<19))
|
||||
#define BLAU_AUS (GPIOA->BSRR = (1UL<<3))
|
||||
|
||||
/* ------------------------------------ DEFINES --------------------------------------- */
|
||||
/* ------------------------------------ TYPE DEFINITIONS ------------------------------ */
|
||||
/* ------------------------------------ GLOBAL VARIABLES ------------------------------ */
|
||||
volatile uint32_t timer_ticks = 0;
|
||||
volatile uint8_t ampel_aktiv = 0;
|
||||
volatile uint32_t lbp = 0;
|
||||
/* ------------------------------------ PRIVATE VARIABLES ----------------------------- */
|
||||
|
||||
|
||||
/* ------------------------------------ PROTOTYPES ------------------------------------ */
|
||||
static void GPIO_init(void);
|
||||
void Timer_init(void);
|
||||
void EXTI_init(void);
|
||||
|
||||
/* ------------------------------------ M A I N --------------------------------------- */
|
||||
int main(void)
|
||||
{
|
||||
/* --- initialization --- */
|
||||
__disable_irq(); // disable interrupts globally
|
||||
|
||||
GPIO_init();
|
||||
Timer_init();
|
||||
EXTI_init();
|
||||
|
||||
__enable_irq(); // enable interrupts globally
|
||||
|
||||
lbp = 0;
|
||||
|
||||
GRÜN_AN;
|
||||
ROT_AUS;
|
||||
GELB_AUS;
|
||||
BLAU_AUS;
|
||||
/* --- one time tasks --- */
|
||||
|
||||
|
||||
/* --- infinite processing loop --- */
|
||||
while (1){
|
||||
|
||||
__WFI();
|
||||
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------------ GLOBAL FUNCTIONS ------------------------------ */
|
||||
void EXTI_IRQHandler(void){
|
||||
if(EXTI->PR1 & EXTI_PR1_PIF0){
|
||||
EXTI->PR1 = EXTI_PR1_PIF0;
|
||||
|
||||
if((timer_ticks - lbp)> 200){
|
||||
lbp = timer_ticks;
|
||||
|
||||
if(ampel_aktiv == 0){
|
||||
timer_ticks = 0;
|
||||
ampel_aktiv=1;
|
||||
}
|
||||
}
|
||||
}
|
||||
TIM6_DAC_IRQHandler();
|
||||
}
|
||||
|
||||
|
||||
void TIM6_DAC_IRQHandler(void){
|
||||
if(TIM6->SR & (1<<0)){
|
||||
TIM6->SR &= ~(1U<<0);
|
||||
|
||||
timer_ticks++;
|
||||
|
||||
if(ampel_aktiv == 1){
|
||||
switch(timer_ticks){
|
||||
case 10000:
|
||||
GRÜN_AUS;
|
||||
GELB_AN;
|
||||
break;
|
||||
case 11000:
|
||||
GELB_AUS;
|
||||
ROT_AN;
|
||||
break;
|
||||
case 12000:
|
||||
break;
|
||||
case 27000:
|
||||
BLAU_AUS;
|
||||
GELB_AN;
|
||||
break;
|
||||
case 28000:
|
||||
ROT_AUS;
|
||||
GELB_AUS;
|
||||
GRÜN_AN;
|
||||
ampel_aktiv = 0;
|
||||
break;
|
||||
}
|
||||
if(timer_ticks >=12000 && timer_ticks < 27000){
|
||||
if(timer_ticks % 1000 == 0){
|
||||
BLAU_AN;
|
||||
}
|
||||
else if(timer_ticks % 1000 == 500){
|
||||
BLAU_AUS;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* ------------------------------------ PRIVATE FUNCTIONS ----------------------------- */
|
||||
|
||||
/* ------------------------------------------------------------------------------------ *\
|
||||
* method: static void GPIO_init(void)
|
||||
*
|
||||
* Initializes GPIOs on STefi Light for pins with peripherals attached.
|
||||
*
|
||||
* requires: - nothing -
|
||||
* parameters: - none -
|
||||
* returns: - nothing -
|
||||
\* ------------------------------------------------------------------------------------ */
|
||||
static void GPIO_init(void)
|
||||
{
|
||||
RCC->AHB2ENR |= RCC_AHB2ENR_GPIOAEN | RCC_AHB2ENR_GPIOBEN;
|
||||
|
||||
// LEDs PA0-PA3 Output (01)
|
||||
GPIOA->MODER &= ~(0xFF);
|
||||
GPIOA->MODER |= 0x55;
|
||||
|
||||
// Initial alle aus (Low-Active: 1 = AUS)
|
||||
GPIOA->ODR |= 0x0F;
|
||||
|
||||
// S0 (PB0) Input (00) mit Pull-Up (01)
|
||||
GPIOB->MODER &= ~(3 << 0);
|
||||
GPIOB->PUPDR |= (1 << 0);
|
||||
}
|
||||
|
||||
void Timer_init(void) {
|
||||
RCC->APB1ENR1 |= RCC_APB1ENR1_TIM6EN;
|
||||
|
||||
// 16MHz Systemtakt. 16MHz / 16 (PSC+1) = 1MHz.
|
||||
// Bei 1MHz sind 1000 Ticks (ARR+1) exakt 1 Millisekunde.
|
||||
TIM6->PSC = 15;
|
||||
TIM6->ARR = 999;
|
||||
TIM6->DIER |=(1<<0);
|
||||
NVIC_EnableIRQ(TIM6_DAC_IRQn);
|
||||
TIM6->CR1 |= (1<<0);
|
||||
}
|
||||
|
||||
void EXTI_init(void) {
|
||||
RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN;
|
||||
SYSCFG->EXTICR[0] = (SYSCFG->EXTICR[0] & ~(0xF)) | 0x1;
|
||||
EXTI->IMR1 |= (1<<0);
|
||||
EXTI->FTSR1 |= (1<<0);
|
||||
NVIC_EnableIRQ(EXTI0_IRQn);
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------------------ *\
|
||||
* method: static void SysTick_init(void)
|
||||
*
|
||||
* At system startup SysTick runs with 1 MHz down to 0.
|
||||
*
|
||||
* Register names differ in datasheets.
|
||||
* ST / CMSIS: ARM:
|
||||
* - SysTick->CALIB - STK_CALIB
|
||||
* - SysTick->CTRL - STK_CSR
|
||||
* - SysTick->LOAD - STK_RVR
|
||||
* - SysTick->VAL - STK_CVR
|
||||
*
|
||||
* requires: - nothing -
|
||||
* parameters: - none -
|
||||
* returns: - nothing -
|
||||
\* ------------------------------------------------------------------------------------ */
|
||||
|
||||
|
||||
|
||||
/* ************************************ E O F ***************************************** */
|
||||
-36
@@ -1,36 +0,0 @@
|
||||
/*
|
||||
* sketch.c
|
||||
*
|
||||
* Created on: Mar 18, 2026
|
||||
* Author: tobii
|
||||
*/
|
||||
int reihenfolge[6] = {0, 1, 2, 3, 2, 1};
|
||||
|
||||
int main(){
|
||||
while(1){
|
||||
while(/*schalter nicht gedrückt*/){}
|
||||
delay(10);
|
||||
while(/*schalter losgelassen*/){}
|
||||
delay(150);
|
||||
|
||||
int aktiv = 1;
|
||||
while(aktiv){
|
||||
for(int i; i < reihenfolge.length - 1 && aktiv = 1; i ++){
|
||||
//alle LED einschalten
|
||||
if(i = 0){/*alles bis auf LED0 auschalten*/}
|
||||
if(i = 1){/*..*/}
|
||||
//...
|
||||
for(int zähler = 0; zähler < 333 && aktiv == 1; zähler++){
|
||||
if(/*schalter gerückt*/){
|
||||
aktiv = 0;
|
||||
break;
|
||||
}
|
||||
else{
|
||||
delay(1);
|
||||
}
|
||||
}
|
||||
while(/*Taster gedrückt*/){}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,21 +1,12 @@
|
||||
StringVariablePreferencePage=184,154,153,122,
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.debug.ui.MemoryHistoryKnownColor=235,235,235
|
||||
org.eclipse.debug.ui.MemoryHistoryUnknownColor=170,175,185
|
||||
org.eclipse.debug.ui.MemoryView.orientation=0
|
||||
org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND=150,80,115
|
||||
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<launchPerspectives/>\n
|
||||
org.eclipse.debug.ui.changedDebugElement=255,128,128
|
||||
org.eclipse.debug.ui.consoleBackground=53,53,53
|
||||
org.eclipse.debug.ui.errorColor=225,30,70
|
||||
org.eclipse.debug.ui.inColor=140,175,210
|
||||
org.eclipse.debug.ui.outColor=235,235,235
|
||||
org.eclipse.debug.ui.save_dirty_editors_before_launch=always
|
||||
org.eclipse.debug.ui.switch_perspective_on_suspend=always
|
||||
org.eclipse.debug.ui.user_view_bindings=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<viewBindings>\n <view id\="org.eclipse.debug.ui.ExpressionView">\n <perspective id\="org.eclipse.debug.ui.DebugPerspective" userAction\="opened"/>\n </view>\n</viewBindings>\n
|
||||
overriddenByCSS=,org.eclipse.debug.ui.MemoryHistoryKnownColor,org.eclipse.debug.ui.MemoryHistoryUnknownColor,org.eclipse.debug.ui.PREF_CHANGED_VALUE_BACKGROUND,org.eclipse.debug.ui.changedDebugElement,org.eclipse.debug.ui.consoleBackground,org.eclipse.debug.ui.errorColor,org.eclipse.debug.ui.inColor,org.eclipse.debug.ui.outColor,
|
||||
pref_state_memento.org.eclipse.debug.ui.BreakpointView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.BreakpointView">\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="org.eclipse.debug.ui.check"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento>
|
||||
pref_state_memento.org.eclipse.debug.ui.DebugVieworg.eclipse.debug.ui.DebugView=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<DebugViewMemento org.eclipse.debug.ui.BREADCRUMB_DROPDOWN_AUTO_EXPAND\="false"/>
|
||||
pref_state_memento.org.eclipse.debug.ui.DebugVieworg.eclipse.debug.ui.DebugView=<?xml version\="1.0" encoding\="UTF-8"?>\n<DebugViewMemento org.eclipse.debug.ui.BREADCRUMB_DROPDOWN_AUTO_EXPAND\="false"/>
|
||||
pref_state_memento.org.eclipse.debug.ui.ExpressionView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.ExpressionView">\n<INTEGER IMemento.internal.id\="initialChildCountLimitForCollections" INTEGER\="100"/>\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="PRESENTATION_SHOW_LOGICAL_STRUCTURES"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento>
|
||||
pref_state_memento.org.eclipse.debug.ui.ModuleView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684"/>
|
||||
pref_state_memento.org.eclipse.debug.ui.RegisterView=<?xml version\="1.0" encoding\="UTF-8"?>\n<VariablesViewMemento org.eclipse.debug.ui.SASH_DETAILS_PART\="315" org.eclipse.debug.ui.SASH_VIEW_PART\="684">\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__DESCRIPTION" SIZE\="222"/>\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__NAME" SIZE\="222"/>\n<COLUMN_SIZES IMemento.internal.id\="org.eclipse.cdt.dsf.ui.COLUMN_ID__VALUE" SIZE\="222"/>\n<PRESENTATION_CONTEXT_PROPERTIES IMemento.internal.id\="org.eclipse.debug.ui.RegisterView">\n<STRING IMemento.internal.id\="CurrentNumericStyle" STRING\="HEX.Format"/>\n<PERSISTABLE IMemento.internal.id\="org.eclipse.cdt.dsf.ui.elementFormatPersistable" PERSISTABLE\="org.eclipse.cdt.dsf.ui.simpleMapPersistableFactory">\n<type>java.lang.String</type>\n</PERSISTABLE>\n<BOOLEAN BOOLEAN\="true" IMemento.internal.id\="PRESENTATION_SHOW_LOGICAL_STRUCTURES"/>\n</PRESENTATION_CONTEXT_PROPERTIES>\n</VariablesViewMemento>
|
||||
|
||||
+2
-1
@@ -1,13 +1,14 @@
|
||||
LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/arch=x86_64
|
||||
LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/name=Local
|
||||
LaunchTargetManager/org.eclipse.launchbar.core.launchTargetType.local,Local/os=win32
|
||||
configDescList=org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3 Debug,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task4,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2
|
||||
configDescList=org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task4,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2,org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3 Debug
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:A3_Timer/activeLaunchMode=run
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1/activeLaunchMode=run
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task1/activeLaunchTarget=null\:---
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2/activeLaunchMode=run
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task2/activeLaunchTarget=null\:---
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3\ Debug/activeLaunchMode=debug
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3/activeLaunchMode=run
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task3/activeLaunchTarget=null\:---
|
||||
org.eclipse.cdt.dsf.gdb.gdbRemotedescriptorType\:task4/activeLaunchMode=run
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
EXIT_PROMPT_ON_CLOSE_LAST_WINDOW=false
|
||||
IMPORT_FILES_AND_FOLDERS_RELATIVE=true
|
||||
IMPORT_FILES_AND_FOLDERS_TYPE=23,1
|
||||
eclipse.preferences.version=1
|
||||
platformState=1772304866322
|
||||
platformState=1772304866334
|
||||
quickStart=false
|
||||
tipsAndTricks=true
|
||||
|
||||
+12
-12
@@ -6,17 +6,17 @@ PLUGINS_NOT_ACTIVATED_ON_STARTUP=
|
||||
UIActivities.org.eclipse.cdt.debug.dsfgdbActivity=true
|
||||
eclipse.preferences.version=1
|
||||
editors=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<editors>\r\n<descriptor id\="org.eclipse.ui.browser.editorSupport" image\="$nl$/icons/obj16/internal_browser.png" internal\="false" label\="Web Browser" launcher\="org.eclipse.ui.internal.browser.BrowserLauncher" openMode\="4" open_in_place\="false" plugin\="org.eclipse.ui.browser"/>\r\n<descriptor class\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor" id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor" image\="icons/dts_icon.png" internal\="true" label\="Device Tree Editor" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.ide.mpu.linux.ide"/>\r\n<descriptor class\="com.st.stm32cube.common.mx.editor.CubeMxEditor" id\="com.st.stm32cube.common.mx.startCubeMx" image\="icons/MicroXplorer.png" internal\="true" label\="Device Configuration Tool" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.common.mx"/>\r\n<descriptor class\="com.st.stm32cube.ide.mcu.linker.ui.ui.editors.LDMultiEditorPart" id\="com.st.stm32cube.ide.mcu.ldeditor.ui.editors.LDPageEditor" image\="icons/ldscript_icon.png" internal\="true" label\="Linker Script Editor" openMode\="1" open_in_place\="false" plugin\="com.st.stm32cube.ide.mcu.linker"/>\r\n</editors>
|
||||
org.eclipse.cdt.debug.ui.ModulesDetailPaneFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.cdt.internal.ui.compare.AsmMergeViewer=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.cdt.internal.ui.compare.CMergeViewer=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.cdt.make.internal.ui.compare.MakefileMergeViewer=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.cdt.ui.buildconsole.ConsoleFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.cdt.ui.editors.textfont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.compare.contentmergeviewer.TextMergeViewer=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.debug.ui.DetailPaneFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.debug.ui.MemoryViewTableFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.debug.ui.consoleFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.jface.textfont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
org.eclipse.cdt.debug.ui.ModulesDetailPaneFont=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.cdt.internal.ui.compare.AsmMergeViewer=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.cdt.internal.ui.compare.CMergeViewer=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.cdt.make.internal.ui.compare.MakefileMergeViewer=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.cdt.ui.buildconsole.ConsoleFont=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.cdt.ui.editors.textfont=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.compare.contentmergeviewer.TextMergeViewer=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.debug.ui.DetailPaneFont=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.debug.ui.MemoryViewTableFont=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.debug.ui.consoleFont=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.jface.textfont=1|Consolas|14.0|0|GTK|1|;
|
||||
org.eclipse.ui.commands=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<org.eclipse.ui.commands>\r\n<keyBinding contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="CTRL+F11"/>\r\n<keyBinding commandId\="org.eclipse.ui.project.buildProject" contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="ALT+B"/>\r\n<keyBinding commandId\="org.eclipse.debug.ui.commands.RunLast" contextId\="org.eclipse.ui.contexts.window" keyConfigurationId\="org.eclipse.ui.defaultAcceleratorConfiguration" keySequence\="ALT+R"/>\r\n</org.eclipse.ui.commands>
|
||||
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=41,41,41
|
||||
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=43,44,45
|
||||
@@ -29,4 +29,4 @@ org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=59,64,66
|
||||
org.eclipse.ui.workbench.INACTIVE_TAB_TEXT_COLOR=187,187,187
|
||||
org.eclipse.ui.workbench.texteditor.blockSelectionModeFont=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
resourcetypes=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<editors version\="3.1">\r\n<info extension\="shtml" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="dtsi" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor"/>\r\n</info>\r\n<info extension\="dts" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mpu.linux.ide.editor.DTSEditor"/>\r\n</info>\r\n<info extension\="htm" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="html" name\="*">\r\n<editor id\="org.eclipse.ui.browser.editorSupport"/>\r\n</info>\r\n<info extension\="ioc" name\="*">\r\n<editor id\="com.st.stm32cube.common.mx.startCubeMx"/>\r\n</info>\r\n<info extension\="ld" name\="*">\r\n<editor id\="com.st.stm32cube.ide.mcu.ldeditor.ui.editors.LDPageEditor"/>\r\n</info>\r\n</editors>
|
||||
terminal.views.view.font.definition=1|Consolas|12.0|0|WINDOWS|1|-16|0|0|0|400|0|0|0|0|3|2|1|49|Consolas;
|
||||
terminal.views.view.font.definition=1|Consolas|14.0|0|GTK|1|;
|
||||
|
||||
@@ -2,14 +2,10 @@
|
||||
<launchHistory>
|
||||
<launchGroup id="org.eclipse.debug.ui.launchGroup.debug">
|
||||
<mruHistory>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task2/task2.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task1/task1.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task4/task4.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task3/task3 Debug.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task4/task4.launch"/> "/>
|
||||
</mruHistory>
|
||||
<favorites>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task1/task1.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task2/task2.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task4/task4.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task3/task3.launch"/> "/>
|
||||
</favorites>
|
||||
@@ -24,14 +20,10 @@
|
||||
</launchGroup>
|
||||
<launchGroup id="org.eclipse.debug.ui.launchGroup.run">
|
||||
<mruHistory>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task2/task2.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task1/task1.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task4/task4.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task3/task3 Debug.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task4/task4.launch"/> "/>
|
||||
</mruHistory>
|
||||
<favorites>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task1/task1.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task2/task2.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task4/task4.launch"/> "/>
|
||||
<launch memento="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <launchConfiguration local="false" path="/task3/task3.launch"/> "/>
|
||||
</favorites>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,35 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="org.eclipse.ui.texteditor.FindReplaceDialog">
|
||||
<item key="selection" value="r1"/>
|
||||
<item key="wrap" value="true"/>
|
||||
<item key="casesensitive" value="false"/>
|
||||
<item key="wholeword" value="false"/>
|
||||
<item key="incremental" value="false"/>
|
||||
<item key="isRegEx" value="false"/>
|
||||
<list key="findhistory">
|
||||
<item value="r1"/>
|
||||
<item value="4f f0 90 43"/>
|
||||
<item value="4f f0 "/>
|
||||
<item value="4f f0"/>
|
||||
<item value="f04f"/>
|
||||
<item value="4ff0 9043"/>
|
||||
<item value="4ff0"/>
|
||||
<item value="Measurements:"/>
|
||||
<item value="/* ... place your code here ... */"/>
|
||||
<item value="/* ... put your code here ... */"/>
|
||||
<item value="task1"/>
|
||||
</list>
|
||||
<list key="replacehistory">
|
||||
<item value=""/>
|
||||
<item value="task3"/>
|
||||
</list>
|
||||
</section>
|
||||
<section name="org.eclipse.ui.texteditor.FindReplaceDialog_dialogBounds">
|
||||
<item key="DIALOG_X_ORIGIN" value="1353"/>
|
||||
<item key="DIALOG_Y_ORIGIN" value="470"/>
|
||||
<item key="DIALOG_WIDTH" value="322"/>
|
||||
<item key="DIALOG_HEIGHT" value="391"/>
|
||||
<item key="DIALOG_FONT_NAME" value="1|Segoe UI|9.0|0|WINDOWS|1|-12|0|0|0|400|0|0|0|1|0|0|0|0|Segoe UI"/>
|
||||
</section>
|
||||
</section>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="org.eclipse.ui.texteditor.FindReplaceDialog">
|
||||
<item key="selection" value="RCC_AHB2ENR"/>
|
||||
<item key="wrap" value="true"/>
|
||||
<item key="casesensitive" value="false"/>
|
||||
<item key="wholeword" value="false"/>
|
||||
<item key="incremental" value="false"/>
|
||||
<item key="isRegEx" value="false"/>
|
||||
<list key="findhistory">
|
||||
<item value="RCC_AHB2ENR"/>
|
||||
<item value="RCC"/>
|
||||
<item value="r1"/>
|
||||
<item value="4f f0 90 43"/>
|
||||
<item value="4f f0 "/>
|
||||
<item value="4f f0"/>
|
||||
<item value="f04f"/>
|
||||
<item value="4ff0 9043"/>
|
||||
<item value="4ff0"/>
|
||||
<item value="Measurements:"/>
|
||||
<item value="/* ... place your code here ... */"/>
|
||||
<item value="/* ... put your code here ... */"/>
|
||||
<item value="task1"/>
|
||||
</list>
|
||||
<list key="replacehistory">
|
||||
<item value=""/>
|
||||
<item value="task3"/>
|
||||
</list>
|
||||
</section>
|
||||
<section name="org.eclipse.ui.texteditor.FindReplaceDialog_dialogBounds">
|
||||
<item key="DIALOG_X_ORIGIN" value="1353"/>
|
||||
<item key="DIALOG_Y_ORIGIN" value="470"/>
|
||||
<item key="DIALOG_WIDTH" value="453"/>
|
||||
<item key="DIALOG_HEIGHT" value="494"/>
|
||||
<item key="DIALOG_FONT_NAME" value="1|Noto Sans|10.0|0|GTK|1|"/>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user