mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-01-13 21:42:53 +08:00
Merge branch 'master' into develop
This commit is contained in:
commit
d6c62982aa
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## Develop
|
## Develop
|
||||||
|
|
||||||
|
## v1.5.1
|
||||||
|
|
||||||
|
- Fix memory cleanup macro setup
|
||||||
|
|
||||||
## v1.5.0
|
## v1.5.0
|
||||||
|
|
||||||
- Add option to cleanup memory on free and realloc operations
|
- Add option to cleanup memory on free and realloc operations
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of Lightweight dynamic memory manager library.
|
* This file is part of Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPTS_H
|
#ifndef LWMEM_HDR_OPTS_H
|
||||||
#define LWMEM_HDR_OPTS_H
|
#define LWMEM_HDR_OPTS_H
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPTS_H
|
#ifndef LWMEM_HDR_OPTS_H
|
||||||
#define LWMEM_HDR_OPTS_H
|
#define LWMEM_HDR_OPTS_H
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef __MAIN_H
|
#ifndef __MAIN_H
|
||||||
#define __MAIN_H
|
#define __MAIN_H
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "cmsis_os.h"
|
#include "cmsis_os.h"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPTS_H
|
#ifndef LWMEM_HDR_OPTS_H
|
||||||
#define LWMEM_HDR_OPTS_H
|
#define LWMEM_HDR_OPTS_H
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef __MAIN_H
|
#ifndef __MAIN_H
|
||||||
#define __MAIN_H
|
#define __MAIN_H
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "lwmem/lwmem.h"
|
#include "lwmem/lwmem.h"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPTS_H
|
#ifndef LWMEM_HDR_OPTS_H
|
||||||
#define LWMEM_HDR_OPTS_H
|
#define LWMEM_HDR_OPTS_H
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPTS_H
|
#ifndef LWMEM_HDR_OPTS_H
|
||||||
#define LWMEM_HDR_OPTS_H
|
#define LWMEM_HDR_OPTS_H
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPTS_H
|
#ifndef LWMEM_HDR_OPTS_H
|
||||||
#define LWMEM_HDR_OPTS_H
|
#define LWMEM_HDR_OPTS_H
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPTS_H
|
#ifndef LWMEM_HDR_OPTS_H
|
||||||
#define LWMEM_HDR_OPTS_H
|
#define LWMEM_HDR_OPTS_H
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_H
|
#ifndef LWMEM_HDR_H
|
||||||
#define LWMEM_HDR_H
|
#define LWMEM_HDR_H
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPT_H
|
#ifndef LWMEM_HDR_OPT_H
|
||||||
#define LWMEM_HDR_OPT_H
|
#define LWMEM_HDR_OPT_H
|
||||||
@ -90,7 +90,7 @@ extern "C" {
|
|||||||
*
|
*
|
||||||
* It resets unused memory to `0x00` and prevents other applications seeing old data.
|
* It resets unused memory to `0x00` and prevents other applications seeing old data.
|
||||||
* It is disabled by default since it has performance penalties.
|
* It is disabled by default since it has performance penalties.
|
||||||
* /
|
*/
|
||||||
#ifndef LWMEM_CFG_CLEAN_MEMORY
|
#ifndef LWMEM_CFG_CLEAN_MEMORY
|
||||||
#define LWMEM_CFG_CLEAN_MEMORY 0
|
#define LWMEM_CFG_CLEAN_MEMORY 0
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_OPTS_H
|
#ifndef LWMEM_HDR_OPTS_H
|
||||||
#define LWMEM_HDR_OPTS_H
|
#define LWMEM_HDR_OPTS_H
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#ifndef LWMEM_HDR_SYS_H
|
#ifndef LWMEM_HDR_SYS_H
|
||||||
#define LWMEM_HDR_SYS_H
|
#define LWMEM_HDR_SYS_H
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#include "system/lwmem_sys.h"
|
#include "system/lwmem_sys.h"
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#include "system/lwmem_sys.h"
|
#include "system/lwmem_sys.h"
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
* This file is part of LwMEM - Lightweight dynamic memory manager library.
|
||||||
*
|
*
|
||||||
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
* Author: Tilen MAJERLE <tilen@majerle.eu>
|
||||||
* Version: v1.5.0
|
* Version: v1.5.1
|
||||||
*/
|
*/
|
||||||
#include "system/lwmem_sys.h"
|
#include "system/lwmem_sys.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user