-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactorization of make files to make them more readable (comment/ co…
…lors / status) Add development define to disable telnet welcome message if necessary bump version
- Loading branch information
1 parent
f035f28
commit 0ef520f
Showing
6 changed files
with
232 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,47 @@ | ||
# ESP3D-TFT specific log level | ||
# All = 3 | ||
# Debug = 2 | ||
# Error only = 1 | ||
# Disabled = 0 | ||
add_compile_options(-DESP3D_TFT_LOG=1) | ||
# Disable ANSI color to fit some serial terminals | ||
add_compile_options(-DDISABLE_COLOR_LOG=0) | ||
|
||
#Use the Snapshot API of LVGL to dump screens to the SD card | ||
add_compile_options(-DLV_USE_SNAPSHOT=1) | ||
|
||
# ESP3D-TFT specific bechmark | ||
# Enabled = 1 | ||
# Disabled = 0 | ||
add_compile_options(-DESP3D_TFT_BENCHMARK=0) | ||
# ESP3D-TFT Development Configuration | ||
|
||
# =========================================== | ||
# Logging Configuration | ||
# =========================================== | ||
|
||
# ESP3D-TFT Log Level | ||
# 3 = All | ||
# 2 = Debug | ||
# 1 = Error only | ||
# 0 = Disabled | ||
set(ESP3D_TFT_LOG_LEVEL 0) | ||
add_compile_options(-DESP3D_TFT_LOG=${ESP3D_TFT_LOG_LEVEL}) | ||
|
||
# ANSI Color in Logs | ||
# 0 = Enabled (default) | ||
# 1 = Disabled (for compatibility with some serial terminals) | ||
set(DISABLE_COLOR_LOG 0) | ||
add_compile_options(-DDISABLE_COLOR_LOG=${DISABLE_COLOR_LOG}) | ||
|
||
# =========================================== | ||
# LVGL Configuration | ||
# =========================================== | ||
|
||
# Use the Snapshot API of LVGL to dump screens to the SD card | ||
set(LV_USE_SNAPSHOT 0) | ||
add_compile_options(-DLV_USE_SNAPSHOT=${LV_USE_SNAPSHOT}) | ||
|
||
# =========================================== | ||
# Telnet Configuration | ||
# =========================================== | ||
# Disable telnet server welcome message for compatibility with some serial terminals | ||
# 1 = Disable telnet server welcome message | ||
# 0 = Keep telnet server welcome message | ||
|
||
set(DISABLE_TELNET_WELCOME_MESSAGE 0) | ||
add_compile_options(-DDISABLE_TELNET_WELCOME_MESSAGE=${DISABLE_TELNET_WELCOME_MESSAGE}) | ||
|
||
# =========================================== | ||
# Performance Configuration | ||
# =========================================== | ||
|
||
# ESP3D-TFT Benchmark | ||
# 1 = Enabled | ||
# 0 = Disabled | ||
set(ESP3D_TFT_BENCHMARK 0) | ||
add_compile_options(-DESP3D_TFT_BENCHMARK=${ESP3D_TFT_BENCHMARK}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.