-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from AlexTawseArm/mleco-4409-corstone-315
MLECO-4409: Arm Corstone-315 support
- Loading branch information
Showing
17 changed files
with
394 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,3 +116,6 @@ out/ | |
tmp/ | ||
*.cbuild.yml | ||
*.cbuild-idx.yml | ||
*.cbuild-pack.yml | ||
*.cbuild-set.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its | ||
* SPDX-FileCopyrightText: Copyright 2022, 2024 Arm Limited and/or its | ||
* affiliates <[email protected]> | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
|
@@ -20,6 +20,11 @@ | |
|
||
#include "uart_config.h" | ||
#include "uart_stdout.h" | ||
|
||
/* Platform dependent files */ | ||
#include "RTE_Components.h" /* Provides definition for CMSIS_device_header */ | ||
#include CMSIS_device_header /* Gives us IRQ num, base addresses. */ | ||
|
||
#include <stdint.h> | ||
#include <stdio.h> | ||
|
||
|
@@ -46,7 +51,7 @@ typedef struct { | |
__IO uint32_t BAUDDIV; /* Offset: 0x010 (R/W) Baudrate Divider Register */ | ||
} CMSDK_UART_TypeDef; | ||
|
||
#define CMSDK_UART0_BASE UART0_BASE | ||
#define CMSDK_UART0_BASE UART0_BASE_NS | ||
#define CMSDK_UART0 ((CMSDK_UART_TypeDef*)CMSDK_UART0_BASE) | ||
#define CMSDK_UART0_BAUDRATE UART0_BAUDRATE | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its | ||
* SPDX-FileCopyrightText: Copyright 2022, 2024 Arm Limited and/or its | ||
* affiliates <[email protected]> | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
|
@@ -19,7 +19,6 @@ | |
#ifndef _UART_CONFIG_H_ | ||
#define _UART_CONFIG_H_ | ||
|
||
#define UART0_BASE (0x49303000) | ||
#define UART0_BAUDRATE (115200) | ||
#define SYSTEM_CORE_CLOCK (25000000) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Copyright (c) 2021-2022 Arm Limited. All rights reserved. | ||
; SPDX-FileCopyrightText: Copyright 2021-2022, 2024 Arm Limited and/or its affiliates <[email protected]> | ||
; SPDX-License-Identifier: Apache-2.0 | ||
; | ||
; Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
@@ -16,8 +16,6 @@ | |
; ************************************************************* | ||
; *** Scatter-Loading Description File *** | ||
; ************************************************************* | ||
; Please see docs/sections/appendix.md for memory mapping | ||
; information. | ||
; | ||
; Note: Ethos-U NPU can access BRAM, internal SRAM and the DDR | ||
; sections => activation buffers and the model should | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Copyright (c) 2021-2022 Arm Limited. All rights reserved. | ||
; SPDX-FileCopyrightText: Copyright 2021-2022, 2024 Arm Limited and/or its affiliates <[email protected]> | ||
; SPDX-License-Identifier: Apache-2.0 | ||
; | ||
; Licensed under the Apache License, Version 2.0 (the "License"); | ||
|
@@ -16,14 +16,11 @@ | |
; ************************************************************* | ||
; *** Scatter-Loading Description File *** | ||
; ************************************************************* | ||
; Please see docs/sections/appendix.md for memory mapping | ||
; information. | ||
; | ||
; Note: Ethos-U NPU can access BRAM, internal SRAM and the DDR | ||
; sections => activation buffers and the model should | ||
; only be placed in those regions. | ||
; | ||
|
||
;--------------------------------------------------------- | ||
; First load region (SRAM/BRAM) 2MiB region | ||
;--------------------------------------------------------- | ||
|
Oops, something went wrong.