Merge pull request #25 from rlwilliamson-dev/room-server

app: add Room Server (BBS) role
This commit is contained in:
liquidraver
2026-06-02 23:05:25 +02:00
committed by GitHub
11 changed files with 2693 additions and 5 deletions
+19
View File
@@ -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
+8
View File
@@ -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)
```