-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
60 lines (49 loc) · 1.43 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
; 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 = wemos_d1_mini_stackbox
[common_env_data]
lib_deps_external =
; libraries manually placed in /lib :
https://github.com/kentaylor/WiFiManager
https://github.com/tomaskovacik/BK3254.git ;comment out #USE_SW_SERIAL
https://github.com/coryjfowler/MCP_CAN_lib
[env:wemos_d1_mini_oldbox]
platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 9600
lib_deps =${common_env_data.lib_deps_external}
build_flags =
-D USE_SW_SERIAL=1
-D MCP_INT_PIN=D0
# use for OTA
; upload_port = 192.168.0.60
; upload_protocol = espota
[env:wemos_d1_mini_stackbox]
platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 9600
lib_deps =${common_env_data.lib_deps_external}
# use for OTA
; upload_port = 192.168.0.72
; upload_protocol = espota
[env:wemos_d1_mini_stackbox_bench]
platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 9600
lib_deps =${common_env_data.lib_deps_external}
build_flags =
-D CAN_baud=CAN_500KBPS
# use for OTA
; upload_port = 192.168.0.72
; upload_protocol = espota