Skip to content

Commit b475961

Browse files
committed
fix: use local sources for PlatformIO build
1 parent 2311a5e commit b475961

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22
## unreleased
33
### Features
4-
- [201](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/201) - Added option to specify timestamp precision and do not send timestamp. Set using `WriteOption::useServerTimestamptrue)`.
4+
- [202](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/202) - Added option to specify timestamp precision and do not send timestamp. Set using `WriteOption::useServerTimestamptrue)`.
55

66
### Fixes
77
- [200](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/200) - Backward compatible compilation. Solves _marked 'override', but does not override_ errors.

platformio.ini

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
; CanAirIO Sensorlib
1+
; InfluxDB Arduino Client
22
;
3-
; Full guide and details: https://github.com/kike-canaries/canairio_sensorlib
4-
53

64
[platformio]
75
src_dir = ./test/
@@ -11,19 +9,24 @@ framework = arduino
119
upload_speed = 1500000
1210
monitor_speed = 115200
1311
monitor_filters = time
12+
lib_ignore = WiFiNINA
1413
build_flags =
1514
-D CORE_DEBUG_LEVEL=0
16-
lib_deps =
17-
https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino.git
15+
lib_extra_dirs =
16+
../
1817

1918
[esp32_common]
2019
platform = espressif32
2120
board = esp32dev
2221
framework = ${env.framework}
2322
upload_speed = ${env.upload_speed}
2423
monitor_speed = ${env.monitor_speed}
25-
lib_deps = ${env.lib_deps}
26-
build_flags =
24+
lib_ignore = ${env.lib_ignore}
25+
lib_extra_dirs = ${env.lib_extra_dirs}
26+
lib_deps =
27+
WiFi
28+
HTTPClient
29+
build_flags =
2730
${env.build_flags}
2831

2932
[esp8266_common]
@@ -33,8 +36,12 @@ board = esp12e
3336
monitor_speed = ${env.monitor_speed}
3437
build_flags =
3538
${env.build_flags}
36-
lib_deps =
37-
${env.lib_deps}
39+
lib_deps =
40+
ESP8266WiFi
41+
ESP8266HTTPClient
42+
lib_ignore = ${env.lib_ignore}
43+
lib_extra_dirs =
44+
${env.lib_extra_dirs}
3845

3946
[env:esp8266BasicTest]
4047
extends = esp8266_common

0 commit comments

Comments
 (0)