forked from Keralots/SmallOLED-PCMonitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
35 lines (33 loc) · 1.17 KB
/
Copy pathplatformio.ini
File metadata and controls
35 lines (33 loc) · 1.17 KB
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
; 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]
name = SmallOLED-PCMonitor
description = PC Stats Monitor with WiFi Portal - ESP32-C3 + SSD1306 OLED
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200
monitor_filters = direct
build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
; Partition table: min_spiffs gives ~1.9MB per OTA slot (SPIFFS unused anyway).
; Required when BLE_SETUP_ENABLED = 1 to fit NimBLE (~200KB) alongside OTA.
board_build.partitions = min_spiffs.csv
lib_deps =
tzapu/WiFiManager@^2.0.17
adafruit/Adafruit GFX Library@^1.12.4
adafruit/Adafruit SSD1306@^2.5.15
adafruit/Adafruit SH110x@^2.1.11
bblanchon/ArduinoJson@^7.4.2
ricmoo/QRCode@^0.0.1
; BLE provisioning (NimBLE is ~200KB; dead-stripped by linker when BLE_SETUP_ENABLED = 0)
h2zero/NimBLE-Arduino@^1.4.2