diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2022-03-08 13:28:05 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2022-03-11 15:07:50 +0100 |
commit | 585ce694dbbebfe5ba737fe94888343cb8976ac3 (patch) | |
tree | 14dde4fcf5873bbdc5453c6b121140b3c6a2ac8f /applications/message_handler/model_template.hpp | |
parent | d188e902d7002ec748a3ac963db8b3b195fce499 (diff) | |
download | ethos-u-core-platform-585ce694dbbebfe5ba737fe94888343cb8976ac3.tar.gz |
Firmware resident model
Support building a network model into the firmware binary. The model
can be placed by a scatter file or linker script in for example a
low lateny high bandwidth memory like SRAM.
Change-Id: Ic742abed65e20f0da4ded7adefb039389b68b767
Diffstat (limited to 'applications/message_handler/model_template.hpp')
-rw-r--r-- | applications/message_handler/model_template.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/applications/message_handler/model_template.hpp b/applications/message_handler/model_template.hpp new file mode 100644 index 0000000..06636b2 --- /dev/null +++ b/applications/message_handler/model_template.hpp @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2022 Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <stdint.h> + +__attribute__((section(".sram.data"), aligned(16))) uint8_t networkModel[] = { + /* Add network model here */ +}; |