Add NBD-based UF2 file server

This commit is contained in:
Michal Moskal
2017-07-25 11:51:51 +01:00
parent 46b78a6b27
commit a159e2a668
6 changed files with 1183 additions and 0 deletions

6
brick/uf2daemon/Makefile Normal file
View File

@ -0,0 +1,6 @@
CFLAGS = -std=c99 -W -Wall
SRC = main.c fat.c
all:
gcc -DX86=1 -g $(CFLAGS) $(SRC) -o server86
arm-none-linux-gnueabi-gcc -Os -s $(CFLAGS) $(SRC) -o server