mbedtls extract CDI key, ROM functions complete.

This commit is contained in:
atul.jha
2020-06-18 17:44:00 +05:30
parent 3fb14de7ab
commit 338800c03c
93 changed files with 35351 additions and 0 deletions

23
trial2/src/makefile2 Normal file
View File

@@ -0,0 +1,23 @@
CC=gcc
IDIR=./include
LDIR=./lib
ODIR=./out
_DEPS = layer2.h layer1.h
DEPS = $(pathsbst %,(IDIR)/%,%(_DEPS))
CFLAGS= -I. -T$(IDIR)
.PHONY: all debug clean
all: main.c layer1.c
${CC} -o $(ODIR)/main main.c functions.c ROMfunctions.c -lssl -lcrypto
debug:
${CC} -g -o $(ODIR)/dbg-main main.c functions.c ROMfunctions.c -lssl -lcrypto
clean:
rm -r $(ODIR)/*
rm -r ./keys/*