FL-103 Gpio test (#236)

* fail build
* add gpio tester
This commit is contained in:
coreglitch
2020-11-14 16:08:07 +06:00
committed by GitHub
parent a61eef0f99
commit afcfcd4d4a
3 changed files with 153 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ BUILD_CC1101 = 1
BUILD_LF_RFID = 1
BUILD_SPEAKER_DEMO = 1
BUILD_VIBRO_DEMO = 1
BUILD_GPIO_DEMO = 1
endif
APP_NFC ?= 0
@@ -212,6 +213,17 @@ C_SOURCES += $(wildcard $(APP_DIR)/examples/vibro.c)
APP_INPUT = 1
endif
APP_GPIO_DEMO ?= 0
ifeq ($(APP_GPIO_DEMO), 1)
CFLAGS += -DAPP_GPIO_DEMO
BUILD_GPIO_DEMO = 1
endif
BUILD_GPIO_DEMO ?= 0
ifeq ($(BUILD_GPIO_DEMO), 1)
CFLAGS += -DBUILD_GPIO_DEMO
C_SOURCES += $(wildcard $(APP_DIR)/gpio-tester/*.c)
endif
# device drivers
APP_GUI ?= 0