Compare commits
2 Commits
9a7487104a
...
master
Author | SHA1 | Date | |
---|---|---|---|
8d91f1fc88 | |||
cf1354bf8d |
1
makefile
1
makefile
@@ -14,6 +14,7 @@ SRCS=src/*.cpp test/main.cpp lib/*/src/*.cpp
|
||||
default: build flash
|
||||
|
||||
build:
|
||||
mkdir -p bin
|
||||
${CC} ${CFLAGS} -o bin/${TARGET}.bin ${SRCS}
|
||||
${CC} ${CFLAGS} -o bin/${TARGET}.elf ${SRCS}
|
||||
${OBJCOPY} -j .text -j .data -O ihex bin/${TARGET}.bin bin/${TARGET}.hex
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#include "spi.h"
|
||||
#include "rc522.h"
|
||||
#include "mfrc522.h"
|
||||
|
||||
///////////////////////////////////////////////////////////
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "../src/rc522.h"
|
||||
#include "../src/mfrc522.h"
|
||||
#include <avr/io.h>
|
||||
#include "../lib/usart/src/usart.h"
|
||||
#include "string.h"
|
||||
|
Reference in New Issue
Block a user