zephyr/subsys
Hunter Searle 898a59eb80 Shell: Edit shell to store/retrieve return values
This change to the shell API enables the user to retrieve the
return code of the most recently run shell command. This is
useful both for users wanting specific information beyond the print
statements in a command, but especially for automated users
that prefer a simple return code to parsing human readable text.
This was tested using all default shell commands, as well as
eeprom, flash, and i2c, where specific errors could be forced.
In all cases, the correct return value was returned by the new
retval command.

Signed-off-by: Hunter Searle <hsearle@xes-inc.com>
2023-05-02 16:52:21 +02:00
..
bluetooth Bluetooth: BAP: Add specific error code for stopping stopped sink 2023-05-02 09:35:11 -05:00
canbus canbus: isotp: fix single frame state machine stuck issue 2023-04-12 17:45:04 +02:00
console
debug shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
demand_paging
dfu dfu: mcuboot_shell: Add command to enter serial recovery 2023-04-24 13:27:53 +02:00
disk subsys/disk: No need of runtime intialization for disk access part 2023-03-13 18:34:40 +00:00
dsp zdsp: add ARC DSPLIB backend for zdsp 2023-02-21 15:06:06 +01:00
emul emul: Migrate all emulation use to use DT_HAS_ 2023-04-28 08:37:33 -05:00
fb fb: cfb: Use TYPE_SECTION macros for cfb_fonts 2023-04-19 17:14:54 +02:00
fs fs: change fatFS initialization to match littleFS. 2023-04-24 13:34:12 +02:00
input input: add a longpress device 2023-03-24 13:48:28 +00:00
ipc ipc: icmsg: Add mutual exclussion access to shmem 2023-04-29 12:24:17 +02:00
jwt
logging xtensa: use sys_cache API instead of custom interfaces 2023-04-26 07:31:22 -04:00
lorawan init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
mgmt mgmt/mcumgr: Fix image erase returning MGMT_ERR_EMSGSIZE 2023-04-26 18:15:40 +02:00
modbus modbus: Remove redundant check 2023-02-06 10:03:20 +01:00
net net: shell: Print new flags with the net iface command 2023-04-29 12:24:49 +02:00
pm pm: Use TYPE_SECTION macros for pm_device_slots 2023-04-19 17:15:29 +02:00
portability
random init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
retention retention: Add optional mutex disablement 2023-04-24 13:27:53 +02:00
rtio rtio: fix bug in mempool release API 2023-05-01 09:26:06 -05:00
sd sd: Return ret if error in sdmmc_spi_read_cxd 2023-03-28 09:23:47 +02:00
settings settings: Make settings_subsys_init() thread safe 2023-02-20 09:52:26 +01:00
shell Shell: Edit shell to store/retrieve return values 2023-05-02 16:52:21 +02:00
stats
storage storage: flash_map: shell: fix error 'sh' undeclared 2023-04-30 12:48:55 -05:00
task_wdt
testsuite ztest: mock: fix failed test printed message. 2023-04-14 12:39:52 -04:00
timing
tracing init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
usb usb-c: Add USB-C Subsystem Source PD Support 2023-04-28 10:06:01 +02:00
zbus
CMakeLists.txt retention: Add retention system 2023-04-24 13:27:53 +02:00
Kconfig retention: Add retention system 2023-04-24 13:27:53 +02:00