Skip to content

Commit 0f24009

Browse files
Update to cmsis-toolbox 2.6.1
1 parent d49f3ed commit 0f24009

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+29124
-45
lines changed

.alif/M55_HE_cfg.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
2+
"DEVICE": {
3+
"disabled" : false,
4+
"binary": "app-device-config.json",
5+
"version" : "0.5.00",
6+
"signed": true
7+
},
28
"USER_APP": {
39
"binary": "alif-img.bin",
410
"mramAddress": "0x80000000",

.alif/M55_HP_cfg.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
2+
"DEVICE": {
3+
"disabled" : false,
4+
"binary": "app-device-config.json",
5+
"version" : "0.5.00",
6+
"signed": true
7+
},
28
"USER_APP": {
39
"binary": "alif-img.bin",
4-
"mramAddress": "0x80000000",
10+
"mramAddress": "0x80200000",
511
"version": "1.0.0",
612
"cpu_id": "M55_HP",
713
"flags": ["boot"],

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tmp/
22
out/
3-
RTE/
43
*.yml
4+
!alif.cbuild-pack.yml
55
*.cprj
66
*.clangd

alif.cbuild-pack.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
cbuild-pack:
2+
resolved-packs:
3+
- resolved-pack: ARM::[email protected]
4+
selected-by-pack:
5+
- ARM::CMSIS@>=5.9.0
6+
- resolved-pack: ARM::[email protected]
7+
selected-by-pack:
8+
- ARM::CMSIS-FreeRTOS@>=10.5.1
9+
- resolved-pack: AlifSemiconductor::[email protected]
10+
selected-by-pack:
11+
- AlifSemiconductor::[email protected]
12+
- resolved-pack: AlifSemiconductor::[email protected]
13+
selected-by-pack:
14+
- AlifSemiconductor::[email protected]
15+
- resolved-pack: AlifSemiconductor::[email protected]
16+
selected-by-pack:
17+
- AlifSemiconductor::[email protected]
18+
- resolved-pack: LVGL::[email protected]
19+
selected-by-pack:
20+

alif.csolution.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/tools/projmgr/2.3.0/tools/projmgr/schemas/csolution.schema.json
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/Open-CMSIS-Pack/devtools/tools/projmgr/2.6.0/tools/projmgr/schemas/csolution.schema.json
22
solution:
3-
created-for: cmsis-toolbox@2.3.0
3+
created-for: cmsis-toolbox@2.6.0
44
cdefault:
55

6+
# List of tested compilers that can be selected
7+
select-compiler:
8+
- compiler: GCC
9+
10+
# Select used compiler
11+
compiler: GCC
12+
613
packs:
714
- pack: AlifSemiconductor::[email protected]
815
- pack: ARM::CMSIS@>=5.9.0
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/* Copyright (C) 2023 Alif Semiconductor - All Rights Reserved.
2+
* Use, distribution and modification of this code is permitted under the
3+
* terms stated in the Alif Semiconductor Software License Agreement
4+
*
5+
* You should have received a copy of the Alif Semiconductor Software
6+
* License Agreement with this file. If not, please write to:
7+
* [email protected], or visit: https://alifsemi.com/license
8+
*
9+
*/
10+
11+
//-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
12+
13+
#ifndef __M55_HE_CONFIG_H
14+
#define __M55_HE_CONFIG_H
15+
16+
// <o> Map Global to Local address of TCM Alias
17+
// <0=> DISABLE
18+
// <1=> ENABLE
19+
// <i> Defines Enable this to return aliased address in GlobalToLocal function
20+
// <i> Default: 0
21+
#define CONFIG_MAP_GLOBAL_TO_LOCAL_TCM_ALIAS 0
22+
23+
// <e> Prefetch Control
24+
// <i> Prefetch Control values for Performance Improvement
25+
26+
// <o> Maximum Outstanding Line-fills <1-6>
27+
// <i> Defines Maximum Outstanding line-fills issued on AXI
28+
// <i> Default: 3
29+
#define MEMSYSCTL_PFCR_MAX_OS_DEFAULT_VALUE 3
30+
31+
// <o> Maximum Look Ahead Distance <0-6>
32+
// <i> Defines Maximum Look Ahead distance
33+
// <i> Default: 6
34+
#define MEMSYSCTL_PFCR_MAX_LA_DEFAULT_VALUE 6
35+
36+
// <o> Minimum Look Ahead Distance <0-6>
37+
// <i> Defines Minimum Look Ahead distance
38+
// <i> Default: 2
39+
#define MEMSYSCTL_PFCR_MIN_LA_DEFAULT_VALUE 2
40+
41+
// </e> Prefetch Control
42+
43+
#endif /* __M55_HE_CONFIG_H */
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/* Copyright (C) 2023 Alif Semiconductor - All Rights Reserved.
2+
* Use, distribution and modification of this code is permitted under the
3+
* terms stated in the Alif Semiconductor Software License Agreement
4+
*
5+
* You should have received a copy of the Alif Semiconductor Software
6+
* License Agreement with this file. If not, please write to:
7+
* [email protected], or visit: https://alifsemi.com/license
8+
*
9+
*/
10+
11+
//-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
12+
13+
#ifndef __M55_HE_CONFIG_H
14+
#define __M55_HE_CONFIG_H
15+
16+
// <o> Map Global to Local address of TCM Alias
17+
// <0=> DISABLE
18+
// <1=> ENABLE
19+
// <i> Defines Enable this to return aliased address in GlobalToLocal function
20+
// <i> Default: 0
21+
#define CONFIG_MAP_GLOBAL_TO_LOCAL_TCM_ALIAS 0
22+
23+
// <e> Prefetch Control
24+
// <i> Prefetch Control values for Performance Improvement
25+
26+
// <o> Maximum Outstanding Line-fills <1-6>
27+
// <i> Defines Maximum Outstanding line-fills issued on AXI
28+
// <i> Default: 3
29+
#define MEMSYSCTL_PFCR_MAX_OS_DEFAULT_VALUE 3
30+
31+
// <o> Maximum Look Ahead Distance <0-6>
32+
// <i> Defines Maximum Look Ahead distance
33+
// <i> Default: 6
34+
#define MEMSYSCTL_PFCR_MAX_LA_DEFAULT_VALUE 6
35+
36+
// <o> Minimum Look Ahead Distance <0-6>
37+
// <i> Defines Minimum Look Ahead distance
38+
// <i> Default: 2
39+
#define MEMSYSCTL_PFCR_MIN_LA_DEFAULT_VALUE 2
40+
41+
// </e> Prefetch Control
42+
43+
#endif /* __M55_HE_CONFIG_H */
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/* Copyright (C) 2022 Alif Semiconductor - All Rights Reserved.
2+
* Use, distribution and modification of this code is permitted under the
3+
* terms stated in the Alif Semiconductor Software License Agreement
4+
*
5+
* You should have received a copy of the Alif Semiconductor Software
6+
* License Agreement with this file. If not, please write to:
7+
* [email protected], or visit: https://alifsemi.com/license
8+
*
9+
*/
10+
11+
#ifndef M55_HE_MAP_H
12+
#define M55_HE_MAP_H
13+
14+
#include "global_map.h"
15+
/******************************************************************************/
16+
/* Local memory map */
17+
/******************************************************************************/
18+
#define ITCM_BASE (0x00000000UL)
19+
#define ITCM_ALIAS_BIT (0x01000000UL)
20+
#define ITCM_REGION_SIZE (0x02000000UL)
21+
#define ITCM_SIZE (SRAM4_SIZE) /* 256K */
22+
#define ITCM_GLOBAL_BASE (SRAM4_BASE)
23+
24+
#define DTCM_BASE (0x20000000UL)
25+
#define DTCM_ALIAS_BIT (0x01000000UL)
26+
#define DTCM_REGION_SIZE (0x02000000UL)
27+
#define DTCM_SIZE (SRAM5_SIZE) /* 256K */
28+
#define DTCM_GLOBAL_BASE (SRAM5_BASE)
29+
30+
#define MHU_A32_M55HE_0_RX_BASE 0x40000000UL
31+
#define MHU_M55HE_A32_0_TX_BASE 0x40010000UL
32+
#define MHU_A32_M55HE_1_RX_BASE 0x40020000UL
33+
#define MHU_M55HE_A32_1_TX_BASE 0x40030000UL
34+
#define MHU_SECPU_M55HE_0_RX_BASE 0x40040000UL
35+
#define MHU_M55HE_SECPU_0_TX_BASE 0x40050000UL
36+
#define MHU_SECPU_M55HE_1_RX_BASE 0x40060000UL
37+
#define MHU_M55HE_SECPU_1_TX_BASE 0x40070000UL
38+
#define MHU_M55HP_M55HE_0_RX_BASE 0x40080000UL
39+
#define MHU_M55HE_M55HP_0_TX_BASE 0x40090000UL
40+
#define MHU_M55HP_M55HE_1_RX_BASE 0x400A0000UL
41+
#define MHU_M55HE_M55HP_1_TX_BASE 0x400B0000UL
42+
43+
#define MHU_APSS_S_RX_BASE MHU_A32_M55HE_0_RX_BASE
44+
#define MHU_APSS_S_TX_BASE MHU_M55HE_A32_0_TX_BASE
45+
#define MHU_APSS_NS_RX_BASE MHU_A32_M55HE_1_RX_BASE
46+
#define MHU_APSS_NS_TX_BASE MHU_M55HE_A32_1_TX_BASE
47+
#define MHU_SESS_S_RX_BASE MHU_SECPU_M55HE_0_RX_BASE
48+
#define MHU_SESS_S_TX_BASE MHU_M55HE_SECPU_0_TX_BASE
49+
#define MHU_SESS_NS_RX_BASE MHU_SECPU_M55HE_1_RX_BASE
50+
#define MHU_SESS_NS_TX_BASE MHU_M55HE_SECPU_1_TX_BASE
51+
#define MHU_RTSS_S_RX_BASE MHU_M55HP_M55HE_0_RX_BASE
52+
#define MHU_RTSS_S_TX_BASE MHU_M55HE_M55HP_0_TX_BASE
53+
#define MHU_RTSS_NS_RX_BASE MHU_M55HP_M55HE_1_RX_BASE
54+
#define MHU_RTSS_NS_TX_BASE MHU_M55HE_M55HP_1_TX_BASE
55+
56+
#define DMA2_SEC_BASE 0x400C0000UL
57+
#define DMA2_NS_BASE 0x400E0000UL
58+
#define DMALOCAL_SEC_BASE DMA2_SEC_BASE
59+
#define DMALOCAL_NS_BASE DMA2_NS_BASE
60+
61+
#define NPU_HE_BASE 0x400E1000UL
62+
#define LOCAL_NPU_BASE NPU_HE_BASE
63+
64+
#define EVTRTR2_BASE 0x400E2000UL
65+
#define EVTRTRLOCAL_BASE EVTRTR2_BASE
66+
67+
#define WDT_HE_CTRL_BASE 0x40100000UL
68+
#define WDT_HE_REFRESH_BASE 0x40101000UL
69+
#define LOCAL_WDT_CTRL_BASE WDT_HE_CTRL_BASE
70+
#define LOCAL_WDT_REFRESH_BASE WDT_HE_REFRESH_BASE
71+
72+
#endif /* M55_HE_MAP_H */
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/* Copyright (C) 2022 Alif Semiconductor - All Rights Reserved.
2+
* Use, distribution and modification of this code is permitted under the
3+
* terms stated in the Alif Semiconductor Software License Agreement
4+
*
5+
* You should have received a copy of the Alif Semiconductor Software
6+
* License Agreement with this file. If not, please write to:
7+
* [email protected], or visit: https://alifsemi.com/license
8+
*
9+
*/
10+
11+
#ifndef M55_HE_MAP_H
12+
#define M55_HE_MAP_H
13+
14+
#include "global_map.h"
15+
/******************************************************************************/
16+
/* Local memory map */
17+
/******************************************************************************/
18+
#define ITCM_BASE (0x00000000UL)
19+
#define ITCM_ALIAS_BIT (0x01000000UL)
20+
#define ITCM_REGION_SIZE (0x02000000UL)
21+
#define ITCM_SIZE (SRAM4_SIZE) /* 256K */
22+
#define ITCM_GLOBAL_BASE (SRAM4_BASE)
23+
24+
#define DTCM_BASE (0x20000000UL)
25+
#define DTCM_ALIAS_BIT (0x01000000UL)
26+
#define DTCM_REGION_SIZE (0x02000000UL)
27+
#define DTCM_SIZE (SRAM5_SIZE) /* 256K */
28+
#define DTCM_GLOBAL_BASE (SRAM5_BASE)
29+
30+
#define MHU_A32_M55HE_0_RX_BASE 0x40000000UL
31+
#define MHU_M55HE_A32_0_TX_BASE 0x40010000UL
32+
#define MHU_A32_M55HE_1_RX_BASE 0x40020000UL
33+
#define MHU_M55HE_A32_1_TX_BASE 0x40030000UL
34+
#define MHU_SECPU_M55HE_0_RX_BASE 0x40040000UL
35+
#define MHU_M55HE_SECPU_0_TX_BASE 0x40050000UL
36+
#define MHU_SECPU_M55HE_1_RX_BASE 0x40060000UL
37+
#define MHU_M55HE_SECPU_1_TX_BASE 0x40070000UL
38+
#define MHU_M55HP_M55HE_0_RX_BASE 0x40080000UL
39+
#define MHU_M55HE_M55HP_0_TX_BASE 0x40090000UL
40+
#define MHU_M55HP_M55HE_1_RX_BASE 0x400A0000UL
41+
#define MHU_M55HE_M55HP_1_TX_BASE 0x400B0000UL
42+
43+
#define MHU_APSS_S_RX_BASE MHU_A32_M55HE_0_RX_BASE
44+
#define MHU_APSS_S_TX_BASE MHU_M55HE_A32_0_TX_BASE
45+
#define MHU_APSS_NS_RX_BASE MHU_A32_M55HE_1_RX_BASE
46+
#define MHU_APSS_NS_TX_BASE MHU_M55HE_A32_1_TX_BASE
47+
#define MHU_SESS_S_RX_BASE MHU_SECPU_M55HE_0_RX_BASE
48+
#define MHU_SESS_S_TX_BASE MHU_M55HE_SECPU_0_TX_BASE
49+
#define MHU_SESS_NS_RX_BASE MHU_SECPU_M55HE_1_RX_BASE
50+
#define MHU_SESS_NS_TX_BASE MHU_M55HE_SECPU_1_TX_BASE
51+
#define MHU_RTSS_S_RX_BASE MHU_M55HP_M55HE_0_RX_BASE
52+
#define MHU_RTSS_S_TX_BASE MHU_M55HE_M55HP_0_TX_BASE
53+
#define MHU_RTSS_NS_RX_BASE MHU_M55HP_M55HE_1_RX_BASE
54+
#define MHU_RTSS_NS_TX_BASE MHU_M55HE_M55HP_1_TX_BASE
55+
56+
#define DMA2_SEC_BASE 0x400C0000UL
57+
#define DMA2_NS_BASE 0x400E0000UL
58+
#define DMALOCAL_SEC_BASE DMA2_SEC_BASE
59+
#define DMALOCAL_NS_BASE DMA2_NS_BASE
60+
61+
#define NPU_HE_BASE 0x400E1000UL
62+
#define LOCAL_NPU_BASE NPU_HE_BASE
63+
64+
#define EVTRTR2_BASE 0x400E2000UL
65+
#define EVTRTRLOCAL_BASE EVTRTR2_BASE
66+
67+
#define WDT_HE_CTRL_BASE 0x40100000UL
68+
#define WDT_HE_REFRESH_BASE 0x40101000UL
69+
#define LOCAL_WDT_CTRL_BASE WDT_HE_CTRL_BASE
70+
#define LOCAL_WDT_REFRESH_BASE WDT_HE_REFRESH_BASE
71+
72+
#endif /* M55_HE_MAP_H */

0 commit comments

Comments
 (0)