feat(board): align new-board inputs and factory runtime
This commit is contained in:
+27
-17
@@ -218,9 +218,9 @@ menu "Example Configuration"
|
||||
bool "Enable interrupt-driven key input task"
|
||||
default y
|
||||
help
|
||||
Start the staged GPIO interrupt key input task for PTT and SW2.
|
||||
SW1 is reserved as the turntable limit switch and is not
|
||||
emitted as a normal key event.
|
||||
Start the staged GPIO interrupt key input task for PTT, SW1,
|
||||
and SW2. SW1 remains the turntable calibration input and is
|
||||
also reported for post-boot button diagnostics.
|
||||
|
||||
config TQ_KEY_INPUT_TASK_STACK
|
||||
int "Key input task stack size"
|
||||
@@ -435,11 +435,12 @@ menu "Example Configuration"
|
||||
|
||||
config TQ_SLOT_SWITCH_GPIO
|
||||
int "Slot feature switch GPIO"
|
||||
default 13
|
||||
default 6
|
||||
range 0 48
|
||||
help
|
||||
GPIO used for the slot machine feature switch.
|
||||
Default from docs/gpio-map.md (SW2 on IO13).
|
||||
GPIO used for the rocker microswitch that triggers the slot
|
||||
machine feature. The new board reuses the unconnected TP_SCL
|
||||
contact on IO6 for the original SW2 function.
|
||||
|
||||
config TQ_SLOT_SWITCH_ACTIVE_LEVEL
|
||||
int "Slot feature switch active level"
|
||||
@@ -447,7 +448,7 @@ menu "Example Configuration"
|
||||
range 0 1
|
||||
help
|
||||
Logic level that means the slot machine feature switch is active.
|
||||
Default from docs/gpio-map.md (SW_2 is active-low).
|
||||
The rocker microswitch shorts IO6 to ground when pressed.
|
||||
|
||||
config TQ_SLOT_SWITCH_PULLUP
|
||||
bool "Enable slot feature switch pull-up"
|
||||
@@ -519,7 +520,8 @@ menu "Example Configuration"
|
||||
default 12
|
||||
range 0 48
|
||||
help
|
||||
GPIO used for the turntable direction calibration switch.
|
||||
GPIO used for Button 1 on the SW1/IO12 net and for turntable
|
||||
direction calibration.
|
||||
|
||||
config TQ_CALIBRATION_SWITCH_ACTIVE_LEVEL
|
||||
int "Direction calibration switch active level"
|
||||
@@ -767,6 +769,15 @@ menu "Example Configuration"
|
||||
registered server-side. Leave disabled to use the static API key
|
||||
/ bypass path.
|
||||
|
||||
config TQ_FACTORY_CLI_ENABLE
|
||||
bool "Enable serial factory provisioning CLI"
|
||||
depends on AUTH_V2_ENABLE
|
||||
default y
|
||||
help
|
||||
Start the managed serial worker used by the factory tool for
|
||||
device identity provisioning, public-key retrieval, and
|
||||
on-device challenge signing.
|
||||
|
||||
config AUTH_REGISTER_BASE_URL
|
||||
string "Auth V2 registration base URL"
|
||||
depends on AUTH_V2_ENABLE
|
||||
@@ -841,33 +852,32 @@ menu "Example Configuration"
|
||||
|
||||
config MULTIMODAL_PTT_BUTTON_GPIO
|
||||
int "Push-to-talk button GPIO"
|
||||
default 3
|
||||
default 13
|
||||
range 0 48
|
||||
help
|
||||
GPIO used for the push-to-talk button.
|
||||
Default from docs/gpio-map.md (TTP223 touch output on IO3).
|
||||
Default from docs/gpio-map.md (Button 2 on the SW2/IO13 net).
|
||||
|
||||
config MULTIMODAL_PTT_BUTTON_ACTIVE_LEVEL
|
||||
int "Push-to-talk button active level"
|
||||
default 1
|
||||
default 0
|
||||
range 0 1
|
||||
help
|
||||
Logic level that means the push-to-talk button is pressed.
|
||||
Default from docs/gpio-map.md (TTP223 output is active-high).
|
||||
Button 2 is active-low through the board pull-up.
|
||||
|
||||
config MULTIMODAL_PTT_BUTTON_PULLUP
|
||||
bool "Enable push-to-talk button pull-up"
|
||||
default n
|
||||
default y
|
||||
help
|
||||
The TTP223 provides a driven digital output, so no internal
|
||||
pull-up is required on the default board.
|
||||
Enable the internal pull-up for the default active-low Button 2
|
||||
wiring in addition to the board pull-up.
|
||||
|
||||
config MULTIMODAL_PTT_BUTTON_PULLDOWN
|
||||
bool "Enable push-to-talk button pull-down"
|
||||
default n
|
||||
help
|
||||
The TTP223 provides a driven digital output, so no internal
|
||||
pull-down is required on the default board.
|
||||
Leave disabled for the default active-low Button 2 wiring.
|
||||
|
||||
config MULTIMODAL_HEARTBEAT_INTERVAL_MS
|
||||
int "Heartbeat interval (ms)"
|
||||
|
||||
Reference in New Issue
Block a user