Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Arm Limited and/or its affiliates
# Copyright 2024-2025 Arm Limited and/or its affiliates
# <[email protected]>
# SPDX-License-Identifier: MIT

Expand Down Expand Up @@ -26,6 +26,7 @@ RUN apt-get update && \
gdb \
lcov \
libbz2-dev \
libclang-14-dev \
libffi-dev \
libgdbm-dev \
libgdbm-compat-dev \
Expand Down Expand Up @@ -74,6 +75,7 @@ RUN pip3 install \
cbor \
cbor2 \
cffi \
clang==14.0 \
cmake \
imgtool \
intelhex \
Expand All @@ -83,10 +85,19 @@ RUN pip3 install \
pyelftools \
pyhsslms \
PyYaml \
rich \
setuptools \
towncrier \
wheel

# This is needed to define where the libclang shared object is located
ENV LD_LIBRARY_PATH="/usr/lib/llvm-14/lib:${LD_LIBRARY_PATH}"

# This is needed for the GDB debugger to work
RUN sudo add-apt-repository -y ppa:deadsnakes/ppa && \
sudo apt-get update && \
sudo apt-get -y install python3.8 libpython3.8 libpython3.8-dev

# Create the user
RUN groupadd --gid $USER_GID $USERNAME \
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
Expand Down
4 changes: 4 additions & 0 deletions .github/.cSpellWords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Cqqpk
CSRS
ctest
Customisation
CYBW
DACTIVATION
DARM
DCMAKE
Expand Down Expand Up @@ -165,6 +166,8 @@ nents
NIOS
NSPE
NVIC
Nyhq
obec
ohmyzsh
Onoa
OPTIM
Expand Down Expand Up @@ -258,6 +261,7 @@ Werror
WGHT
wght
WLATENCY
WZYKHR
Xcycu
xtea
Xwzpc
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
- name: Install build dependencies
shell: bash
run: |
pip install cmake ninja imgtool cffi intelhex cbor2 cbor jinja2 PyYaml pyelftools pyhsslms
pip install cmake ninja imgtool cffi intelhex cbor2 cbor jinja2 PyYaml pyelftools pyhsslms clang==14.0 rich
sudo apt-get -y update
sudo apt-get -y install srecord libsndfile1-dev
sudo apt-get -y install srecord libsndfile1-dev libclang-14-dev
- name: Install GNU Arm toolchain
shell: bash
run: |
Expand All @@ -67,6 +67,10 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "ci"
git config --global core.autocrlf input
- name: Set up LD_LIBRARY_PATH
shell: bash
run: |
echo "LD_LIBRARY_PATH=/usr/lib/llvm-14/lib:\$LD_LIBRARY_PATH" >> $GITHUB_ENV
- name: Build ${{ matrix.application }} application
shell: bash
run: |
Expand Down
16 changes: 8 additions & 8 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2024 Arm Limited and/or its affiliates
// Copyright 2021-2025 Arm Limited and/or its affiliates
// <[email protected]>
// SPDX-License-Identifier: MIT

Expand Down Expand Up @@ -40,7 +40,7 @@
"${input:FRITarget}",
"${input:FRICameraFramesPath}",
"${input:FRIBuildDirectory}",
"${input:FRIDisplay}"
"${input:FRIHdLcdGui}"
],
"options": {
"cwd": "${workspaceFolder}"
Expand All @@ -65,7 +65,7 @@
"${input:FRIBuildDirectory}",
"${input:FRICameraFramesPath}",
"${input:FRIGdbDebuggerPlugin}",
"${input:FRIDisplay}"
"${input:FRIHdLcdGui}"
],
"options": {
"cwd": "${workspaceFolder}"
Expand Down Expand Up @@ -161,13 +161,13 @@
},
{
"type": "pickString",
"id": "FRIDisplay",
"description": "Is display (GUI) available?",
"id": "FRIHdLcdGui",
"description": "Is HDLCD GUI available?",
"options": [
"-Dtrue",
"-Dfalse"
"-Gtrue",
"-Gfalse"
],
"default": "-Dfalse"
"default": "-Gfalse"
},
]
}
2 changes: 1 addition & 1 deletion applications/blinky/tests/corstone300_pass_output.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Waiting for provisioning bundle
Running provisioning bundle
Booting TF-M v2.1.1
Booting TF-M v2.2.0
psa_framework_version is: 257
LED on
LED off
Expand Down
2 changes: 1 addition & 1 deletion applications/blinky/tests/corstone310_pass_output.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Waiting for provisioning bundle
Running provisioning bundle
Booting TF-M v2.1.1
Booting TF-M v2.2.0
psa_framework_version is: 257
LED on
LED off
Expand Down
2 changes: 1 addition & 1 deletion applications/blinky/tests/corstone315_pass_output.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Waiting for DM provisioning bundle
Running DM provisioning bundle
Booting TF-M v2.1.1
Booting TF-M v2.2.0
psa_framework_version is: 257
LED on
LED off
Expand Down
2 changes: 1 addition & 1 deletion applications/blinky/tests/corstone320_pass_output.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Waiting for DM provisioning bundle
Running DM provisioning bundle
Booting TF-M v2.1.1
Booting TF-M v2.2.0
psa_framework_version is: 257
LED on
LED off
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* FreeRTOS Kernel V10.4.1
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
* Copyright (c) 2022-2025, Arm Limited and Contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
Expand Down Expand Up @@ -35,6 +35,12 @@

