mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-01 20:09:17 +00:00
max contacts update
This commit is contained in:
@@ -13,5 +13,6 @@ CONFIG_LOG_BACKEND_RTT=n
|
||||
# Disable asserts (saves flash, removes CMake warning)
|
||||
CONFIG_ASSERT=n
|
||||
|
||||
# Max contacts for production
|
||||
CONFIG_ZEPHCORE_MAX_CONTACTS=500
|
||||
# Max contacts for production (Check board configs for overrides, too low RAM can freeze the device with this setting!)
|
||||
# nRF/ESP like RAK and Wio Tracker / S3,C6 should handle it.
|
||||
CONFIG_ZEPHCORE_MAX_CONTACTS=750
|
||||
|
||||
@@ -20,3 +20,6 @@ CONFIG_ZEPHCORE_RADIO_NATIVE=y
|
||||
|
||||
# Flash size (XIAO ESP32-C3 has 4MB, override Zephyr default 2MB)
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||
|
||||
# RAM-limited: override prod.conf MAX_CONTACTS (800 overflows DRAM)
|
||||
CONFIG_ZEPHCORE_MAX_CONTACTS=300
|
||||
|
||||
@@ -92,6 +92,16 @@ CONFIG_NORDIC_QSPI_NOR=n
|
||||
# --- ESP32 ---
|
||||
# CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y # If your board has 4MB flash (default 2MB)
|
||||
|
||||
# ========== OPTIONAL: Max Contacts Override ==========
|
||||
# prod.conf sets MAX_CONTACTS=800 (sized for nRF52840's 256KB SRAM).
|
||||
# RAM-constrained boards MUST override here. Approximate safe limits:
|
||||
# nRF52840: 800 (default, no override needed)
|
||||
# ESP32-C6: 800 (default, no override needed)
|
||||
# MG24: 650 (Silabs BLE blob needs 32KB heap)
|
||||
# nRF54L15: 450 (FLPR core reserves 68KB SRAM)
|
||||
# ESP32-C3: 300 (limited DRAM)
|
||||
# CONFIG_ZEPHCORE_MAX_CONTACTS=450
|
||||
|
||||
# ========== OPTIONAL: Disable RX Duty Cycle ==========
|
||||
# Inherited from platform common config as enabled (power savings).
|
||||
# Override here if your board is wall-powered.
|
||||
|
||||
@@ -10,3 +10,6 @@ CONFIG_BT_DIS_MODEL_NUMBER_STR="XIAO MG24"
|
||||
|
||||
# Radio type
|
||||
CONFIG_ZEPHCORE_RADIO_NATIVE=y
|
||||
|
||||
# RAM-limited: Silabs BLE blob needs 32KB heap, override prod.conf MAX_CONTACTS
|
||||
CONFIG_ZEPHCORE_MAX_CONTACTS=650
|
||||
|
||||
@@ -9,3 +9,6 @@ CONFIG_BT_DIS_MODEL_NUMBER_STR="XIAO nRF54L15"
|
||||
|
||||
# Radio type
|
||||
CONFIG_ZEPHCORE_RADIO_NATIVE=y
|
||||
|
||||
# RAM-limited: FLPR core reserves 68KB, override prod.conf MAX_CONTACTS
|
||||
CONFIG_ZEPHCORE_MAX_CONTACTS=450
|
||||
|
||||
Reference in New Issue
Block a user