From 585ce694dbbebfe5ba737fe94888343cb8976ac3 Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Tue, 8 Mar 2022 13:28:05 +0100 Subject: 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 --- applications/message_handler/model_template.hpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 applications/message_handler/model_template.hpp (limited to 'applications/message_handler/model_template.hpp') 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 + +__attribute__((section(".sram.data"), aligned(16))) uint8_t networkModel[] = { + /* Add network model here */ +}; -- cgit v1.2.1