Compare commits
0
Commits
master
..
a43b77cb62
No files matched your search
@@ -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
|
CC=arm-none-eabi-gcc
|
||||||
OBJCOPY=arm-none-eabi-objcopy
|
OBJCOPY=arm-none-eabi-objcopy
|
||||||
|
|
||||||
SRC=src/test.c
|
LDS=test.lds
|
||||||
LDS=src/test.lds
|
|
||||||
|
|
||||||
OPTI=-O0
|
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
|
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
|
all: test.bin
|
||||||
|
|
||||||
test.o: $(SRC)
|
test.o: test.c
|
||||||
$(CC) $(CFLAGS) -c -o $@ $<
|
$(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
|
$(CC) $(LDFLAGS) test.o -o test.elf
|
||||||
|
|
||||||
test.bin: test.elf
|
test.bin: test.elf
|
||||||
File renamed without changes.
File renamed without changes.