-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
90 lines (77 loc) · 2.5 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
; 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
;
; Other BLE Lib's you can have a look at
; https://github.com/T-vK/ESP32-BLE-Keyboard
; https://github.com/wakwak-koba/ESP32-NimBLE-Mouse/tree/master
; https://github.com/lemmingDev/ESP32-BLE-Gamepad
; https://github.com/alexz006/ESP32-BLE-Combo
;
[env]
platform = espressif32
framework = arduino
monitor_filters = esp32_exception_decoder
extra_scripts = post:Scripts/extra_script.py
monitor_speed = 115200
board_build.flash_mode = dio ; set the flash mode to as slow as posible so that it will support all board
[env:esp32dev]
board = esp32dev
lib_deps =
https://github.com/EmileSpecialProducts/ESP32-BLE-Mouse.git
; t-vk/ESP32 BLE Mouse@^0.3.1
board_build.f_cpu = 80000000L
board_build.f_flash = 40000000L
[env:esp32-s2-saola-1]
board = esp32-s2-saola-1
board_build.f_cpu = 80000000L
board_build.f_flash = 40000000L
; WEMOS LOLIN S2 PICO
;[env:lolin_s2_pico]
;board = lolin_s2_pico
;board_build.f_cpu = 80000000L
;build_flags =
; -D ARDUINO_USB_MODE=0
; -D ARDUINO_USB_CDC_ON_BOOT=0
[env:lolin_s3_mini]
platform = espressif32
board = lolin_s3_mini
lib_deps =
https://github.com/EmileSpecialProducts/ESP32-BLE-Mouse.git
; t-vk/ESP32 BLE Mouse@^0.3.1
board_build.f_cpu = 80000000L
;[env:esp32-s3-devkitm-1]
;board = esp32-s3-devkitm-1
;lib_deps =
; https://github.com/EmileSpecialProducts/ESP32-BLE-Mouse.git
;; t-vk/ESP32 BLE Mouse@^0.3.1
;board_build.f_cpu = 80000000L
[env:esp32-c3-devkitc-02]
board = esp32-c3-devkitc-02
; https://docs.platformio.org/en/latest/platforms/espressif32.html
;board_build.flash_mode = ${common.board_build.flash_mode}
; dout qio qout dio dout
board_build.f_cpu = 80000000L
board_build.f_flash = 40000000L
lib_deps =
https://github.com/EmileSpecialProducts/ESP32-BLE-Mouse.git
; t-vk/ESP32 BLE Mouse@^0.3.1
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
; C6 Not yet supported by PlatformIO arduino 2024-09 :-(
;[env:esp32-c6-devkitm-1]
;board = esp32-c6-devkitm-1
;board_build.f_cpu = 80000000L
;lib_deps =
; https://github.com/EmileSpecialProducts/ESP32-BLE-Mouse.git
; t-vk/ESP32 BLE Mouse@^0.3.1;
;build_flags =
; -D ARDUINO_USB_MODE=1
; -D ARDUINO_USB_CDC_ON_BOOT=1