-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
48 lines (45 loc) · 1.08 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
; 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-Vespa
[ESP32]
platform = espressif32
board = esp32doit-devkit-v1
framework = espidf
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
upload_speed = 921600
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, direct
[env:ESP32-Vespa]
extends = ESP32
upload_port = COM4
monitor_port = COM4
board_build.partitions = partitions.csv
build_flags =
-DBRAIA_V3
-DSL1=3
-DSL2=5
-DDRIVER_PWMA=14
-DDRIVER_AIN1=27
-DDRIVER_AIN2=26
-DDRIVER_PWMB=13
-DDRIVER_BIN2=17
-DDRIVER_BIN1=25
-DDRIVER_STBY=21
-DENC_MOT_ESQ_A=04
-DENC_MOT_ESQ_B=16
-DENC_MOT_DIR_A=34
-DENC_MOT_DIR_B=35
-DADC_CLK=18
-DADC_DOUT=19
-DADC_DIN=23
-DADC_CS=22