mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-09 19:25:37 +00:00
Merge pull request #25 from rlwilliamson-dev/room-server
app: add Room Server (BBS) role
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Room server-specific config
|
||||
#
|
||||
# Build with: -DEXTRA_CONF_FILE="boards/common/room_server.conf"
|
||||
#
|
||||
# Room servers use USB serial CLI for configuration — no BLE, no bonding, no NUS.
|
||||
# This overrides the BLE settings in zephcore_common.conf.
|
||||
|
||||
# ========== Role Selection ==========
|
||||
CONFIG_ZEPHCORE_ROLE_ROOM_SERVER=y
|
||||
|
||||
# ========== Disable BLE entirely ==========
|
||||
# Room servers have zero BLE functionality — all config via USB serial CLI.
|
||||
# Saves ~100KB flash and ~30KB RAM on nRF52.
|
||||
CONFIG_BT=n
|
||||
|
||||
# ========== Entropy (required when BT is disabled) ==========
|
||||
# BT normally pulls in the entropy subsystem. Without BT, we need it explicitly
|
||||
# for Ed25519 key generation, LoRa random delays, etc.
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
||||
@@ -113,6 +113,14 @@ Append `-- -DEXTRA_CONF_FILE="boards/common/repeater.conf"` to any build command
|
||||
west build -b rak4631 zephcore -- -DEXTRA_CONF_FILE="boards/common/repeater.conf"
|
||||
```
|
||||
|
||||
### Building for Room Server Role
|
||||
|
||||
Append `-- -DEXTRA_CONF_FILE="boards/common/room_server.conf"` to any build command:
|
||||
|
||||
```
|
||||
west build -b rak4631 zephcore -- -DEXTRA_CONF_FILE="boards/common/room_server.conf"
|
||||
```
|
||||
|
||||
### Production Build (logging disabled)
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user