forked from alifsemi/alif_dave2d-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dave_cfg.h
44 lines (35 loc) · 1.35 KB
/
dave_cfg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//-----------------------------------------------------------------------------
// Copyright (C) 2023 Alif Semiconductor - All Rights Reserved.
// Use, distribution and modification of this code is permitted under the
// terms stated in the Alif Semiconductor Software License Agreement
//
// You should have received a copy of the Alif Semiconductor Software
// License Agreement with this file. If not, please write to:
// [email protected], or visit: https://alifsemi.com/license
//
//-----------------------------------------------------------------------------
// Project: D/AVE
// File: dave_cfg.h
//
// Description: This file contains the D/AVE D1 configuration definitions.
//-----------------------------------------------------------------------------
#ifndef __1_dave_cfg_h_H
#define __1_dave_cfg_h_H
#if defined(_RTE_)
#include "RTE_Components.h"
#endif
// Memory allocation options
#define D1_MALLOC_D0LIB 0
#define D1_MALLOC_STDLIB 1
#define D1_MALLOC_CUSTOM 2
// Use DLIST indirect
#define D1_DLIST_INDIRECT 0
// Choose memory allocation manager
#define D1_MEM_ALLOC D1_MALLOC_D0LIB
// Choose which d0lib memory manager to use
#if (D1_MEM_ALLOC == D1_MALLOC_D0LIB)
// #define WITH_MM_FIXED_RANGE_FIXED_BLKCNT
#define WITH_MM_FIXED_RANGE
// #define WITH_MM_DYNAMIC
#endif
#endif