Compare commits

..
2 Commits
Author SHA1 Message Date
robert 15826682ac add: file for ci
continuous-integration/drone/push Build is passing
Signed-off-by: Nicolas Robert <nicolas.robert@epita.fr>
2021-11-05 05:17:23 +01:00
robert 609322eb36 fix: refacto architecture
Signed-off-by: Nicolas Robert <nicolas.robert@epita.fr>
2021-11-05 05:16:23 +01:00
4 changed files with 13 additions and 4 deletions

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
kind: pipeline
name: build
steps:
- name: build
image: stronglytyped/arm-none-eabi-gcc
commands:
- make
+5 -4
View File
@@ -1,7 +1,8 @@
CC=arm-none-eabi-gcc
OBJCOPY=arm-none-eabi-objcopy
LDS=test.lds
SRC=src/test.c
LDS=src/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
@@ -9,10 +10,10 @@ LDFLAGS=-nostartfiles -Wl,-gc-sections -T$(LDS) -L. --specs=nano.specs
all: test.bin
test.o: test.c
$(CC) $(CFLAGS) -c test.o test.c
test.o: $(SRC)
$(CC) $(CFLAGS) -c -o $@ $<
test.elf: test.o test.lds
test.elf: test.o $(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.