#FL-303 fix for some spi bugs, test app for sd-nfc interconnection (#247)

* sd-nfc test app

* do not hold spi in disable mode

* disable pullups in nfc chip
This commit is contained in:
DrZlo13
2020-11-18 16:01:25 +03:00
committed by GitHub
parent 9bbc8fafe5
commit 27ae2a8fa9
5 changed files with 225 additions and 16 deletions

View File

@@ -279,9 +279,19 @@ endif
BUILD_IBUTTON ?= 0
ifeq ($(BUILD_IBUTTON), 1)
CFLAGS += -DBUILD_IBUTTON
CPP_SOURCES += $(wildcard $(APP_DIR)/ibutton/ibutton.cpp)
CPP_SOURCES += $(APP_DIR)/ibutton/ibutton.cpp
endif
APP_SDNFC ?= 0
ifeq ($(APP_SDNFC), 1)
CFLAGS += -DAPP_SDNFC
BUILD_SDNFC = 1
endif
BUILD_SDNFC ?= 0
ifeq ($(BUILD_SDNFC), 1)
CFLAGS += -DBUILD_SDNFC
CPP_SOURCES += $(APP_DIR)/sdnfc/sdnfc.cpp
endif
# device drivers
APP_GUI ?= 0