Programowanie ARM z GCC w Code::Blocks

0

Chciałbym skompilować kod projektu ARM pod CB.
http://roboty.utp.edu.pl/?page_id=80
Robię tak jak w instrukcji z tym, że nie używam Cocox tylko CB,
czyli instaluje CB i GCCARM, podaje scieżke.
Kod jest też ściągnięty (program podstawowy) więc powinien się kompilować a jednak mam serie błędów.
== Build: Debug in BOB Project (compiler: GNU GCC Compiler for ARM) ===

/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB project/BOB Project/cmsis_boot/stm32f10x.h|96|error: #error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"|
sumolib/usart.c||In function 'usartInit':|
sumolib/usart.c|47|error: 'USART1_IRQn' undeclared (first use in this function)|
sumolib/usart.c|47|note: each undeclared identifier is reported only once for each function it appears in|
sumolib/rprintf.c||In function 'rsscanf':|
sumolib/rprintf.c|398|warning: assignment makes integer from pointer without a cast [-Wint-conversion]|
sumolib/timer.c|30|error: conflicting type qualifiers for 'tickCounter'|
sumolib/util.c|13|note: previous definition of 'tickCounter' was here|
sumolib/timer.c||In function 'timerInit':|
sumolib/timer.c|39|error: 'TIM1_UP_IRQn' undeclared (first use in this function)|
sumolib/motor.c|14|warning: "_PWM_PRESCALLER" redefined|
sumolib/servo.c|13|note: this is the location of the previous definition|
sumolib/motor.c|16|warning: "_PWM_PERIOD" redefined|
sumolib/servo.c|15|note: this is the location of the previous definition|
sumolib/motor.c|53|error: conflicting type qualifiers for 'tickCounter'|
sumolib/util.c|13|note: previous definition of 'tickCounter' was here|
== Build failed: 5 error(s), 3 warning(s) (0 minute(s), 0 second(s)) ===

Wszystkie pliki, których używam są dostępne na stronie, którą podałem.
W sumie nie wiem gdzie jest błąd, możliwe, że czegoś nie do-linkowałem albo coś ale sam nie wiem, jakby ktoś mógł pomóc to byłbym wdzięczny.

1

Wszystko Ci pisze w w logu kompilacji. Najważniejsza linia to:

#error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
 

W opcjach kompilatora powinieneś zdefiniowac procesor którego chcesz użyć (-DSTM32F103RB) oraz rodzinę (-DSTM32F10X_MD). Do tego procka powinieneś mieć jeszcze skrypt linkera z odpowiednim layoutem pamięci tego procesora.

0

Zdefiniować to co mówiłeś i jest mniej błędów ale najpierw.
Skąd wiedziałeś co trzeba zdefiniować? Pytam bo nie wiem, gdzie to pisze, pytam bo wtedy na przyszłość będę wiedział gdzie szukać.

Do tego procka powinieneś mieć jeszcze skrypt linkera z odpowiednim layoutem pamięci tego procesora.

Szczerze nie wiem o co chodzi? To jest konieczne? Jeśli tak to gdzie to znaleźć? Mówię, wszystko co mam jest w linku, który podałem.
W paczce z kodem jest projekt Cocoxa (CoIDE) - http://www.coocox.org/software.html - i może tam coś takiego było ale w CB? W sumie nie wiem gdzie szukać tego layautu pamięci.

A i są dalej błędy z tym że mniej po tym jak dodałem definicje.
== Build: Debug in BOB Project (compiler: GNU GCC Compiler for ARM) ===

sumolib/rprintf.c||In function 'rsscanf':|
sumolib/rprintf.c|398|warning: assignment makes integer from pointer without a cast [-Wint-conversion]|
sumolib/timer.c|30|error: conflicting type qualifiers for 'tickCounter'|
sumolib/util.c|13|note: previous definition of 'tickCounter' was here|
sumolib/motor.c|14|warning: "_PWM_PRESCALLER" redefined|
sumolib/servo.c|13|note: this is the location of the previous definition|
sumolib/motor.c|16|warning: "_PWM_PERIOD" redefined|
sumolib/servo.c|15|note: this is the location of the previous definition|
sumolib/motor.c|53|error: conflicting type qualifiers for 'tickCounter'|
sumolib/util.c|13|note: previous definition of 'tickCounter' was here|
== Build failed: 2 error(s), 3 warning(s) (0 minute(s), 2 second(s)) ===

Może mają związek z tym layautem pamięci ale nie wiem.
Tak szczerze jest nieobyty w tematach ARM i ogolenie mikrokontrolerach.

0

