-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
42 lines (37 loc) · 1.27 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
; 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 = lolin_s2_mini
framework = arduino
build_flags = -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=0 -D CONFIG_LOG_DEFAULT_LEVEL=5 -D CORE_DEBUG_LEVEL=4
board_build.embed_files =
resources/logo.h58
resources/config.html
resources/printi_logo_transparent.svg
resources/Courgette-Regular.ttf
board_build.embed_txtfiles =
resources/letsencrypt.pem
custom_prog_name = printi
custom_prog_version = test5
extra_scripts =
; Write project name/version & build-date
;; at the beggining of the firmware-image
;; for OTA code to know what is ,loaded in each partition.
;; NOTE: doing this otherwise would require recompiling esp_idf booloader.
post:tools/patchappinfos.py
[env:lolin_s2_mini-usb]
; ESP32-S2 needs a manual reset after upload
; upload_flags = --after=no_reset
upload_port = /dev/ttyACM*
[env:lolin_s2_mini-ota]
upload_protocol = espota
upload_flags =
--auth=admin