Blink f1 (#50)

* Fix target_f1 build

* restore build for F1 target

* change default LED pin state

* add real hw gif

Co-authored-by: Vadim Kaushan <admin@disasm.info>
This commit is contained in:
coreglitch
2020-08-26 14:43:18 +06:00
committed by GitHub
parent e7aa6caf0e
commit ab07bfb104
12 changed files with 134 additions and 62 deletions

View File

@@ -19,27 +19,25 @@ BUILD_DIR = build
######################################
# source
######################################
# C sources
C_SOURCES = \
Src/main.c
C_SOURCES =
CPP_SOURCES =
C_DEFS =
CPP_SOURCES = ../core/app.cpp
# Target
# Core
C_SOURCES += ../core/debug.c
C_SOURCES += ../core/furi.c
C_SOURCES += ../core/furi_ac.c
C_SOURCES += Src/main.c
C_SOURCES += Src/flipper_hal.c
C_SOURCES += Src/lo_os.c
C_SOURCES += Src/lo_hal.c
# C defines
C_DEFS = \
-DUSE_HAL_DRIVER \
-DSTM32L476xx \
-DBUTON_INVERT=false \
-DDEBUG_UART=huart1
C_DEFS += -DFURI_DEBUG
# Core
CPP_SOURCES += ../core/app.cpp
C_SOURCES += ../core/debug.c
C_SOURCES += ../core/furi.c
C_SOURCES += ../core/furi_ac.c
# System applications
@@ -50,13 +48,17 @@ C_SOURCES += ../applications/tests/test_index.c
C_DEFS += -DTEST
endif
# User application
# Examples
ifeq ($(EXAMPLE_BLINK), 1)
C_SOURCES += ../applications/examples/blink.c
C_DEFS += -DEXAMPLE_BLINK
endif
# User application
# Add C_SOURCES +=, C_DEFS += or CPP_SOURCES += here
#######################################
# binaries
#######################################