- Aug 09, 2024
-
-
Replaced all occurrences of deprecated http://www.FreeRTOS.org/FreeRTOS-Plus/FreeRTOS_Plus_UDP/API/vApplicationIPNetworkEventHook.shtml with the updated documentation at https://www.freertos.org/Documentation/03-Libraries/02-FreeRTOS-plus/02-FreeRTOS-plus-TCP/09-API-reference/57-vApplicationIPNetworkEventHook in 4 application config files. Signed-off-by:
Reuben Cartwright <Reuben.Cartwright@arm.com>
-
This commit fixes failing pipelines by changing the towncrier configuration to ignore '.gitkeep' files. Towncrier is automatically updated to the latest version in the Docker image. Previous versions of towncrier automatically ignored `.gitkeep` in the `release_changes` subdirectory. This is not true anymore. Signed-off-by:
Reuben Cartwright <Reuben.Cartwright@arm.com>
-
Adds unit tests to Github workflows as a CI-Check. Signed-off-by:
Reuben Cartwright <Reuben.Cartwright@arm.com>
-
Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
This is done because C++ files will be added for unit testing due to GoogleTest. Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
The added functionalities are what is strictly needed from the coreMQTT and coreMQTT Agent modules to test the implementation of the FreeRTOS Agent Message module. Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
The subset is what is strictly needed from FreeRTOS for writing test for the implementation of coreMQTT Agent's FreeRTOS Agent Message module. Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
* GoogleTest is added as the unit test runner * Fake Function Framework is added to mock functions Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
- Jul 30, 2024
-
-
Devaraj Ranganna authored
The latest version contains a fix for memory leak in `C_FindObjects` API and using key IDs instead of deprecated key handles (Mbed TLS 3.6.0). Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
- Jul 12, 2024
-
-
Devaraj Ranganna authored
* fri: Update manifest to include tpip category TPIP categories: Category-2: Non-redistributed: Build time - where we do not redistribute 3rd party software in source but we rely on fetching and building that source. Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com> * ci: Improve `check_listed_dependencies.py` Currently `check_listed_dependencies.py`, only checks whether `license` attribute is mentioned in the `manifest.yml` for all the dependencies. Improve the script to check other mandatory attributes like `tpip-category`, `version` and `path`. Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com> --------- Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
- Jul 04, 2024
-
-
This commit contains two main changes: * Update to latest commit on `freertos-pkcs11-psa` master branch. * Remove build-Update-mbedtls-version patch as it is available upstream as part of the latest commit. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
Do not define __PASTE-macro for Arm compiler patch is modified as the issue that the patch is trying to solve was already introduced before for Keil Compiler so, the condition is just modified to add Arm Compiler too. This is done to be able to push this patch upstream. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
This patch is modified so it can be pushed upstream The idea is to check if the `MQTT_KEEP_ALIVE_INTERVAL_SECONDS` macro is defined by the user. Where if it is not defined, a default value (5) would be used, this way the user can choose the default value or different one that is to be provided using CMake or command line. In our case, target_compile_definitions() CMake function is used to overwrite the value of the macro for mqtt integration tests. This is done to avoid maintaining a patch which is project specific. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
This commit include the following changes: * Update MLEK library to latest release v24.05 * EthosU configurable arch patch is removed as the issue of the constant NPU ID `u55` has been fixed as part of v24.05 release. * Use case resources patch is modified as the user configurable use case resource file part of the patch was added to v24.05 release where the remaining part (user defined downloaded resources path) is to be available in v24.08 release. * tensorflow patch removed as the version of tensorflow dependency the new MLEK v24.05 use doesn't need this patch. * activation_buf_dram placement in .bss.NoInit region patch is removed to follow what MLEK library do regarding placement of the activation buffers in the respective linker files for each platform. This requires modification of all FRI supported platforms' linker files. * SetupMlEmbeddedEvaluationKitLibraries.cmake is modified to adapt to v24.05 release changes. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
This patch can be removed and substituted by using target_compile_definitions() CMake function to define `MBEDTLS_ALLOW_PRIVATE_ACCESS` for pkcs11 integration tests source files (core_pkcs11_test.c and dev_mode_key_provisioning.c) as they both need to define this macro as part of their source files to be able to access mbedtls private fields. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
The provisioning message change patch can't be pushed upstream as it is mainly done to adapt to our CI pass criteria. The intention is to remove of the out of tree patches, thus custom pass_output.log files have been created for each platform as the serial statements on the terminal are platform specific and should have different pass_output.log files to define the pass/success criteria for each platform. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
Nightly tests should support testing FRI applications/integration tests using FreeRTOS-Plus-TCP and IoT-vSocket connectivity stacks, integration tests nightly job is modified to use both stacks, and a new job is added to test FRI applications with IoT-vSocket stack as FreeRTOS-Plus-TCP stack is already used in other jobs. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
Instead of changing the desired connectivity stack manually in `components/connectivity/CMakeLists.txt`, a new option is added to the build script to choose the desired connectivity stack to be used during application compilation. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
sntp helper library depends on FreeRTOS-Plus-TCP connectivity stack as it includes `FreeRTOS_IP.h` header file in one of its source files (sntp_client_task.c), thus this library is only added in case of using FREERTOS_PLUS_TCP connectivity stack. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
- Jul 01, 2024
-
-
Devaraj Ranganna authored
Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
- Jun 19, 2024
-
-
Ahmed Ismail authored
pxLAN91C111_FillInterfaceDescriptor() function is implemented in freertos-plus-tcp portable code and then used in integration/src/network_startup.c source file without being declared resulting in function implicit declaration error. This was working before as FreeRTOS-Plus-TCP project previously forced the usage of C90 standard but now the standard in not forced thus the application's standard shall be used, in our case C99 standard is used. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
- May 23, 2024
-
-
It is always better to have a single return/exit from a function/test in which it would be easier for users to understand. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
pytests inside the nightly jobs `sw-vsi-config-test`, and `gnu-toolchain-test` should be run as part of the `script` section of these jobs as running the tests in the `after_script` section of these jobs won't have an influence on the exit code of the pipeline which might lead to false negative misleading CI results. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
The block time for the DSP task in speech-recognition application is increased from `120` ms to `140` ms as it seems to be overusing the CPU which result in incorrect inference with Software inference engine configuration. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
Tick rates are modified for all platforms to fix speech-recognition application with software inference issues related to incorrect inferred sentence. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
- May 22, 2024
-
-
Devaraj Ranganna authored
Set the git `core.autocrlf` to `input` so that, files with `CRLF` line-endings can be patched correctly. Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
Devaraj Ranganna authored
Define the macro `MBEDTLS_ALLOW_PRIVATE_ACCESS` to avoid the build failures caused while accessing private members of Mbed TLS structure with Mbed TLS 3.6.0. Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
Devaraj Ranganna authored
The MQTT server resets connection if the device doesn't send keep alive packets within keep-alive interval, which is configured to 5 seconds by default. Increase the keep-alive interval to 60 seconds to avoid connection reset request when the device is busy. Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
Devaraj Ranganna authored
The interface library `freertos-libraries-integration-tests-config` shouldn't contain any source code, unless there is an exception. Therefore, move `integration_tests_platform_function.c` under the project executable. Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
- May 17, 2024
-
-
The provisioning code which used by OTA has been changed, because from mbedtls 3.6.0 the psa_import_key() only accepts RSA keys in standard PSA format, mbedtls_pk_import_into_psa() is used instead. Signed-off-by:
Dávid Házi <david.hazi@arm.com>
-
Signed-off-by:
Dávid Házi <david.hazi@arm.com>
-
- May 09, 2024
-
-
Devaraj Ranganna authored
Even though CMake supports circular dependency, but currently it is supported only for static libraries. If CMake detects a circular dependency which involves an object library then CMake stops. For more info, check https://gitlab.kitware.com/cmake/cmake/-/issues/17905. With FreeRTOS-Kernel 11.1.0 release, FreeRTOS-Kernel produces a single static library. As part of this effort, `freertos_kernel_port` library has been changed to an `OBJECT` library. With our current dependency chain in FRI, this leads to a circular dependency with an object library. Therefore, remove the dependency of `freertos_config` on `fri-bsp` to avoid this. Because of this, we've to add the necessary includes from bsp to `freertos-config`. The CS315 network interface layer inside the FreeRTOS TCP/IP stack https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/source/portable/NetworkInterface/MPS4_CS315/Device/Include/SSE315.h#L62 is done in such a way that it depends on fri-bsp. Therefore, add `freertos_plus_tcp` dependency on `fri-bsp`. In general, a library A depending on another library B should avoid linking against granular libraries defined inside the library B. This can cause build failures in future. Therefore, the dependency of `isp_platform_driver_system` and `isp_control` on `freertos_kernel_include` has been changed to `freertos_kernel`. Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
- May 07, 2024
-
-
Devaraj Ranganna authored
With https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/commit/4471af64de1d481374881917bbba8736b1217530 , a validation logic has been introduced which checks, if one of the address in an IP packet is loopback then both source and destination addresses must be loopback. For network interface tests, we run the server on the local machine and use loopback interface address in integration tests to communicate with the server. This causes validation logic to fail, as the destination address in the IP in the packet returned by the server is not a loopback address, but instead address assigned to the device. As a workaround, we use the ethernet interface address of the host machine instead of loopback to communicate with the server. In addition, add a job retry logic to nightly build jobs so that, jobs gets restarted for known failures. Signed-off-by:
Devaraj Ranganna <devaraj.ranganna@arm.com>
-
Ahmed Ismail authored
Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
Ahmed Ismail authored
These additions are mainly inherited from this document: `https://git.gitlab.arm.com/iot/open-iot-sdk/sdk/-/blob/ main/components/trusted-firmware-m/README.md`. However, some modifications were made to match the FRI's project use case. Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-
Hugues Kamba Mpiana authored
Add documentation related to the integration and usage of MbedTLS from within the FRI. Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
Hugues Kamba Mpiana authored
Linking the `mbedtls-threading-freertos` CMake library to `mbedtls-config` at the FRI component integration level saves applications from having to include it thus simplifyig the usage of the MbedTLS component. Signed-off-by:
Hugues Kamba-Mpiana <hugues.kambampiana@arm.com>
-
- Apr 29, 2024
-
-
Signed-off-by:
Ahmed Ismail <Ahmed.Ismail@arm.com>
-