From bc32437caa387f336dd1a8ffea2f9eb34127bcc4 Mon Sep 17 00:00:00 2001 From: Emil Muratov Date: Sat, 14 Dec 2024 12:50:03 +0900 Subject: [PATCH] allow user to have it's own platformio configs allow disabling AQUESTALK/BT via build flags without hacking device_config --- .gitignore | 1 + include/device_config.h | 2 ++ platformio.ini | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index bab62f6..756e872 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ captures/ /data/music/wip*.pomf /data/music/WIP*.pomf /webroot/fvudata/* +/local/ diff --git a/include/device_config.h b/include/device_config.h index ee659e2..8c47380 100644 --- a/include/device_config.h +++ b/include/device_config.h @@ -28,7 +28,9 @@ // #define HAS_BALANCE_BOARD_INTEGRATION // Enable the yukkuri voice talking clock +#ifdef LIBAQUESTALK_FOUND #define HAS_AQUESTALK +#endif // Disable the faux brightness reduction for some UI elements by drawing them only every other frame // #define COMPOSABLE_NO_EVENODD diff --git a/platformio.ini b/platformio.ini index d23de70..e259bee 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1,3 +1,8 @@ +[platformio] +extra_configs = + local/pio_*.ini + + [common] build_flags = -Os -DCORE_DEBUG_LEVEL=3 -DPDFB_PERF_LOGS -DPDFB_PERF_LOG_INTERVAL=1200 -DGP_NO_OTA -DGP_NO_DNS -DGP_NO_MDNS -D_IR_ENABLE_DEFAULT_=false -DDECODE_NEC=true -DDECODE_RC5=true -DDECODE_RC6=true -DDECODE_SONY=true