From 83b8d88c0fd8825a5a982d3f7c7fae20e8df7804 Mon Sep 17 00:00:00 2001 From: h2zero <32826625+h2zero@users.noreply.github.com> Date: Sat, 10 Jul 2021 14:13:48 -0600 Subject: [PATCH] Minimize BLE resources. (#1015) Adds macros to reduce the flash/RAM use of the BLE library. --- platformio.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platformio.ini b/platformio.ini index ed70a6b..86ff92b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -151,6 +151,8 @@ build_flags = '-DsimpleReceiving=true' '-DZmqttDiscovery="HADiscovery"' '-DTRACE=1' + '-DCONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED' + '-DCONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED' ;'-DCORE_DEBUG_LEVEL=4' [com-arduino]