-
Notifications
You must be signed in to change notification settings - Fork 21
/
platformio.ini
45 lines (41 loc) · 1.28 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
; 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 = esp32doit-devkit-v1
[env]
monitor_speed = 115200
build_flags =
'-D PROJECT_NAME="STEWART PLATFORM"'
-D PROJECT_VERSION="0.1"
-D BAUD_RATE=${env.monitor_speed}
-D SEND_NUNCHUCK_INFO_TO_SERIAL=false
-D SEND_PWM_US_TO_SERIAL=false
-D ENABLE_NUNCHUCK_READ=true
-D ENABLE_IMU_READ=false
-D ENABLE_SERIAL_READ=false
-D DEMO_CIRCLES_NB_TURN=1
!python get_build_flags.py
lib_deps =
; N.B. Find name of lib by number with the command
; pio pkg show 306
305 ; ESPAsyncTCP
306 ; ESP Async WebServer
1465 ; WiiChuck
1826 ; AsyncTCP
2100 ; PCA9685 16-Channel PWM Driver Module Library
[env:esp32doit-devkit-v1]
platform = espressif32@^3.5.0 ; Doesn’t work with versions >= 4.0.0
board = esp32doit-devkit-v1
framework = arduino
build_flags = ${env.build_flags}
lib_deps =
${env.lib_deps}
upload_speed = 1000000
; upload_port = /dev/cu.SLAB_USBtoUART