Skip to content

Commit

Permalink
Disable BT for airguard (saves some precious dynamic memory)
Browse files Browse the repository at this point in the history
  • Loading branch information
festlv committed Mar 14, 2022
1 parent f25e788 commit 7ccb8bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/esp32/boards/AIRGUARD/mpconfigboard.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
#define MICROPY_HW_BOARD_NAME "ESP32 module"
#define MICROPY_HW_MCU_NAME "ESP32"

#define MICROPY_PY_BLUETOOTH (0)
#define MICROPY_BLUETOOTH_NIMBLE (0)

4 changes: 4 additions & 0 deletions ports/esp32/boards/AIRGUARD/sdkconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ CONFIG_I2C_ADDR_SSD1306=60
CONFIG_PIN_NUM_SSD1306_RESET=-1

CONFIG_DRIVER_FRAMEBUFFER_ENABLE=y

# disabling bt saves a couple kb of ram
CONFIG_BT_ENABLED=n
CONFIG_BT_NIMBLE_ENABLED=n

0 comments on commit 7ccb8bf

Please sign in to comment.