-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
58 lines (52 loc) · 1.2 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
; 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 = esp32-release
extra_configs = secret_values.ini
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
lib_deps =
seeed-studio/CAN_BUS_Shield @ ^2.3.3
https://github.com/aed3/PS4-esp32
[env:esp32-release]
board = upesy_wroom
build_flags =
${env.build_flags}
-D BT_CONTROL_TYPE=1
-D ENABLE_RESTRICTIONS
[env:esp32-joystick]
board = upesy_wroom
build_flags =
${env.build_flags}
-D SERIAL_OUTPUT
-D SERIAL_INPUT
-D SERIAL_DEBUG
-D DISABLE_CAN
-D BT_CONTROL_TYPE=0
[env:esp32-testing]
board = upesy_wroom
build_flags =
${env.build_flags}
-D SERIAL_OUTPUT
-D SERIAL_INPUT
-D SERIAL_DEBUG
-D DISABLE_CAN
-D BT_CONTROL_TYPE=1
-D ENABLE_RESTRICTIONS
[env:esp32s-testing]
board = nodemcu-32s
build_flags =
${env.build_flags}
-D SERIAL_OUTPUT
-D SERIAL_INPUT
-D BT_CONTROL_TYPE=0
-D ENABLE_RESTRICTIONS