2016-08-19 00:13:41 +02:00
|
|
|
include user.cfg
|
|
|
|
include esp82xx/common.mf
|
|
|
|
include esp82xx/main.mf
|
2016-08-03 16:27:10 +02:00
|
|
|
|
2016-08-19 00:13:41 +02:00
|
|
|
SRCS += user/ws2812_i2s.c \
|
2015-07-27 09:34:00 +02:00
|
|
|
user/hpatimer.c \
|
2016-08-19 00:13:41 +02:00
|
|
|
user/adc.c \
|
2015-07-27 09:34:00 +02:00
|
|
|
../embeddedcommon/DFT32.c \
|
|
|
|
../embeddedcommon/embeddednf.c \
|
2016-08-19 00:13:41 +02:00
|
|
|
../embeddedcommon/embeddedout.c
|
2016-08-14 18:50:55 +02:00
|
|
|
|
2016-08-19 00:13:41 +02:00
|
|
|
LDFLAGS_CORE += -Wl,-Map,output.map
|
2015-06-04 07:51:24 +02:00
|
|
|
|
2016-08-19 15:19:26 +02:00
|
|
|
|
|
|
|
#Useful git commands
|
2016-08-20 04:46:50 +02:00
|
|
|
ifndef TARGET
|
|
|
|
# Fetch submodule if the user forgot to clone with `--recursive`
|
|
|
|
GETSUBMODS = all burn burnweb netweb netburn clean cleanall purge
|
|
|
|
.PHONY : $(GETSUBMODS)
|
|
|
|
$(GETSUBMODS) :
|
|
|
|
$(warning Submodule esp82xx was not fetched. Trying it now.)
|
|
|
|
git submodule update --init --recursive
|
|
|
|
$(info Re-unning make...)
|
|
|
|
make $@ $(MFLAGS) $(MAKEOVERRIDES)
|
|
|
|
endif
|