forked from danxdz/simpleTx_esp32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
64 lines (58 loc) · 1.53 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
; 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
[env_common]
lib_deps_common =
olikraus/U8g2@^2.32.15
madhephaestus/ESP32Encoder@^0.9.0
[env_common_s]
lib_deps_common =
[env:esp32dev]
extends = env_common
platform = espressif32
board = esp32dev
framework = arduino
;monitor_filters=hexlify
monitor_speed = 115200
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
build_flags =
-DTARGET_ESP32
lib_deps =
${env_common.lib_deps_common}
[env:esp32_S2]
extends = env_common
platform = espressif32
board = nodemcu-32-s2 ; ~/.platformio/platforms/espressif32/boards/
board_build.mcu = esp32s2
framework = arduino
monitor_speed = 115200
upload_port = /dev/cu.usbserial-1410
monitor_port = /dev/cu.usbserial-1410
build_flags =
-DTARGET_ESP32_S
-DTARGET_ESP32_S2
lib_deps =
${env_common.lib_deps_common}
${env_common_s.lib_deps_common}
[env:esp32_S3]
extends = env_common
platform = espressif32
board = nodemcu-32-s3 ; ~/.platformio/platforms/espressif32/boards/
board_build.mcu = esp32s3
framework = arduino
monitor_speed = 115200
upload_port = /dev/cu.usbserial-1460
monitor_port = /dev/cu.usbserial-1460
build_flags =
-DTARGET_ESP32_S
-DTARGET_ESP32_S3
lib_deps =
${env_common.lib_deps_common}
${env_common_s.lib_deps_common}