forked from fhessel/esp32_https_server
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
45 lines (36 loc) · 1.02 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
[platformio]
[env]
framework = arduino
monitor_speed = 115200
upload_speed = 460800
build_type = debug
monitor_filters = esp32_exception_decoder
upload_port = /dev/cu.usbmodem11201
build_src_filter =
+<*.cpp>
+<../examples/Websocket-Chat/*.cpp>
[credentials]
wifi_ssids =
-DWIFI_SSID=\"${sysenv.WIFI_SSID}\"
-DWIFI_PSK=\"${sysenv.WIFI_PASSWORD}\"
[env:custom-server]
;platform = [email protected] ; works fine with https
; development fails to compile:
platform = https://github.com/pioarduino/platform-espressif32.git#develop
; stable:
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.03/platform-espressif32.zip
; board = m5stack-cores3
board = esp32-s3-devkitc-1-32MB-8MB
upload_protocol = esptool
debug_tool = esp-builtin
debug_init_break = tbreak app_main
debug_speed = 10000
build_flags =
-Isrc
-ggdb3 -O0
-DCORE_DEBUG_LEVEL=5
${credentials.wifi_ssids}
-Dmbedtls_sha1_ret=mbedtls_sha1
lib_deps =
; https://github.com/mlesniew/PicoWebsocket.git
; m5stack/[email protected]