Skip to content

Commit

Permalink
lib: update libmetal to release v2023.04.0
Browse files Browse the repository at this point in the history
Origin:
	https://github.com/OpenAMP/libmetal

Commit:
	28fa235

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>
  • Loading branch information
carlocaione committed May 22, 2023
1 parent efa2ace commit b91611a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion libmetal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 1 addition & 1 deletion libmetal/VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION_MAJOR = 1
VERSION_MINOR = 3
VERSION_MINOR = 4
VERSION_PATCH = 0
2 changes: 1 addition & 1 deletion libmetal/cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 0 additions & 15 deletions libmetal/lib/system/freertos/mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions libmetal/lib/system/nuttx/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b91611a

Please sign in to comment.