IR transmit example (#180)
* DWT-based microsecond delay * simple ir app (work only with NEC protocol and predefined address - command) * remove space from file name, add delay_us_init_DWT header * float-based delay us * init tim2 by CubeMX * fix simple pwm functions * simple pwm timer based ir nec protocol * ir gui test app Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
@@ -10,6 +10,7 @@ APP_RELEASE ?= 0
|
||||
ifeq ($(APP_RELEASE), 1)
|
||||
APP_MENU = 1
|
||||
APP_NFC = 1
|
||||
BUILD_IRDA = 1
|
||||
BUILD_EXAMPLE_BLINK = 1
|
||||
BUILD_EXAMPLE_UART_WRITE = 1
|
||||
BUILD_EXAMPLE_INPUT_DUMP = 1
|
||||
@@ -142,6 +143,19 @@ APP_INPUT = 1
|
||||
APP_GUI = 1
|
||||
endif
|
||||
|
||||
APP_IRDA?= 0
|
||||
ifeq ($(APP_IRDA), 1)
|
||||
CFLAGS += -DAPP_IRDA
|
||||
BUILD_IRDA = 1
|
||||
endif
|
||||
BUILD_IRDA ?= 0
|
||||
ifeq ($(BUILD_IRDA), 1)
|
||||
CFLAGS += -DBUILD_IRDA
|
||||
C_SOURCES += $(wildcard $(APP_DIR)/irda/*.c)
|
||||
APP_INPUT = 1
|
||||
APP_GUI = 1
|
||||
endif
|
||||
|
||||
# device drivers
|
||||
|
||||
APP_GUI ?= 0
|
||||
|
||||
Reference in New Issue
Block a user