-
Notifications
You must be signed in to change notification settings - Fork 144
/
platformio.ini
42 lines (33 loc) · 1.4 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
; 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]
src_dir = main
[env:esp32]
platform = espressif32
board = ttgo-t-beam
framework = arduino
; note: we add src to our include search path so that lmic_project_config can override
build_flags = -Wall -Wextra -Wno-missing-field-initializers -O3 -Wl,-Map,.pio/build/esp32/output.map
; -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-D hal_init=LMICHAL_init ; Workaround for naming conflict of function hal_init
; Diable lmic_project_config.h, so that we can configure stuff here instead
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
; Configure radio: enable exactly one of these
; -D CFG_sx1272_radio=1 ; Use for SX1272 radio
-D CFG_sx1276_radio=1 ; Use for SX1276 radio
; Configure region: enable exactly one of these
-D CFG_us915=1
; -D CFG_eu868=1
monitor_speed = 115200
lib_deps =
https://github.com/mcci-catena/arduino-lmic
https://github.com/mikalhart/TinyGPSPlus
https://github.com/ThingPulse/esp8266-oled-ssd1306
https://github.com/lewisxhe/AXP202X_Library