Merge branch 'master' into develop

This commit is contained in:
Tilen Majerle 2021-04-18 22:54:36 +02:00
commit d6c62982aa
20 changed files with 24 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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"

View File

@ -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"

View File

@ -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"