-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
37 lines (33 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
; PlatformIO Project Configuration File
;
; This file is a part of the "Feather-M0-LoRaWAN-PM-Sensor" source code.
; https://github.com/lrswss/feather-m0-lorawan-pm-sensor
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = adafruit_feather_m0
description = Firmware for Feather M0 LoRaWAN particulate matter sensor
[common]
firmware_version = 102
lib_deps_all =
lora = MCCI LoRaWAN LMIC library
bme280 = adafruit/Adafruit BME280 Library
sht31 = adafruit/Adafruit SHT31 Library
si7021 = adafruit/Adafruit Si7021 Library
rtc = RTCZero
build_flags =
'-DFIRMWARE_VERSION=${common.firmware_version}'
'-DARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS'
'-UCFG_us915'
'-DCFG_eu868'
'-DCFG_sx1276_radio'
'-DDISABLE_BEACONS'
'-DDISABLE_PING'
'-DLMIC_ENABLE_DeviceTimeReq'
[env:adafruit_feather_m0]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps_all}