-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathplatformio.ini
More file actions
121 lines (117 loc) · 4 KB
/
platformio.ini
File metadata and controls
121 lines (117 loc) · 4 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
113
114
115
116
117
118
119
120
121
; 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]
default_envs = release
[esp32doit]
lib_ldf_mode = chain
lib_compat_mode = strict
platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip
;platform = espressif32
;platform_packages =
; framework-espidf @ https://github.com/espressif/esp-idf/releases/download/v5.3.2/esp-idf-v5.3.2.zip
board = esp32doit-devkit-v1
framework = arduino, espidf
board_build.partitions = min_spiffs.csv
board_build.filesystem = littlefs
upload_speed = 921600
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
board_build.embed_txtfiles =
;managed_components/espressif__esp_insights/server_certs/https_server.crt
;managed_components/espressif__esp_rainmaker/server_certs/rmaker_mqtt_server.crt
;managed_components/espressif__esp_rainmaker/server_certs/rmaker_claim_service_server.crt
;managed_components/espressif__esp_rainmaker/server_certs/rmaker_ota_server.crt
custom_component_remove =
espressif/esp_hosted
espressif/esp_wifi_remote
espressif/esp-dsp
espressif/esp32-camera
espressif/libsodium
espressif/esp-modbus
espressif/qrcode
espressif/esp_insights
espressif/esp_diag_data_store
espressif/esp_diagnostics
espressif/esp_rainmaker
espressif/zigbee
espressif/rmaker_common
build_flags =
!python git_tag_macro.py
!python build_date_macro.py
!python cert_updater.py
;-DCONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y
;-D CONFIG_SPI_SLAVE_ISR_IN_IRAM=n
;-D CONFIG_NEWLIB_NANO_FORMAT=y
;-D CONFIG_LWIP_IRAM_OPTIMIZATION=y
;-D CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM=y
;-D CONFIG_NIMBLE_MAX_CONNECTIONS=7
;-D CONFIG_BT_NIMBLE_WHITELIST_SIZE=0
;-D CONFIG_MDNS_STRICT_MODE=1
;-D CORE_DEBUG_LEVEL=1
-D ARDUINO_SERIAL_EVENT_TASK_STACK_SIZE=3500
;-D CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE=8000
;-D CONFIG_BT_NIMBLE_MAX_CCCDS=0
;-D CONFIG_BT_NIMBLE_CRYPTO_STACK_MBEDTLS=1
;-D CONFIG_NIMBLE_STACK_USE_MEM_POOLS=1
;-D CONFIG_BT_NIMBLE_MAX_BONDS=1
;-D CONFIG_BT_NIMBLE_BLOCK_COUNT=20
-std=gnu++17
lib_deps =
https://github.com/doudar/esp-nimble-cpp/
https://github.com/teemuatlut/TMCStepper/archive/refs/tags/v0.7.3.zip
https://github.com/bblanchon/ArduinoJson/archive/refs/tags/v7.3.1.zip
;https://github.com/gin66/FastAccelStepper/archive/refs/tags/0.31.2.zip
https://github.com/doudar/FastAccelStepper/
;https://github.com/gilmaimon/ArduinoWebsockets/archive/refs/tags/0.5.4.zip
https://github.com/doudar/ArduinoWebsockets/
;https://github.com/Links2004/arduinoWebSockets
;https://github.com/doudar/NimBLE-Arduino/
[env:release]
extends = esp32doit
[env:debug]
extends = esp32doit
build_type = debug
build_flags = ${esp32doit.build_flags} -D__DEBUG__=1
debug_tool = esp-prog
debug_init_break = tbreak setup
check_tool = cppcheck
check_flags =
--enable=all
--suppress=*:*/.pio/*
--suppress=*:*/lib/NimBLE-Arduino/*
--suppress=unmatchedSuppression
--suppress=missingIncludeSystem
check_severity = medium, high
check_skip_packages = true
[env:native]
platform = native
lib_deps =
ArduinoFake
lib/ArduinoCompat
lib/SS2K
build_flags =
-Wunused
-Wunused-function
-Wunused-variable
-Wunreachable-code
-std=c++11
-D PLATFORMIO_ENV_NATIVE
-I include
lib_ldf_mode = chain+
lib_compat_mode = soft
check_tool = cppcheck
check_flags =
--enable=all
--suppress=*:*/.pio/*P
--suppress=unmatchedSuppression
--suppress=missingIncludeSystem
check_severity = medium, high
check_skip_packages = true