bolar_2 backup

This commit is contained in:
2026-11-27 16:38:11 +08:00
commit e96d6d19df
305 changed files with 43350 additions and 0 deletions

38
main/Kconfig.projbuild Normal file
View File

@@ -0,0 +1,38 @@
menu "Borla firmware2"
config BORLA_OTA_URL
string "OTA version-check URL"
default "https://borla-ota.lkall.com/xiaozhi/ota/"
help
HTTPS endpoint implementing protocols/ota_protocol.md.
config BORLA_OTA_ALLOW_INSECURE_HTTP
bool "Allow insecure HTTP for OTA development"
default n
help
Development-only escape hatch for isolated LAN testing. Production
builds must keep this disabled so manifests and binaries require HTTPS.
config BORLA_ML307_APN
string "ML307 cellular APN"
default ""
help
SIM operator APN. Empty lets the operator/modem select its default.
config BORLA_ML307_DIAL_COMMAND
string "ML307 PPP dial command"
default "ATD*99#"
help
Command used after LTE registration to enter PPP data mode.
config BORLA_AUDIO_TAP
bool "Debug audio tap (stream mic + speaker PCM over TCP)"
default n
help
Streams everything the microphone captured and everything the DAC
played (24 kHz mono s16, boot to shutdown) over an unauthenticated
TCP socket on port 3401, so tools/audio_tap_dump.py on the same LAN
can write the pair of timestamped WAV files. This is an open
microphone: debugging builds only, never ship with it enabled.
endmenu