Commit 1248ce54 authored by Erik Strand's avatar Erik Strand
Browse files

Try to use a static library

Fails the same way that cmake does...
parent 42d7479a
......@@ -8,5 +8,8 @@ arm-none-eabi-gcc -x c -Os -ffunction-sections -Wall -c -std=gnu99 -mthumb -mabi
Building file: samd51/startup/system_samd51.c
arm-none-eabi-gcc -x c -Os -ffunction-sections -Wall -c -std=gnu99 -mthumb -mabi=aapcs-linux -mlong-calls -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DSAMD51 -D__SAMD51J19A__ -I"samd51" -I"samd51/CMSIS/Include" -I"samd51/include" -I"samd51/startup" -MD -MP -MF "build/system_samd51.d" -MT"build/system_samd51.d" -MT"build/system_samd51.o" -o "build/system_samd51.o" "samd51/startup/system_samd51.c"
arm-none-eabi-ar rc build/libasf.a build/startup_samd51.o build/system_samd51.o
arm-none-eabi-ranlib build/libasf.a
Building target: main.elf
arm-none-eabi-gcc -o build/main.elf build/main.o build/startup_samd51.o build/system_samd51.o -Wl,--start-group -lm -Wl,--end-group -mthumb -mabi=aapcs-linux -mlong-calls -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DSAMD51 -Wl,-Map="main.map" --specs=nano.specs -Wl,--gc-sections -T"samd51/startup/samd51j19a_flash.ld" -L"samd51/startup"
arm-none-eabi-gcc -o build/main.elf build/main.o build/libasf.a -Wl,--start-group -lm -Wl,--end-group -mthumb -mabi=aapcs-linux -mlong-calls -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -DSAMD51 -Wl,-Map="main.map" --specs=nano.specs -Wl,--gc-sections -T"samd51/startup/samd51j19a_flash.ld"
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment