zephyr/include
Paul Sokolovsky 347f6784fb include: posix: time: Make possible to include with CONFIG_ARCH_POSIX
While CONFIG_ARCH_POSIX in general isn't compatible with Zephyr POSIX
subsys (because CONFIG_ARCH_POSIX itself is implemented on top of
POSIX, so there're obvious conflicts), apply workaround to allow to
at least use clock_gettime() and clock_settime() functions.

This change is grounded in upcoming support for date manipulation
commands for Zephyr shell, which are implemented using functions
above. There's no guarantee that CONFIG_ARCH_POSIX and Zephyr POSIX
subsys will coexist for any other usecase. (But the change is
relatively clean and is definitely in the right direction of
prototyping ways of such a coexistance.)

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
(cherry picked from commit 4a05644bce)
2020-03-10 15:04:12 +02:00
..
app_memory
arch arch: arc: enable MPU_REQUIRES_NON_OVERLAPPING_REGIONS for arc mpu ver 3 2020-03-10 11:58:03 +02:00
audio
bluetooth Bluetooth: HCI_VS: Check for supported command 2020-03-10 15:02:48 +02:00
canbus
cmsis_rtos_v1
cmsis_rtos_v2
console
crypto
data
debug debug: stack: Add missing log_strdup 2020-02-11 12:55:02 -08:00
dfu
disk
display
drivers doc: hwinfo: Clarify return values. 2020-02-27 21:14:54 +01:00
dt-bindings gpio: restore missing legacy devicetree direction flag 2020-02-13 22:50:45 +02:00
fs
linker
logging logging: Fixes c++ compile error using LOG_BACKEND_DEFINE 2020-02-11 20:11:12 +02:00
mgmt
net net: ieee802154: Extend radio api to support energy scan feature 2020-03-10 14:59:10 +02:00
posix include: posix: time: Make possible to include with CONFIG_ARCH_POSIX 2020-03-10 15:04:12 +02:00
power
random
settings settings: Include entire API into doxygen 2020-02-17 15:34:33 -06:00
shell shell: telnet: Replace timer with a delayed work 2020-02-12 10:22:49 +02:00
stats
storage
sys crc: Add crc8 implementation and tests 2020-03-10 12:53:53 +02:00
toolchain x86: fix large Kconfig values on 64-bit 2020-02-13 09:03:03 +02:00
tracing
usb
zephyr
cache.h
device.h
devicetree.h
exc_handle.h
fatal.h
generated_dts_board.h
init.h
irq_nextlevel.h
irq_offload.h
irq.h
kernel_includes.h
kernel_structs.h kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
kernel_version.h
kernel.h kernel: work: Return error if timeout cannot be aborted 2020-02-17 22:37:26 +02:00
ptp_clock.h
sched_priq.h
shared_irq.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
syscall.h
timeout_q.h
toolchain.h
wait_q.h
zephyr.h