generated from theelims/ESP32-sveltekit
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
112 lines (92 loc) · 3.84 KB
/
platformio.ini
File metadata and controls
112 lines (92 loc) · 3.84 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
; 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]
description = Genius Gateway - A gateway for Hekatron Genius Plus X smoke detectors
data_dir = data
extra_configs =
factory_settings.ini
features.ini
config.ini
;default_envs = esp32-s3-devkitc-1
;default_envs = esp32-s3-devkitc-1-n8r2
default_envs = seeed-xiao-esp32s3
[env]
framework = arduino
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.36/platform-espressif32.zip
build_flags =
${factory_settings.build_flags}
${features.build_flags}
-D BUILD_TARGET=\"$PIOENV\"
-D APP_NAME=\"Genius-Gateway\" ; Must only contain characters from [a-zA-Z0-9-_] as this is converted into a filename
-D APP_VERSION=\"1.1.2\" ; semver compatible version string
-D GITHUB_REPO_OWNER=\"hmbacher\" ; GitHub repository owner for firmware updates
-D GITHUB_REPO_NAME=\"genius-gateway\" ; GitHub repository name for firmware updates
; Move all networking stuff to the protocol core 0 and leave business logic on application core 1
-D ESP32SVELTEKIT_RUNNING_CORE=0
; Uncomment EMBED_WWW to embed the WWW data in the firmware binary
-D EMBED_WWW
; Uncomment to configure Cross-Origin Resource Sharing
; -D ENABLE_CORS
; -D CORS_ORIGIN=\"*\"
; Uncomment to enable informations from ESP32-Sveltekit in Serial Monitor
;-D SERIAL_INFO
; Uncomment to skip SSL certificate verification when downloading firmware updates
;-D DOWNLOAD_OTA_SKIP_CERT_VERIFY
; D E B U G B U I L D F L A G S
; ===============================
; These build flags are only for debugging purposes and should not be used in production
-D CONFIG_ARDUHAL_LOG_COLORS
; Uncomment to show log messages from the ESP Arduino Core and ESP32-SvelteKit
-D CORE_DEBUG_LEVEL=3
; Serve config files from flash and access at /config/filename.json
;-D SERVE_CONFIG_FILES
; Uncomment to teleplot all task high watermarks to Serial
;-D TELEPLOT_TASKS
; Uncomment to use JSON instead of MessagePack for event messages. Default is MessagePack.
;-D EVENT_USE_JSON=1
lib_compat_mode = strict
; Source for SSL Cert Store can bei either downloaded from Mozilla with 'mozilla' ('https://curl.se/ca/cacert.pem')
; or from a curated Adafruit repository with 'adafruit' (https://raw.githubusercontent.com/adafruit/certificates/main/data/roots.pem)
; or complied from a 'folder' full of *.pem / *.dem files stored in the ./ssl_certs folder
board_ssl_cert_source = mozilla
; board_ssl_cert_source = adafruit
; Uncomment to include the a Root CA SSL Certificate Bundle for all SSL needs
; Needs -D FT_DOWNLOAD_FIRMWARE=1 and -D FT_NTP=1
board_build.embed_files = src/certs/x509_crt_bundle.bin
monitor_speed = 115200
monitor_filters =
esp32_exception_decoder
log2file
board_build.filesystem = littlefs
extra_scripts =
pre:scripts/generate_enums.py
pre:scripts/build_interface.py
pre:scripts/generate_cert_bundle.py
scripts/merge_bin.py
scripts/rename_fw.py
scripts/save_elf.py
lib_deps =
ArduinoJson@>=7.0.0
elims/PsychicMqttClient@^0.2.3
[env:esp32-s3-devkitc-1]
board = esp32-s3-devkitc-1 ; 8 MB flash, No PSRAM
build_flags =
${env.build_flags}
${esp32-s3-devkitc-1.build_flags}
[env:esp32-s3-devkitc-1-n8r2]
board = esp32-s3-devkitc-1-n8r2 ; 8 MB flash, 2 MB PSRAM
build_flags =
${env.build_flags}
${esp32-s3-devkitc-1-n8r2.build_flags}
[env:seeed-xiao-esp32s3]
board = seeed_xiao_esp32s3 ; 8 MB flash, 8 MB PSRAM
build_flags =
${env.build_flags}
${seeed-xiao-esp32s3.build_flags}