#include "app_config.h"

/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
/* *INDENT-ON* */

#ifndef __USED
#define __USED __attribute__( ( used ) )
#endif
Expand Down Expand Up @@ -234,4 +240,10 @@ void vLoggingPrintf( const char * pcFormat,

#define democonfigNETWORK_TYPES ( AWSIOT_NETWORK_TYPE_ETH )

/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
/* *INDENT-ON* */

#endif /* FREERTOS_CONFIG_H */
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Waiting for provisioning bundle
Running provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
ML Model Component (ID 2) version=0.0.11
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
ML Model Component (ID 2) version=0.0.42
ML interface initialised
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Waiting for provisioning bundle
Running provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.20
ML interface initialised
ML_HEARD_ON
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Waiting for provisioning bundle
Running provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
ML Model Component (ID 2) version=0.0.11
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
ML Model Component (ID 2) version=0.0.42
ML interface initialised
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Waiting for provisioning bundle
Running provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.20
ML interface initialised
ML_HEARD_ON
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Waiting for DM provisioning bundle
Running DM provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
ML Model Component (ID 2) version=0.0.11
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
ML Model Component (ID 2) version=0.0.42
ML interface initialised
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Waiting for DM provisioning bundle
Running DM provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.20
ML interface initialised
ML_HEARD_ON
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Waiting for DM provisioning bundle
Running DM provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
ML Model Component (ID 2) version=0.0.11
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
ML Model Component (ID 2) version=0.0.42
ML interface initialised
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Waiting for DM provisioning bundle
Running DM provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.20
ML interface initialised
ML_HEARD_ON
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* FreeRTOS Kernel V10.4.1
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Copyright (c) 2022-2024, Arm Limited and Contributors. All rights reserved.
* Copyright (c) 2022-2025, Arm Limited and Contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
Expand Down Expand Up @@ -35,6 +35,12 @@

#include "app_config.h"

/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
/* *INDENT-ON* */

#ifndef __USED
#define __USED __attribute__( ( used ) )
#endif
Expand Down Expand Up @@ -234,4 +240,10 @@ void vLoggingPrintf( const char * pcFormat,

#define democonfigNETWORK_TYPES ( AWSIOT_NETWORK_TYPE_ETH )

/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
/* *INDENT-ON* */

#endif /* FREERTOS_CONFIG_H */
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Waiting for provisioning bundle
Running provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.20
Complete recognition: Detected faces: 2
Complete recognition: Detected faces: 2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Waiting for provisioning bundle
Running provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.20
Complete recognition: Detected faces: 2
Complete recognition: Detected faces: 2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Waiting for DM provisioning bundle
Running DM provisioning bundle
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.10
Starting bootloader
Booting TF-M v2.1.1
Booting TF-M v2.2.0
PSA Framework version is: 257
Secure Component (ID 0) version=2.1.1
Secure Component (ID 0) version=2.2.0
Non-Secure Component (ID 1) version=0.0.20
Complete recognition: Detected faces: 2
Complete recognition: Detected faces: 2
Expand Down
Loading