kanflo / opendps

Give your DPS5005 the upgrade it deserves

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resolve strange sourcecode include

Xenoamor opened this issue · comments

I think this one is fairly self explanatory

// Need to find a way for the libopencm3 make system to include files outside of current directory
#include "../opendps/protocol.c"
#include "../opendps/uframe.c"
#include "../opendps/crc16.c"
#include "../opendps/bootcom.c"
#include "../opendps/flashlock.c"
#include "../opendps/past.c"
#include "../opendps/ringbuf.c"
#include "../opendps/tick.c"

Yup, that file is not one of my proudest moments ;)