Zobacz sobie zawartość pliku minisumo.cproj:

 
          <Define name="STM32F103RB"/>
          <Define name="STM32F10X_MD"/>
          <Define name="USE_STDPERIPH_DRIVER"/>
          <Define name="__ASSEMBLY__"/>

Nawet jeżeli Ci się to skompiluje to nie zadziała bez odpowiedniego linkowania. Do tego potrzebujesz odpowiedniego skryptu aby plik wynikowy paskwał do rzeczywistych adresów w procesorze. To pod jakim adresem jest pamięć FLASH i RAM w tym mikrokontrolerze zawiera datasheet. Będzie Ci łatwiej skorzystać z CoIDE jeżeli jesteś początkujący.

0

CoIDE nie jest na Linuxa (chyba że o czymś nie wiem).
A skąd CoIDE ma taki plik? Jest wbudowany?

0

Przepraszam ale nie mogę edytować postu...

Poza tym te błędy (chyba) nie są związane z tym lauaytem pamięci...
Może chodzi o wersje kompilatora? Bo w instrukcji jest 4.7 a ja mam 5.2...?
Bo te błędy są plikach, które dołączam do projektu, od organizatorów.

0

W suie jest pewien progres tzn wszystko mam zalinkowane i dołączone a mimo to mam to:
== Build: Release in BOB (compiler: GNU GCC Compiler for ARM) ===

