lib: update libmetal to release v2023.04.0
Origin: https://github.com/OpenAMP/libmetal Commit: 28fa2351d6a8121ce6c1c2ac5ee43ce08d38dbae Status: Merge libmetal new version after removing useless dirs. Release Description: https://github.com/OpenAMP/libmetal/releases/tag/v2023.04.0 Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
efa2ace602
commit
b91611a6f4
|
@ -296,6 +296,6 @@ To check your \<n\> commits in your git branch:
|
|||
We use standard github mechanism for pull request. Please refer to github documentation for help.
|
||||
|
||||
## Communication and Collaboration
|
||||
[Subscribe](https://lists.openampproject.org/mailman/listinfo/openamp-rp) to the OpenAMP mailing list(openamp-rp@lists.openampproject.org).
|
||||
[Subscribe](https://lists.openampproject.org/mailman3/lists/openamp-rp.lists.openampproject.org/) to the OpenAMP mailing list(openamp-rp@lists.openampproject.org).
|
||||
|
||||
For more details on the framework please refer to the the [OpenAMP wiki](https://github.com/OpenAMP/open-amp/wiki).
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
VERSION_MAJOR = 1
|
||||
VERSION_MINOR = 3
|
||||
VERSION_MINOR = 4
|
||||
VERSION_PATCH = 0
|
||||
|
|
|
@ -72,5 +72,5 @@ option (WITH_DEFAULT_LOGGER "Build with default logger" ON)
|
|||
|
||||
option (WITH_DOC "Build with documentation" ON)
|
||||
|
||||
set (GLOBAL PROPERTY "PROJECT_EC_FLAGS" "-Wall -Werror -Wextra" CACHE STRING "")
|
||||
set_property (GLOBAL PROPERTY "PROJECT_EC_FLAGS" -Wall -Werror -Wextra)
|
||||
# vim: expandtab:ts=2:sw=2:smartindent
|
||||
|
|
|
@ -29,21 +29,6 @@ typedef struct {
|
|||
SemaphoreHandle_t m;
|
||||
} metal_mutex_t;
|
||||
|
||||
/*
|
||||
* METAL_MUTEX_INIT - used for initializing an mutex element in a static struct
|
||||
* or global
|
||||
*/
|
||||
#if defined(__GNUC__)
|
||||
#define METAL_MUTEX_INIT(m) { NULL }; \
|
||||
_Pragma("GCC warning\"static initialisation of the mutex is deprecated\"")
|
||||
#elif defined(__ICCARM__)
|
||||
#define DO_PRAGMA(x) _Pragma(#x)
|
||||
#define METAL_MUTEX_INIT(m) { NULL }; \
|
||||
DO_PRAGMA(message("Warning: static initialisation of the mutex is deprecated"))
|
||||
#else
|
||||
#define METAL_MUTEX_INIT(m) { NULL }
|
||||
#endif
|
||||
|
||||
/*
|
||||
* METAL_MUTEX_DEFINE - used for defining and initializing a global or
|
||||
* static singleton mutex
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <metal/errno.h>
|
||||
#include <metal/irq_controller.h>
|
||||
#include <metal/alloc.h>
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/irq.h>
|
||||
|
||||
unsigned int metal_irq_save_disable(void)
|
||||
|
|
Loading…
Reference in New Issue