zephyr/samples
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
..
application_development samples: application_development: use zephyr:code-sample directive 2024-08-27 15:13:43 -04:00
arch samples: arch: fix toctree hierarchy 2024-09-13 13:38:19 -05:00
basic samples: pwm: Add overlay for frdm_mcxc242 board 2024-09-19 18:27:11 +01:00
bluetooth Bluetooth: BAP: Add bondable requirement for BAP 2024-09-19 18:27:53 +01:00
boards samples: stm32: mco: Add disco board which has 2 MCO instances 2024-09-16 20:19:57 +02:00
cpp samples: cpp: use zephyr:code-sample directive 2024-08-27 15:13:43 -04:00
drivers samples: drivers: video: add arduino nicla vision 2024-09-20 15:18:13 -05:00
fuel_gauge doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
hello_world samples: hello_world: use zephyr:code-sample directive 2024-09-16 10:05:18 +02:00
kernel samples: add bootargs sample 2024-09-05 12:30:39 -05:00
modules doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
net samples: wifi: ESP32-S2 sample configuration 2024-09-21 11:29:53 +02:00
philosophers doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
posix tests, samples: Define _POSIX_C_SOURCE where needed 2024-09-16 20:17:35 +02:00
sensor style: samples: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
shields style: samples: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
subsys samples: shell_module: move login cmds into a separate file 2024-09-23 10:01:34 +02:00
synchronization samples/synchronization: fix thread b pinning 2024-07-30 18:30:30 +01:00
sysbuild doc: sphinx-lint: fix bad usage of "default role" 2024-09-13 11:42:51 -05:00
tfm_integration samples: tfm_integration: use zephyr:code-sample directive 2024-09-13 11:33:54 -05:00
userspace samples: shared_mem: support shared_mem for frdm_mcxn236 board 2024-08-15 10:15:12 +01:00
classic.rst
index.rst samples: move lz4 into modules 2024-08-12 19:24:15 -04:00
sample_definition_and_criteria.rst doc: overhaul sample criteria and expectations 2024-09-12 10:03:30 +02:00