Compare commits

..

No commits in common. "15826682acd4ba53c2fb2c72e62e765e04098888" and "a43b77cb6206625f20f864386acdd0b4c6d0c730" have entirely different histories.

4 changed files with 4 additions and 13 deletions

@ -1,8 +0,0 @@
kind: pipeline
name: build
steps:
- name: build
image: stronglytyped/arm-none-eabi-gcc
commands:
- make

@ -1,8 +1,7 @@
CC=arm-none-eabi-gcc
OBJCOPY=arm-none-eabi-objcopy
SRC=src/test.c
LDS=src/test.lds
LDS=test.lds
OPTI=-O0
CFLAGS= $(OPTI) -g -gdwarf-2 -mthumb -fno-builtin -mcpu=cortex-m4 -Wall -std=c99 -ffunction-sections -fdata-sections -mabi=aapcs -fno-unroll-loops -ffast-math -ftree-vectorize -fverbose-asm
@ -10,10 +9,10 @@ LDFLAGS=-nostartfiles -Wl,-gc-sections -T$(LDS) -L. --specs=nano.specs
all: test.bin
test.o: $(SRC)
$(CC) $(CFLAGS) -c -o $@ $<
test.o: test.c
$(CC) $(CFLAGS) -c test.o test.c
test.elf: test.o $(LDS)
test.elf: test.o test.lds
$(CC) $(LDFLAGS) test.o -o test.elf
test.bin: test.elf