mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-23 19:12:23 +00:00
Add selectable shared ESP-NOW channels, raw/wrapped bridge compatibility, and bounded fragmentation for maximum-size packets.\n\nGive ESP32 Full profiles WiFi coexistence, stabilize WebConfig and USB terminal lifecycles, and keep disabled bridges stopped during observer updates.\n\nUpdate generated UI, firmware selection, documentation, and regression coverage.
89 lines
2.4 KiB
INI
89 lines
2.4 KiB
INI
|
|
; ----------- Generic ESP32-C3 ------------
|
|
|
|
[Generic_ESPNOW]
|
|
extends = esp32_base
|
|
board = esp32-c3-devkitm-1
|
|
;board = esp32-s3-devkitm-1
|
|
build_flags =
|
|
${esp32_base.build_flags}
|
|
-I variants/generic_espnow
|
|
-D MESH_PRIMARY_ESPNOW=1
|
|
; -D ESP32_CPU_FREQ=80
|
|
-D PIN_BOARD_SDA=-1
|
|
-D PIN_BOARD_SCL=-1
|
|
; -D P_LORA_TX_LED=8
|
|
-D PIN_USER_BTN=0
|
|
; -D ARDUINO_USB_MODE=1
|
|
; -D ARDUINO_USB_CDC_ON_BOOT=1
|
|
; -D ESPNOW_DEBUG_LOGGING=1
|
|
; -D MESH_PACKET_LOGGING=1
|
|
; -D MESH_DEBUG=1
|
|
build_src_filter = ${esp32_base.build_src_filter}
|
|
+<helpers/esp32/ESPNOWRadio.cpp>
|
|
+<../variants/generic_espnow>
|
|
|
|
[env:Generic_ESPNOW_terminal_chat]
|
|
extends = Generic_ESPNOW
|
|
build_flags =
|
|
${Generic_ESPNOW.build_flags}
|
|
-D MAX_CONTACTS=350
|
|
-D MAX_GROUP_CHANNELS=1
|
|
build_src_filter = ${Generic_ESPNOW.build_src_filter}
|
|
+<../examples/simple_secure_chat/main.cpp>
|
|
lib_deps =
|
|
${Generic_ESPNOW.lib_deps}
|
|
densaugeo/base64 @ ~1.4.0
|
|
|
|
[env:Generic_ESPNOW_repeatr]
|
|
extends = Generic_ESPNOW
|
|
; WebUI plus the EndF trailer no longer fits the board's 1.25 MiB app slots.
|
|
; Keep dual OTA and SPIFFS using the larger established layout.
|
|
board_build.partitions = min_spiffs.csv
|
|
build_flags =
|
|
${Generic_ESPNOW.build_flags}
|
|
-D ADVERT_NAME='"ESPNOW Repeater"'
|
|
-D ADVERT_LAT=0.0
|
|
-D ADVERT_LON=0.0
|
|
-D ADMIN_PASSWORD='"password"'
|
|
-D MESH_ESPNOW_RADIO=1
|
|
-D MAX_NEIGHBOURS=50
|
|
build_src_filter = ${Generic_ESPNOW.build_src_filter}
|
|
+<../examples/simple_repeater/*.cpp>
|
|
lib_deps =
|
|
${Generic_ESPNOW.lib_deps}
|
|
${esp32_ota.lib_deps}
|
|
densaugeo/base64 @ ~1.4.0
|
|
|
|
[env:Generic_ESPNOW_comp_radio_usb]
|
|
extends = Generic_ESPNOW
|
|
build_flags =
|
|
${Generic_ESPNOW.build_flags}
|
|
-D MAX_CONTACTS=350
|
|
-D MAX_GROUP_CHANNELS=8
|
|
; NOTE: DO NOT ENABLE --> -D MESH_PACKET_LOGGING=1
|
|
; NOTE: DO NOT ENABLE --> -D MESH_DEBUG=1
|
|
; NOTE: DO NOT ENABLE --> -D ESPNOW_DEBUG_LOGGING=1
|
|
build_src_filter = ${Generic_ESPNOW.build_src_filter}
|
|
+<../examples/companion_radio/*.cpp>
|
|
lib_deps =
|
|
${Generic_ESPNOW.lib_deps}
|
|
densaugeo/base64 @ ~1.4.0
|
|
|
|
[env:Generic_ESPNOW_room_svr]
|
|
extends = Generic_ESPNOW
|
|
board_build.partitions = min_spiffs.csv
|
|
build_flags =
|
|
${Generic_ESPNOW.build_flags}
|
|
-D ADVERT_NAME='"Generic ESPNow Room"'
|
|
-D ADVERT_LAT=0.0
|
|
-D ADVERT_LON=0.0
|
|
-D ADMIN_PASSWORD='"password"'
|
|
-D ROOM_PASSWORD='"hello"'
|
|
-D MESH_ESPNOW_RADIO=1
|
|
build_src_filter = ${Generic_ESPNOW.build_src_filter}
|
|
+<../examples/simple_room_server/*.cpp>
|
|
lib_deps =
|
|
${Generic_ESPNOW.lib_deps}
|
|
${esp32_ota.lib_deps}
|