-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
197 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# This file can be useful for board-specific overrides or testing alternative configurations without affecting the main project-wide settings. | ||
# Wi-Fi Configuration | ||
CONFIG_WIFI=y | ||
CONFIG_WIFI_ESP32=y | ||
CONFIG_ESP32_WIFI_STA_AUTO_DHCPV4=y | ||
CONFIG_ESP32_WIFI_AP_STA_MODE=n | ||
CONFIG_WIFI_NM=y | ||
CONFIG_WIFI_NM_MAX_MANAGED_INTERFACES=2 | ||
CONFIG_WIFI_LOG_LEVEL_DBG=y | ||
CONFIG_ESP32_WIFI_DEBUG_PRINT=y | ||
|
||
# - CONFIG_LOG: Enables logging support in the system. | ||
# - CONFIG_LOG_BUFFER_SIZE: Configures the size of the logging buffer. | ||
# - CONFIG_LOG_MODE_IMMEDIATE: Ensures logs are immediately output without buffering. | ||
# - CONFIG_LOG_DEFAULT_LEVEL: Sets the default logging verbosity level. | ||
# - CONFIG_THREAD_RUNTIME_STATS: Enables tracking and reporting of thread runtime statistics. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
&wifi { | ||
status = "okay"; | ||
}; | ||
|
||
/ { | ||
wifi_ap: wifi_ap { | ||
compatible = "espressif,esp32-wifi"; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,45 @@ | ||
CONFIG_USERSPACE=y | ||
CONFIG_STACK_SENTINEL=y | ||
|
||
CONFIG_MAIN_STACK_SIZE=4096 | ||
CONFIG_HEAP_MEM_POOL_SIZE=16384 | ||
|
||
CONFIG_WIFI_CREDENTIALS_STATIC=y | ||
CONFIG_WIFI_CREDENTIALS_STATIC_SSID="vive tu vida" | ||
CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD="IVYMARION3" | ||
CONFIG_NET_L2_WIFI_MGMT=y | ||
CONFIG_NET_MGMT=y | ||
CONFIG_NET_MGMT_EVENT=y | ||
CONFIG_NET_MGMT_EVENT_INFO=y | ||
|
||
|
||
CONFIG_NET_IPV4=y | ||
CONFIG_NET_IPV6=n | ||
CONFIG_NET_TCP=y | ||
CONFIG_NET_UDP=y | ||
CONFIG_NET_DHCPV4=y | ||
CONFIG_NETWORKING=y | ||
CONFIG_NET_SOCKETS=y | ||
|
||
CONFIG_PRINTK=y | ||
CONFIG_LOG=y | ||
CONFIG_LOG_BUFFER_SIZE=8096 | ||
CONFIG_LOG_MODE_IMMEDIATE=y | ||
CONFIG_LOG_DEFAULT_LEVEL=4 | ||
CONFIG_THREAD_RUNTIME_STATS=y | ||
|
||
CONFIG_JSON_LIBRARY=y | ||
|
||
CONFIG_FILE_SYSTEM=y | ||
|
||
CONFIG_MQTT_LIB=y | ||
CONFIG_MQTT_LIB_CUSTOM_TRANSPORT=n | ||
CONFIG_MQTT_LIB_TLS=n | ||
CONFIG_MQTT_LIB_WEBSOCKET=n | ||
CONFIG_MQTT_KEEPALIVE=60 | ||
|
||
CONFIG_ENTROPY_GENERATOR=y | ||
|
||
# Network Configuration | ||
CONFIG_NET_CONFIG_AUTO_INIT=n | ||
CONFIG_NET_CONNECTION_MANAGER=y | ||
CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=4096 | ||
CONFIG_NET_DHCPV4=y | ||
CONFIG_NET_DHCPV4_SERVER=y | ||
CONFIG_NET_IF_MAX_IPV4_COUNT=2 | ||
CONFIG_NET_IF_MAX_IPV6_COUNT=2 | ||
CONFIG_NET_IPV4=y | ||
CONFIG_NET_IPV6=n | ||
CONFIG_NET_L2_ETHERNET=y | ||
CONFIG_NET_L2_WIFI_MGMT=y | ||
CONFIG_NET_MGMT=y | ||
CONFIG_NET_MGMT_EVENT=y | ||
CONFIG_NET_MGMT_EVENT_INFO=y | ||
CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=10 | ||
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096 | ||
CONFIG_NET_PKT_RX_COUNT=16 | ||
CONFIG_NET_PKT_TX_COUNT=16 | ||
CONFIG_NET_SOCKETS_SERVICE_STACK_SIZE=4096 | ||
CONFIG_NET_TCP=y | ||
CONFIG_NET_UDP=y | ||
CONFIG_NETWORKING=y | ||
|
||
# LOG Configuration | ||
CONFIG_LOG=y | ||
CONFIG_NET_LOG=y | ||
CONFIG_LOG_DEFAULT_LEVEL=3 | ||
CONFIG_NET_DHCPV4_SERVER_LOG_LEVEL_DBG=y | ||
CONFIG_NET_DHCPV4=y | ||
|
||
CONFIG_ESP32_WIFI_STA_AUTO_DHCPV4=y | ||
|
||
CONFIG_WIFI_ESP32=y | ||
CONFIG_ESP32_WIFI_STA_AUTO_DHCPV4=y | ||
CONFIG_ESP32_WIFI_AP_STA_MODE=n | ||
CONFIG_WIFI_NM=y | ||
CONFIG_WIFI=y | ||
CONFIG_WIFI_NM_MAX_MANAGED_INTERFACES=1 | ||
CONFIG_ESP32_WIFI_STA_RECONNECT=y | ||
CONFIG_WIFI_LOG_LEVEL_DBG=y | ||
CONFIG_ESP32_WIFI_DEBUG_PRINT=y | ||
|
||
CONFIG_THREAD_ANALYZER=y | ||
CONFIG_THREAD_ANALYZER_AUTO=y | ||
CONFIG_THREAD_ANALYZER_AUTO_INTERVAL=5 | ||
CONFIG_THREAD_ANALYZER_LOG_LEVEL_DBG=y | ||
CONFIG_THREAD_ANALYZER_ISR_STACK_USAGE=y | ||
CONFIG_THREAD_ANALYZER_LOG_LEVEL_DBG=y | ||
|
||
CONFIG_ISR_STACK_SIZE=4096 | ||
CONFIG_MAIN_STACK_SIZE=6144 | ||
#Network Buffer Configuration | ||
CONFIG_NET_MAX_CONTEXTS=10 | ||
CONFIG_NET_BUF_RX_COUNT=32 | ||
CONFIG_NET_BUF_TX_COUNT=32 | ||
CONFIG_NET_BUF_DATA_SIZE=512 | ||
CONFIG_NET_RX_STACK_SIZE=4096 | ||
CONFIG_NET_TX_STACK_SIZE=4096 | ||
CONFIG_NET_PKT_RX_COUNT=64 | ||
CONFIG_NET_PKT_TX_COUNT=64 | ||
|
||
CONFIG_EARLY_CONSOLE=y | ||
CONFIG_INIT_STACKS=y | ||
CONFIG_NET_STATISTICS=y | ||
CONFIG_NET_STATISTICS_PERIODIC_OUTPUT=n | ||
CONFIG_NET_MGMT_EVENT_QUEUE_TIMEOUT=5000 | ||
CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=16 |
Oops, something went wrong.