mirror of
https://github.com/IcedRooibos/py32f0-template.git
synced 2025-10-28 16:32:05 -07:00
feat: update makefile
This commit is contained in:
parent
f879eebe17
commit
3cc2161133
13
Makefile
13
Makefile
@ -15,6 +15,8 @@ ENABLE_PRINTF_FLOAT ?= n
|
|||||||
USE_FREERTOS ?= n
|
USE_FREERTOS ?= n
|
||||||
# Build with CMSIS DSP functions, y:yes, n:no
|
# Build with CMSIS DSP functions, y:yes, n:no
|
||||||
USE_DSP ?= n
|
USE_DSP ?= n
|
||||||
|
# Build with Waveshare e-paper lib, y:yes, n:no
|
||||||
|
USE_EPAPER ?= y
|
||||||
# Programmer, jlink or pyocd
|
# Programmer, jlink or pyocd
|
||||||
FLASH_PROGRM ?= pyocd
|
FLASH_PROGRM ?= pyocd
|
||||||
|
|
||||||
@ -109,7 +111,18 @@ CFILES += Libraries/CMSIS/DSP/Source/BasicMathFunctions/BasicMathFunctions.c \
|
|||||||
Libraries/CMSIS/DSP/Source/TransformFunctions/TransformFunctions.c
|
Libraries/CMSIS/DSP/Source/TransformFunctions/TransformFunctions.c
|
||||||
INCLUDES += Libraries/CMSIS/DSP/Include \
|
INCLUDES += Libraries/CMSIS/DSP/Include \
|
||||||
Libraries/CMSIS/DSP/PrivateInclude
|
Libraries/CMSIS/DSP/PrivateInclude
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_EPAPER),y)
|
||||||
|
CDIRS += Libraries/EPaper/Lib \
|
||||||
|
Libraries/EPaper/Examples \
|
||||||
|
Libraries/EPaper/Fonts \
|
||||||
|
Libraries/EPaper/GUI
|
||||||
|
|
||||||
|
INCLUDES += Libraries/EPaper/Lib \
|
||||||
|
Libraries/EPaper/Examples \
|
||||||
|
Libraries/EPaper/Fonts \
|
||||||
|
Libraries/EPaper/GUI
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include ./rules.mk
|
include ./rules.mk
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user