Added some new APIs to get the backend instances more easily, so that dev does not need to rely on `shell_backend_*_get_ptr`, which looks more like a hack to access a local variable. These APIs are basically copied from the log backend implementation. Added testcase for the APIs. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
10 lines
169 B
YAML
10 lines
169 B
YAML
tests:
|
|
shell.backend:
|
|
min_flash: 64
|
|
min_ram: 32
|
|
tags:
|
|
- shell
|
|
filter: ( CONFIG_SHELL )
|
|
platform_allow:
|
|
- qemu_x86
|
|
- qemu_riscv32
|