-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
62 lines (59 loc) · 1.58 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
; 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:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_build.arduino.memory_type = qio_opi
lib_deps =
SD
FS
build_flags =
-DBOARD_HAS_PSRAM
-DSD_CARD_MISO=GPIO_NUM_3
-DSD_CARD_MOSI=GPIO_NUM_8
-DSD_CARD_CLK=GPIO_NUM_46
-DSD_CARD_CS=GPIO_NUM_18
; make sure serial output works
-DARDUINO_USB_MODE
-DARDUINO_USB_CDC_ON_BOOT
; prevent hardware serial being used - we'll use USB serial
; -DNO_GLOBAL_SERIAL
; decode exceptions
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
[env:TinyPICO]
platform = espressif32
board = um_tinys3
framework = arduino
lib_deps =
SD
FS
unexpectedmaker/UMS3 Helper
build_flags =
; -DSD_CARD_MISO=GPIO_NUM_8
; -DSD_CARD_MOSI=GPIO_NUM_7
; -DSD_CARD_CLK=GPIO_NUM_6
; -DSD_CARD_CS=GPIO_NUM_4
-DUSE_SDIO=1
-DSD_CARD_DAT0=GPIO_NUM_8
-DSD_CARD_DAT1=GPIO_NUM_21
-DSD_CARD_DAT2=GPIO_NUM_5
-DSD_CARD_DAT3=GPIO_NUM_4
-DSD_CARD_CMD=GPIO_NUM_7
-DSD_CARD_CLK=GPIO_NUM_6
; make sure serial output works
-DARDUINO_USB_MODE
-DARDUINO_USB_CDC_ON_BOOT
; prevent hardware serial being used - we'll use USB serial
; -DNO_GLOBAL_SERIAL
; decode exceptions
monitor_filters = esp32_exception_decoder
monitor_speed = 115200