/tmp/ccxJDCb9.s|164|Error: selected processor does not support `it lt' in Thumb mode|
/tmp/ccxJDCb9.s|165|Error: Thumb does not support conditional execution|
== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===

Błędy występują na Linuksie i Windowsie...

0

Dodaj do kompilatora flagę: -mcpu=cortex-m3 -mthumb

0

Dzięki za odpowiedź.
Wstawiłem i już zaczął kompilować i im dłużej to robił tym bardziej maiłem nadzieje, że to już po wszystkim no ale nie może być za easy i mam błędy w stylu "undefinedt refrecnce". Z tego co się orientuje to oznaczają one że nie wszystko mam za linkowane do projektu... Nie wiem, jutro jeszcze raz przejże plik konfiguracyjny cocox'a i zobaczę czego nie mam.
Wklejam błędy jakby co.

-------------- Clean: Debug in BOB (compiler: GNU GCC Compiler for ARM)---------------

Cleaned "BOB - Debug"

-------------- Build: Debug in BOB (compiler: GNU GCC Compiler for ARM)---------------

arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c cmsis_boot/startup/startup_stm32f10x_md.c -o obj/Debug/cmsis_boot/startup/startup_stm32f10x_md.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c cmsis_boot/system_stm32f10x.c -o obj/Debug/cmsis_boot/system_stm32f10x.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c main.c -o obj/Debug/main.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c stm_lib/src/misc.c -o obj/Debug/stm_lib/src/misc.o
stm_lib/src/misc.c: In function 'NVIC_PriorityGroupConfig':
stm_lib/src/misc.c3: warning: implicit declaration of function 'assert_param' [-Wimplicit-function-declaration]
assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup));
^
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c stm_lib/src/stm32f10x_adc.c -o obj/Debug/stm_lib/src/stm32f10x_adc.o
stm_lib/src/stm32f10x_adc.c: In function 'ADC_DeInit':
stm_lib/src/stm32f10x_adc.c3: warning: implicit declaration of function 'assert_param' [-Wimplicit-function-declaration]
assert_param(IS_ADC_ALL_PERIPH(ADCx));
^
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c stm_lib/src/stm32f10x_dma.c -o obj/Debug/stm_lib/src/stm32f10x_dma.o
stm_lib/src/stm32f10x_dma.c: In function 'DMA_DeInit':
stm_lib/src/stm32f10x_dma.c3: warning: implicit declaration of function 'assert_param' [-Wimplicit-function-declaration]
assert_param(IS_DMA_ALL_PERIPH(DMAy_Channelx));
^
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c stm_lib/src/stm32f10x_gpio.c -o obj/Debug/stm_lib/src/stm32f10x_gpio.o
stm_lib/src/stm32f10x_gpio.c: In function 'GPIO_DeInit':
stm_lib/src/stm32f10x_gpio.c3: warning: implicit declaration of function 'assert_param' [-Wimplicit-function-declaration]
assert_param(IS_GPIO_ALL_PERIPH(GPIOx));
^
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c stm_lib/src/stm32f10x_rcc.c -o obj/Debug/stm_lib/src/stm32f10x_rcc.o
stm_lib/src/stm32f10x_rcc.c: In function 'RCC_HSEConfig':
stm_lib/src/stm32f10x_rcc.c3: warning: implicit declaration of function 'assert_param' [-Wimplicit-function-declaration]
assert_param(IS_RCC_HSE(RCC_HSE));
^
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c stm_lib/src/stm32f10x_tim.c -o obj/Debug/stm_lib/src/stm32f10x_tim.o
stm_lib/src/stm32f10x_tim.c: In function 'TIM_DeInit':
stm_lib/src/stm32f10x_tim.c3: warning: implicit declaration of function 'assert_param' [-Wimplicit-function-declaration]
assert_param(IS_TIM_ALL_PERIPH(TIMx));
^
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c stm_lib/src/stm32f10x_usart.c -o obj/Debug/stm_lib/src/stm32f10x_usart.o
stm_lib/src/stm32f10x_usart.c: In function 'USART_DeInit':
stm_lib/src/stm32f10x_usart.c3: warning: implicit declaration of function 'assert_param' [-Wimplicit-function-declaration]
assert_param(IS_USART_ALL_PERIPH(USARTx));
^
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c sumolib/led.c -o obj/Debug/sumolib/led.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c sumolib/motor.c -o obj/Debug/sumolib/motor.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c sumolib/rprintf.c -o obj/Debug/sumolib/rprintf.o
sumolib/rprintf.c: In function 'rsscanf':
sumolib/rprintf.c11: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
*sval = NULL;
^
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c sumolib/sensor.c -o obj/Debug/sumolib/sensor.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c sumolib/servo.c -o obj/Debug/sumolib/servo.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c sumolib/timer.c -o obj/Debug/sumolib/timer.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c sumolib/usart.c -o obj/Debug/sumolib/usart.o
arm-none-eabi-gcc -mcpu=cortex-m3 -Wall -mcpu=cortex-m3 -mthumb -DSTM32F103RB -DSTM32F10X_MD -g -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/inc" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/sumolib" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project" -I"/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src" -c sumolib/util.c -o obj/Debug/sumolib/util.o
arm-none-eabi-g++ -o bin/Debug/BOB obj/Debug/cmsis_boot/startup/startup_stm32f10x_md.o obj/Debug/cmsis_boot/system_stm32f10x.o obj/Debug/main.o obj/Debug/stm_lib/src/misc.o obj/Debug/stm_lib/src/stm32f10x_adc.o obj/Debug/stm_lib/src/stm32f10x_dma.o obj/Debug/stm_lib/src/stm32f10x_gpio.o obj/Debug/stm_lib/src/stm32f10x_rcc.o obj/Debug/stm_lib/src/stm32f10x_tim.o obj/Debug/stm_lib/src/stm32f10x_usart.o obj/Debug/sumolib/led.o obj/Debug/sumolib/motor.o obj/Debug/sumolib/rprintf.o obj/Debug/sumolib/sensor.o obj/Debug/sumolib/servo.o obj/Debug/sumolib/timer.o obj/Debug/sumolib/usart.o obj/Debug/sumolib/util.o
/home/kacper/Dokumenty/CodeBlocks/Projekty/gcc-arm-none-eabi-5_2-2015q4/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/lib/libc.a(lib_a-exit.o): In function exit': exit.c:(.text.exit+0x2c): undefined reference to _exit'
obj/Debug/cmsis_boot/startup/startup_stm32f10x_md.o: In function Default_Reset_Handler': /home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot/startup/startup_stm32f10x_md.c:215: undefined reference to _sidata'
/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot/startup/startup_stm32f10x_md.c undefined reference to _sdata' obj/Debug/cmsis_boot/startup/startup_stm32f10x_md.o: In function USBWakeUp_IRQHandler':
/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot/startup/startup_stm32f10x_md.c undefined reference to _sbss' /home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/cmsis_boot/startup/startup_stm32f10x_md.c:289: undefined reference to _ebss'
obj/Debug/stm_lib/src/misc.o: In function NVIC_PriorityGroupConfig': /home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src/misc.c:99: undefined reference to assert_param'
obj/Debug/stm_lib/src/misc.o: In function NVIC_Init': /home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src/misc.c:117: undefined reference to assert_param'
/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src/misc.c undefined reference to assert_param' /home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src/misc.c:119: undefined reference to assert_param'
obj/Debug/stm_lib/src/misc.o: In function NVIC_SetVectorTable': /home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src/misc.c:159: undefined reference to assert_param'
obj/Debug/stm_lib/src/misc.o:/home/kacper/Dokumenty/CodeBlocks/Projekty/BOB Project/stm_lib/src/misc.c more undefined references to `assert_param' follow
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 4 second(s))
11 error(s), 8 warning(s) (0 minute(s), 4 second(s))

1 użytkowników online, w tym zalogowanych: 0, gości: 1