Skip to content

Commit 37a2703

Browse files
Set the BLE build flag from the platform.ini
Co-authored-by: Chris Knorowski <chris.knorowski@sensiml.com>
1 parent 2453374 commit 37a2703

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

include/sensor_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
#define __SENSOR_CONFIG_H__
33
#include <ArduinoJson.h>
44

5-
// Enable/Disable
6-
#ifndef USE_BLE
7-
#define USE_BLE 1
8-
#endif
95

106
#define USE_SECOND_SERIAL_PORT_FOR_OUTPUT 0
117

platformio.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ platform = nordicnrf52@4.4.1
1313
board = nano33ble
1414
framework = arduino
1515
monitor_speed = 115200
16+
build_flags = -DUSE_BLE=1
1617

1718
lib_deps =
1819
ArduinoJson@6.16.0

0 commit comments

Comments
 (0)