nuttx/openamp
Zhe Weng fef52b11ee openamp/libmetal: Check CONFIG_HAVE_ATOMICS instead of HAVE_STDATOMIC_H in atomic.h
When we use libmetal with other headers using stdatomic.h, we'll get
symbol conflict if we don't enable HAVE_STDATOMIC_H in libmetal.  The
best solution might be using cmake to detect headers automatically, but
we can't.  Fortunately we have CONFIG_HAVE_ATOMICS macro now, which can
replace HAVE_STDATOMIC_H when we're not using cmake.

Note: 2-Steps to use CONFIG_HAVE_ATOMICS
1. Include compiler.h for CONFIG_HAVE_ATOMICS definition
2. Check CONFIG_HAVE_ATOMICS instead of HAVE_STDATOMIC_H

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-07-10 20:44:16 +08:00
..
.gitignore build: add initial cmake build system 2023-07-08 13:50:48 +08:00
0001-ns-acknowledge-the-received-creation-message.patch
0002-Negotiate-individual-buffer-size-dynamically.patch
0003-rpmsg-wait-endpoint-ready-in-rpmsg_send-and-rpmsg_se.patch
0004-openamp-add-new-ops-notify_wait-support.patch
0005-rpmsg_virtio-don-t-need-check-status-when-get_tx_pay.patch
0006-rpmsg-notify-the-user-when-the-remote-address-is-rec.patch
0007-openamp-avoid-double-calling-ns_bound-when-each-othe.patch
0008-remoteproc-make-all-elf_-functions-static-except-elf.patch
0009-Fix-warn-declaration-of-vring_rsc-shadows-a-previous.patch
0010-rptun-fix-rptun-don-t-wait-issue-when-get-tx-patyloa.patch
0011-rpmsg-fix-rpmsg_virtio_get_tx_buffer-no-idx-return.patch
0012-rpmsg-add-new-API-rpdev_release_tx-rx_buffer.patch
0013-openamp-add-error-log-when-ept-cb-return-error.patch
0014-rpmsg-add-cache-flash-when-hold-rx-buffer.patch
0015-rpmsg-do-cache_invalidate-when-real-data-returned.patch
0016-openamp-add-new-API-rpmsg_virtio_get_rxbuffer_size.patch
0017-virtio-follow-virtio-1.2-spec-add-more-virtio-status.patch openamp: decoupling the transport layer and virtio device layer 2023-05-20 21:51:24 +08:00
0018-virtio-decoupling-the-transport-layer-and-virtio-dev.patch openamp: decoupling the transport layer and virtio device layer 2023-05-20 21:51:24 +08:00
0019-virtio.h-add-version-in-device-id-table.patch openamp: virtio.h add version field in device id table struct 2023-05-27 18:51:04 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig openamp: add OPENAMP_DEBUG config to enable/disable openamp debug 2023-06-18 16:17:44 +03:00
libmetal.cmake build: add initial cmake build system 2023-07-08 13:50:48 +08:00
libmetal.defs openamp/libmetal: Check CONFIG_HAVE_ATOMICS instead of HAVE_STDATOMIC_H in atomic.h 2023-07-10 20:44:16 +08:00
Makefile
open-amp.cmake build: add initial cmake build system 2023-07-08 13:50:48 +08:00
open-amp.defs openamp: add OPENAMP_DEBUG config to enable/disable openamp debug 2023-06-18 16:17:44 +03:00