Compare commits

..
0 Commits
4 changed files with 4 additions and 13 deletions

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
kind: pipeline
name: build
steps:
- name: build
image: stronglytyped/arm-none-eabi-gcc
commands:
- make
+4 -5
View File
@@ -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
View File
File renamed without changes.
View File
File renamed without changes.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.