forked from BeyondRobotix/mavesp8266
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
55 lines (41 loc) · 1.29 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
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# The upload speed below (921600) has worked fine for all modules I tested. If you have upload issues,
# try reducing to 115200.
# Set mavesp version
[version]
major = 2
minor = 4
build = 0
# Generate version string (e.g "1.2.2") and flags
[version_env]
version_string = ${version.major}.${version.minor}.${version.build}
version_flags = "-DMAVESP8266_VERSION_MINOR="${version.minor} "-DMAVESP8266_VERSION_MAJOR="${version.major} "-DMAVESP8266_VERSION_BUILD="${version.build} "-DVERSION_STRING="${version_env.version_string}
# General settings
# - Set platform and framework
# - Generate revision, date and time flags
# - Run prebuild script to set firmware name
[env]
platform = espressif8266
framework = arduino
build_flags = ${version_env.version_flags}
extra_scripts = pre:platformio_prebuild.py
# Platform specific settings
;monitor_speed = 115200
;monitor_speed = 74880
upload_speed = 921600
monitor_speed = 921600
;[env:esp12e]
;board = esp12e
;build_flags = ${env.build_flags} -Wl,-Tesp8266.flash.4m.ld -DDEBUG_ESP_PORT=Serial
; [env:esp01_1m]
; board = esp01_1m
; [env:esp01]
; board = esp01
[env:esp07s]
board = esp07s
build_dir = build/esp07s