/
platformio.ini
52 lines (44 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
; 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]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
t-vk/ESP32 BLE Keyboard@^0.3.2
https://github.com/tzapu/WiFiManager.git@^2.0.12-beta
; Serial Monitor options
monitor_speed = 115200
; Switch between built-in tables
; https://github.com/espressif/arduino-esp32/tree/master/tools/partitions
; https://github.com/espressif/esp-idf/tree/master/components/partition_table
[env:esp32dev8mb]
; set upload flash size 8MB otherwise default_8MB.csv won't work
board_upload.flash_size = 8MB
board_build.partitions = default_8MB.csv
[env:esp32dev16mb]
; set upload flash size 16MB otherwise default_16MB.csv won't work
board_upload.flash_size = 16MB
board_build.partitions = default_16MB.csv
[env:esp32dev8mb_debug]
; set log level
board_upload.flash_size = 8MB
board_build.partitions = default_8MB.csv
build_flags = -DCORE_DEBUG_LEVEL=4
[env:esp32dev8mb_linux]
; any port that starts with /dev/ttyUSB
board_upload.flash_size = 8MB
board_build.partitions = default_8MB.csv
upload_port = /dev/ttyUSB*
[env:esp32dev8mb_mac]
; any port that starts with /dev/cu.usbserial-
board_upload.flash_size = 8MB
board_build.partitions = default_8MB.csv
upload_port = /dev/cu.usbserial-*