Skip to content

Commit

Permalink
Set the BLE build flag from the platform.ini
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Knorowski <[email protected]>
  • Loading branch information
cdknorow and cknorow-sensiml authored May 20, 2021
1 parent 2453374 commit 37a2703
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions include/sensor_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
#define __SENSOR_CONFIG_H__
#include <ArduinoJson.h>

// Enable/Disable
#ifndef USE_BLE
#define USE_BLE 1
#endif

#define USE_SECOND_SERIAL_PORT_FOR_OUTPUT 0

Expand Down
1 change: 1 addition & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ platform = [email protected]
board = nano33ble
framework = arduino
monitor_speed = 115200
build_flags = -DUSE_BLE=1

lib_deps =
[email protected]
Expand Down

0 comments on commit 37a2703

Please sign in to comment.