forked from Xinyuan-LilyGO/T-Echo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
47 lines (38 loc) · 1.04 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = Sleep
globallib_dir = lib
src_dir = examples/${platformio.default_envs}
[env]
platform = nordicnrf52
board = nrf52840_dk_adafruit
framework = arduino
upload_protocol = nrfutil
monitor_speed = 115200
build_flags =
-DCFG_DEBUG=0
[env:Display_lilygo]
[env:GPS]
[env:Lora/Receive]
[env:Lora/Transmit]
[env:LoRaWAN]
lib_deps =
https://github.com/mcci-catena/arduino-lmic#v4.1.0
adafruit/Adafruit SPIFlash@^3.10.0
build_flags =
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D LMIC_LORAWAN_SPEC_VERSION=LMIC_LORAWAN_SPEC_VERSION_1_0_2
-D CFG_sx1276_radio=1
-D CFG_eu868=1
[env:MPU9250]
[env:PDMSerialPlotter]
[env:Sleep]
lib_deps = adafruit/Adafruit SPIFlash@^3.10.0