mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-27 04:57:19 +00:00
Currently only supports Unix time. ‘get’ subcommand returns date in format “Y-m-d H:M:S” ‘set’ subcommand format is ‘[Y-m-d] <H:M:S>’ The ‘set’ subcommand is implemented with basic date validation. For user convenience of small adjustments to time the time argument will accept H:M:S, :M:S or ::S where the missing field(s) will be filled in by the previous time state. Signed-off-by: Nick Ward <nix.ward@gmail.com>
15 lines
236 B
CMake
15 lines
236 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_sources_ifdef(
|
|
CONFIG_KERNEL_SHELL
|
|
kernel_service.c
|
|
)
|
|
zephyr_sources_ifdef(
|
|
CONFIG_DEVICE_SHELL
|
|
device_service.c
|
|
)
|
|
zephyr_sources_ifdef(
|
|
CONFIG_DATE_SHELL
|
|
date_service.c
|
|
)
|