summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/common/sdkconfig.h
blob: 57e4b7353d3effeae510301b42ad11b7cc0a730c (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
 * Copyright : (C) 2025 Phytium Information Technology, Inc.
 * All Rights Reserved.
 *
 * This program is OPEN SOURCE software: you can redistribute it and/or modify it
 * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd,
 * either version 1.0 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the Phytium Public License for more details.
 *
 *
 * FilePath: sdkconfig.h
 * Created Date: 2025-04-24 10:47:57
 * Last Modified: 2025-05-08 19:35:29
 * Description:  This file is for
 *
 * Modify History:
 *   Ver      Who        Date               Changes
 * -----  ----------  --------  ---------------------------------
 */

#ifndef SDK_CONFIG_H
#define SDK_CONFIG_H

#include "rtconfig.h"

/* openamp define */
#if defined(USE_OPENAMP)
#define CONFIG_USE_AMP
#define CONFIG_USE_LIBMETAL
#define CONFIG_USE_OPENAMP
#endif

#if defined(USE_OPENAMP_IPI)
#define CONFIG_USE_OPENAMP_IPI
#endif

#if defined (SKIP_SHBUF_IO_WRITE)
#define CONFIG_SKIP_SHBUF_IO_WRITE
#endif

#if defined (USE_MASTER_VRING_DEFINE)
#define CONFIG_USE_MASTER_VRING_DEFINE
#endif

#if defined (USE_CACHE_COHERENCY)
#define CONFIG_USE_CACHE_COHERENCY
#endif

#if defined (USE_DEFAULT_INTERRUPT_CONFIG)
#define CONFIG_USE_DEFAULT_INTERRUPT_CONFIG
#endif

#if defined (CONFIG_USE_DEFAULT_INTERRUPT_CONFIG)
#if defined (INTERRUPT_ROLE_SLAVE)
#define CONFIG_INTERRUPT_ROLE_SLAVE
#endif
#endif
#define CONFIG_MAX_XLAT_TABLES 256
#endif /* SDK_CONFIG_H */