Skip to content

Commit cbdb387

Browse files
committed
add gitignore and platformio.ini for development of the library with platformio
1 parent 0007312 commit cbdb387

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,10 @@ Temporary Items
4848

4949

5050
\.vscode/
51+
52+
# Platform.io stuff
53+
.pioenvs
54+
.piolibdeps
55+
.clang_complete
56+
.gcc-flags.json
57+
.pio

platformio.ini

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
; PlatformIO Project Configuration File
2+
;
3+
; Build options: build flags, source filter
4+
; Upload options: custom upload port, speed and extra flags
5+
; Library options: dependencies, extra library storages
6+
; Advanced options: extra scripting
7+
;
8+
; Please visit documentation for the other options and examples
9+
; https://docs.platformio.org/page/projectconf.html
10+
11+
[platformio]
12+
src_dir = examples/TrainHub ;this points to a single example *.ino sketch which should be build with platform.io
13+
14+
[env:heltec_wifi_kit_32]
15+
platform = espressif32
16+
board = heltec_wifi_kit_32
17+
framework = arduino
18+
lib_extra_dirs = ${workspacedir} ;this points to the project root directory with the legoino library
19+
lib_deps = h2zero/NimBLE-Arduino@^1.0.2 ;this is the dependent library
20+
upload_speed = 115200
21+
monitor_speed = 115200
22+
;debug_tool = esp-prog
23+
;debug_init_break = tbreak setup
24+

0 commit comments

Comments
 (0)