41 lines
2.7 KiB
Plaintext
41 lines
2.7 KiB
Plaintext
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 Failed. 9 errors, 3 warnings. (took 171ms)
|
|
|