-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
370 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
514 changes: 343 additions & 171 deletions
514
examples/stm32/lwmem_rtos_stm32l496_discovery/STM32CubeIDE/.cproject
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* OTHER DEALINGS IN THE SOFTWARE. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef __MAIN_H | ||
#define __MAIN_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* OTHER DEALINGS IN THE SOFTWARE. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#include "main.h" | ||
#include "cmsis_os.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* OTHER DEALINGS IN THE SOFTWARE. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef __MAIN_H | ||
#define __MAIN_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
* OTHER DEALINGS IN THE SOFTWARE. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#include "main.h" | ||
#include "lwmem/lwmem.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_H | ||
#define LWMEM_HDR_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPT_H | ||
#define LWMEM_HDR_OPT_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_OPTS_H | ||
#define LWMEM_HDR_OPTS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#ifndef LWMEM_HDR_SYS_H | ||
#define LWMEM_HDR_SYS_H | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#include <limits.h> | ||
#include <string.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#include "system/lwmem_sys.h" | ||
|
||
|
@@ -39,8 +39,10 @@ | |
|
||
uint8_t | ||
lwmem_sys_mutex_create(LWMEM_CFG_OS_MUTEX_HANDLE* m) { | ||
*m = osMutexNew(NULL); | ||
return lwmem_sys_mutex_isvalid(m); | ||
const osMutexAttr_t attr = { | ||
.name = "lwmem_mutex", | ||
}; | ||
return (*m = osMutexNew(&attr)) != NULL; | ||
} | ||
|
||
uint8_t | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#include "system/lwmem_sys.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
* This file is part of LwMEM - Lightweight dynamic memory manager library. | ||
* | ||
* Author: Tilen MAJERLE <[email protected]> | ||
* Version: v1.5.2 | ||
* Version: v1.5.3 | ||
*/ | ||
#include "system/lwmem_sys.h" | ||
|
||
|