zephyr/samples/subsys
Yong Cong Sin e2310396d6 samples: shell_module: move login cmds into a separate file
Was getting compilation error due to `CONFIG_SHELL_CMD_ROOT`
not being defined whe building the sample under certain
configurations.

The `CONFIG_SHELL_CMD_ROOT` is defined and used only when
`CONFIG_SHELL_START_OBSCURED` is enabled, we can simply move
it to another file and rely on CMakeLists.txt to compile.

Run the `login_init` with `SYS_INIT` so that the `main()`
do not need to have knowledge of its existence.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-09-23 10:01:34 +02:00
..
bindesc
canbus samples/subsys: Use hwmv2 native targets identifiers 2024-03-15 16:13:12 +01:00
console
dap doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
debug samples: subsys: use zephyr:code-sample directive 2024-09-05 17:13:17 -04:00
demand_paging sample: demand_paging: add a demo about ondemand section usage 2024-09-11 20:18:51 -04:00
display samples: subsys: display: lvgl: Remove kscan pointer check 2024-06-21 11:54:11 -04:00
edac
fs samples: fs_sample: add required meta info for twister 2024-09-19 03:29:59 -04:00
input boards: rename and update esp32 related conf and overlay files 2024-04-23 15:36:13 +02:00
ipc samples: subsys: ipc: add testcases for icbmsg on nRF54L15 2024-09-12 10:03:05 +02:00
llext doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
logging intel_adsp: cavs20: Remove legacy files 2024-09-19 03:26:53 -04:00
lorawan samples: subsys: lorawan: class_a: remove clock sync and multicast 2024-05-02 16:54:43 +02:00
mgmt mgmt: mcumgr: transport: bluetooth: add all gatt permission levels 2024-09-19 15:13:19 +02:00
modbus docs: modbus: Update PyModbus GitHub project URL 2024-05-28 18:57:02 +02:00
nvs doc: fix trivial typo 2024-09-05 09:49:18 +02:00
pm
portability
profiling profiling: doc: clean up grammar/spelling 2024-08-16 16:30:07 +01:00
rtio/sensor_batch_processing rtio: Remove builtin iodev mpsc queue 2024-06-12 21:12:54 -04:00
sensing samples: subsys: fix sensing/simple compile 2024-05-24 18:03:44 -04:00
settings samples: subsys: settings: Add configuration for cc1352p7 2024-09-18 15:32:09 +02:00
shell samples: shell_module: move login cmds into a separate file 2024-09-23 10:01:34 +02:00
sip_svc samples: subsys: use zephyr:code-sample directive 2024-09-05 17:13:17 -04:00
smf doc: :zephyr-app: should point to existing in-tree folders 2024-09-09 13:53:47 -04:00
task_wdt boards: mr_canhubk3: enable SWT watchdog 2024-08-03 05:58:46 -05:00
testsuite
tracing everywhere: reindent `.overlay` files with tabs 2024-06-26 15:59:44 +02:00
usb samples: hello_world: use zephyr:code-sample directive 2024-09-16 10:05:18 +02:00
usb_c samples: usb-c: sink: add support for numaker_m2l31ki 2024-08-01 12:38:53 +02:00
zbus doc: :zephyr-app: should point to existing in-tree folders 2024-09-09 13:53:47 -04:00
subsys.rst