Skip to content

Commit 77431fb

Browse files
MatthiasHertel80VladimirUmek
authored andcommitted
Add CS320 BSP and AI layer settings
1 parent ba0b86b commit 77431fb

38 files changed

+6271
-7
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright (c) 2024 Arm Limited. All rights reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
// <<< Use Configuration Wizard in Context Menu >>>
5+
6+
// <e> Fixed Debug Authentication
7+
// <i> Use a fixed value for Debug Authentication. Only secure debug authentication configurable.
8+
DAuthFixed = 0x1;
9+
10+
// <q.2> Secure Invasive Debug
11+
// <q.3> Secure Non-Invasive Debug
12+
DAuthConfig = 0xF;
13+
14+
// </e>
15+
16+
// <<< end of configuration section >>>

.cmsis/[email protected]

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright (c) 2024 Arm Limited. All rights reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
// <<< Use Configuration Wizard in Context Menu >>>
5+
6+
// <e> Fixed Debug Authentication
7+
// <i> Use a fixed value for Debug Authentication. Only secure debug authentication configurable.
8+
DAuthFixed = 0x1;
9+
10+
// <q.2> Secure Invasive Debug
11+
// <q.3> Secure Non-Invasive Debug
12+
DAuthConfig = 0xF;
13+
14+
// </e>
15+
16+
// <<< end of configuration section >>>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* CSOLUTION generated file: DO NOT EDIT!
3+
* Generated by: csolution version 2.12.0
4+
*
5+
* Project: 'executorch_project.Debug+AVH-SSE-320'
6+
* Target: 'Debug+AVH-SSE-320'
7+
*/
8+
9+
#ifndef PRE_INCLUDE_GLOBAL_H
10+
#define PRE_INCLUDE_GLOBAL_H
11+
12+
/* ARM::Machine Learning:NPU Support:Ethos-U Driver&Generic [email protected] */
13+
// enabling global pre includes
14+
#define ETHOSU_ARCH u85
15+
16+
17+
#endif /* PRE_INCLUDE_GLOBAL_H */
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* CSOLUTION generated file: DO NOT EDIT!
3+
* Generated by: csolution version 2.12.0
4+
*
5+
* Project: 'executorch_project.Debug+AVH-SSE-320'
6+
* Target: 'Debug+AVH-SSE-320'
7+
*/
8+
9+
#ifndef RTE_COMPONENTS_H
10+
#define RTE_COMPONENTS_H
11+
12+
13+
/*
14+
* Define the Device Header File:
15+
*/
16+
#define CMSIS_device_header "SSE320.h"
17+
18+
/* ARM::CMSIS:RTOS2:Keil RTX5&[email protected] */
19+
#define RTE_CMSIS_RTOS2 /* CMSIS-RTOS2 */
20+
#define RTE_CMSIS_RTOS2_RTX5 /* CMSIS-RTOS2 Keil RTX5 */
21+
#define RTE_CMSIS_RTOS2_RTX5_SOURCE /* CMSIS-RTOS2 Keil RTX5 Source */
22+
/* ARM::Device:Native Driver:[email protected] */
23+
#define RTE_SYSCOUNTER 1
24+
/* ARM::Device:Native Driver:[email protected] */
25+
#define RTE_TIMEOUT 1
26+
/* ARM::Machine Learning:NPU Support:Ethos-U Driver&Generic [email protected] */
27+
#define RTE_ETHOS_U_CORE_DRIVER
28+
29+
30+
#endif /* RTE_COMPONENTS_H */
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
layer:
2+
type: Board
3+
description: Board setup for AI/ML with Ethos U85
4+
for-board: ARM::SSE-320
5+
for-device: ARM::SSE-320-FVP
6+
7+
connections:
8+
- connect: Corstone-320
9+
provides:
10+
- AVH_VIDEO
11+
12+
define:
13+
- ETHOSU85
14+
- ARM_MODEL_USE_PMU_COUNTERS
15+
16+
packs:
17+
- pack: ARM::CMSIS
18+
- pack: ARM::[email protected]
19+
20+
components:
21+
- component: ARM::CMSIS:CORE
22+
23+
- component: ARM::Device:Definition
24+
- component: ARM::Device:Startup&C Startup
25+
26+
- component: ARM::Device:Native Driver:Timeout
27+
- component: ARM::Device:Native Driver:SysCounter
28+
- component: ARM::Device:Native Driver:SysTimer
29+
30+
- component: ARM::Machine Learning:NPU Support:Ethos-U Driver&Generic U85
31+
32+
groups:
33+
- group: Board
34+
files:
35+
- file: ./main.c
36+
- file: ./main.h
37+
- file: ./uart_cmsdk_apb.c
38+
- file: ./uart_stdout.h
39+
- file: ./uart_config.h
40+
- file: ./retarget.c
41+
42+
- group: Streaming Interface
43+
files:
44+
- file: ./vsi/include/arm_vsi.h
45+
- file: ./vsi/audio/driver/audio_drv.c
46+
- file: ./vsi/audio/include/audio_drv.h
47+
- file: ./vsi/video/source/video_drv.c
48+
- file: ./vsi/video/include/video_drv.h
49+
50+
linker:
51+
- script: ./mps4-sse-320.sct
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
layer:
2+
type: Board
3+
description: Board setup for AI/ML
4+
for-board: ARM::SSE-320
5+
for-device: ARM::SSE-320-FVP
6+
7+
connections:
8+
- connect: Corstone-320
9+
provides:
10+
- AVH_VIDEO
11+
12+
13+
define:
14+
- CORSTONE320_FVP
15+
- ARM_MODEL_USE_PMU_COUNTERS
16+
- ETHOSU
17+
- ETHOSU85
18+
- ETHOSU_ARCH: u85
19+
20+
packs:
21+
- pack: ARM::[email protected]
22+
- pack: ARM::[email protected]
23+
24+
components:
25+
- component: ARM::CMSIS:CORE
26+
27+
- component: ARM::Device:Definition
28+
- component: ARM::Device:Startup&C Startup
29+
30+
- component: ARM::Device:Native Driver:Timeout
31+
- component: ARM::Device:Native Driver:SysCounter
32+
- component: ARM::Device:Native Driver:SysTimer
33+
34+
- component: ARM::Machine Learning:NPU Support:Ethos-U Driver&Generic U85
35+
36+
37+
groups:
38+
- group: Board
39+
files:
40+
- file: ./main.c
41+
- file: ./main.h
42+
- file: ./uart_cmsdk_apb.c
43+
- file: ./uart_stdout.h
44+
- file: ./uart_config.h
45+
- file: ./retarget.c
46+
47+
- group: Streaming Interface
48+
files:
49+
- file: ./vsi/include/arm_vsi.h
50+
- file: ./vsi/audio/driver/audio_drv.c
51+
- file: ./vsi/audio/include/audio_drv.h
52+
- file: ./vsi/video/source/video_drv.c
53+
- file: ./vsi/video/include/video_drv.h
54+
55+
linker:
56+
- script: ./mps4-sse-320.ld

0 commit comments

Comments
 (0)