platformio.ini 817 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter, extra scripting
;   Upload options: custom port, speed and extra flags
;   Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html

[platformio]
11
src_dir = ampel-firmware
12
13
14
15
16
17

[env:esp8266]
platform = espressif8266
board = esp12e
framework = arduino
monitor_speed = 115200
Eric Duminil's avatar
Eric Duminil committed
18
19
20
21
22
upload_protocol = espota
; each flag in a new line
upload_flags =
  --port=8266
  --auth=admin
23
24
25
26
27
28

[env:esp32]
platform = espressif32
board = ttgo-lora32-v1
framework = arduino
monitor_speed = 115200
29
30
31
32
33
34
35
36

lib_deps =
    MCCI LoRaWAN LMIC library

build_flags =
    -D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
    -D CFG_eu868=1
    -D CFG_sx1276_radio=1