-
Notifications
You must be signed in to change notification settings - Fork 9
/
platformio.ini
79 lines (69 loc) · 2.07 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
; module téléinformation client
; rene-d 2020
; 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]
;default_envs = esp12
; carte de développement
; 4Mo flash dont 1Mo pour le filesystem
; port série debug+cli
[env:esp12]
platform = espressif8266
board = esp12e
framework = arduino
monitor_speed = 115200
board_build.ldscript = eagle.flash.4m1m.ld
;build_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_PORT=Serial
src_build_flags = -DENABLE_DEBUG -DENABLE_CLI -DENABLE_LED -DENABLE_OTA -DENABLE_CPULOAD
lib_deps = SimpleCLI
extra_scripts =
pio_erfs32.py
post:prep_data_folder.py
check_tool = cppcheck, clangtidy
check_flags =
clangtidy: --checks=-*,cert-*,clang-analyzer-*,hicpp-braces-around-statements,llvm-include-order
upload_speed = 460800
; modèle ESP-01S port série debug
; 1Mo de flash, 192Ko pour le filesystem
; led sur GPIO2
[env:esp01s_dev]
platform = espressif8266
board = esp01_1m
framework = arduino
board_build.ldscript = eagle.flash.1m192.ld
monitor_speed = 115200
src_build_flags = -DENABLE_DEBUG -DENABLE_CLI -DLED_BUILTIN=2 -DENABLE_LED
lib_deps = SimpleCLI
extra_scripts =
pio_erfs32.py
post:prep_data_folder.py
; modèle ESP-01S port série Téléinformation
; 1Mo de flash, 192Ko pour le filesystem
; led sur GPIO2
[env:esp01s_prod]
platform = espressif8266
board = esp01_1m
framework = arduino
board_build.ldscript = eagle.flash.1m192.ld
monitor_speed = 1200
src_build_flags = -DLED_BUILTIN=2 -DENABLE_LED
extra_scripts =
pio_erfs32.py
post:prep_data_folder.py
; NodeMCU 1.0 ou similaire, port série Téléinformation
[env:esp12e_prod]
platform = espressif8266
board = esp12e
framework = arduino
monitor_speed = 1200
src_build_flags = -DLED_BUILTIN=2 -DENABLE_LED -DENABLE_OTA
extra_scripts =
pio_erfs32.py
post:prep_data_folder.py