forked from ArduPilot/mavesp8266
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
59 lines (49 loc) · 1.41 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
48
49
50
51
52
53
54
55
56
57
58
59
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
# The upload speed below (921600) has worked fine for all modules I tested. If you have upload issues,
# try reducing to 115200.
[env]
lib_deps =
jasonlzt/FastLED@^3.5.0
[version]
build_flags = !echo "-DPIO_SRC_REV="$(git rev-parse HEAD) "-DPIO_BUILD_DATE="$(date +%%Y-%%m-%%d) "-DPIO_BUILD_TIME="$(date +%%H)
[env:d1_mini_pro]
platform = espressif8266
framework = arduino
board = d1_mini_pro
upload_speed = 921600
[env:esp12e]
platform = espressif8266@2.0.4
framework = arduino
board = esp12e
build_flags = ${version.build_flags} -Wl,-Tesp8266.flash.4m.ld -DPIO_BOARD=esp12e
[env:esp01_1m]
platform = espressif8266@2.0.4
framework = arduino
board = esp01_1m
build_flags = ${version.build_flags} -DPIO_BOARD=esp01_1m
[env:esp01]
platform = espressif8266@2.0.4
framework = arduino
board = esp01
build_flags = ${version.build_flags} -DPIO_BOARD=esp01
[env:esp07]
platform = espressif8266@2.0.4
framework = arduino
board = esp07
build_flags = ${version.build_flags} -DPIO_BOARD=esp07
upload_speed = 921600