- May 22, 2025
-
-
Jonny Svärd authored
Change-Id: I2c59df34fcd3253c15d8ba383cf1da4e38ca3449 Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Apr 29, 2025
-
-
Mikael authored
Printing the inference output in the inference process is a costly operation because it converts the data to a base64 string and calculates a checksum for it. Printing the output can be good for debugging but to avoid unwanted performance impact, the feature has been put behind a build flag that is disabled by default. Change-Id: I556249f39a3a206b28f778a32830fd83e8941c71 Signed-off-by:
Mikael Olsson <mikael.olsson@arm.com>
-
- Apr 04, 2025
-
-
Jonny Svärd authored
As TensorFlow Lite Micro is a third party library, declare include directories as SYSTEM directories, to avoid warnings from applications and libs that use the header files. Add more compiler options to disable warnings when building the target. Change-Id: I15054d064fecd870de09629df7211ebe1359cd7a Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Mar 24, 2025
-
-
Jonny Svärd authored
Replace empty log macros with calls to a new LOG_COMMON_NOP macro, with the intention of avoiding unused variable/parameter warnings where the variables/parameters are currently only used for logging. The if check will normally be optimized away. Change formatting of error messages, prepend the file name and line instead of appending it, to allow for newlines in error messages. Add a check for __FILE_NAME__ macro and use that instead of strrchr function, when available. Change-Id: I88a868c04b9db112fcec2d6209f9943c85925be7 Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Mar 21, 2025
-
-
Jonny Svärd authored
Introduce a new CORE_LOG_SEVERITY variable to set the log level desired for core software/core platform applications. Separating it from the ETHOSU_LOG_SEVERITY setting that now only affect the core_driver log level. Add a new CORE_LOG_ENABLE variable that allows all logs (including the unconditional LOG macro) to be turned off. Note however that it will not affect printf and similar calls, but only logs going through the ethosu_log library. Sync the ethosu_log library with changes from the intended standalone copy in core_driver. Change-Id: I92a1254a2dd224f6403318f983c63236ea7d6aa8 Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Mar 14, 2025
-
-
Jonny Svärd authored
Avoid unused parameter/variable warnings when LOG macro is not defined Change-Id: I6dae8c4fe45de957244847ea549ae36f220ac12e Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Jan 24, 2025
-
-
Jonny Svärd authored
Change-Id: I7b958ab0ddc8470ba25a2d0cecf7573b6b23ab2e Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
Jonny Svärd authored
FetchContent_Populate has been deprecated in upstream CMake. Replace the usage with FetchContent_MakeAvailable. Upstream documentation currently states that it's possible to replicate the Populate behaviour when using MakeAvailable, however it's not the case. Add an invalid path to SOURCE_SUBDIR, forcing CMake based subprojects not to be configured or built. Change-Id: I0cf1fd8ee7a374bc793d1763bd2d2167e7d9ad2c Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Jan 16, 2025
-
-
Kshitij Sisodia authored
Using existing cache variable exposed by CMSIS-NN to set the compiler optimization level instead of injecting additional definitions. Change-Id: I90941cb7e302a979bb8119cee99ac5a5507e6469 Signed-off-by:
Kshitij Sisodia <kshitij.sisodia@arm.com>
-
- Jan 14, 2025
-
-
Jonny Svärd authored
Several repos have moved from ML Platform to GitLab, change all references to use the new location. Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com> Change-Id: I934625a7a92fc3d4ab85513f600ae57aa3b327ad
-
- Jan 13, 2025
-
-
Rajasekaran Kalidoss authored
Change the default path of Cortex_DFP repo to core_software root. Add a new CORTEX_DFP_PATH variable to enable users to override the default path. Signed-off-by:
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com> Change-Id: Ia9fdf554a5820ed7391094700cbaf965848004e4
-
- Dec 16, 2024
-
-
Rajasekaran Kalidoss authored
Update the README document with details of various compiler flags used to make it easier for the user to find them. Change-Id: Ica37b53503b3b64d56bc45b732516bbe40bf2955 Signed-off-by:
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
-
- Dec 04, 2024
-
-
* Adds TFLM_TARGET to tflite_micro.cmake * This allows TFLM to be built without Arm Cortex-M libraries when building for other platforms Change-Id: Ic4c80ae10bf42ae4bfcc11844f3e793921b7735f Signed-off-by:
Alex Tawse <alex.tawse@arm.com>
-
- Nov 27, 2024
-
-
Rajasekaran Kalidoss authored
TFLM CMakefile suppresses certain compiler warning flags and these are made public. This affects builds of other packages that depend on TFLM package. This patch moves -Wno-* flags to private, enables null dereference and cast align warnings. Change-Id: Id0bdbed72d7162f5bf8850980f79d83e31c63912 Signed-off-by:
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
-
- Nov 11, 2024
-
-
Jonny Svärd authored
Old mentioned upstream issues are now sorted, enable ThreadX builds for more CPUs. Cortex-M52 will use the Cortex-M55 path. Enable armclang v6 builds again. Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com> Change-Id: I374492dee7b2a6ae02b21f84d0e8bb6434ab729b
-
Jonny Svärd authored
Note that cortex-m52 will use the same path as cortex-m55 as there are no separate port files for cortex-m52. Add required configENABLE_MVE option to the default config. Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com> Change-Id: I7827bdabcb7250f8838c150ba3094cfd86d9b14a
-
- Nov 08, 2024
-
-
Change-Id: I3b0411c00ad55bb70227e2776a462c5f381547e3 Signed-off-by:
Måns Nilsson <mans.nilsson@arm.com>
-
- Oct 23, 2024
-
-
Jonny Svärd authored
Remove cache invalidation calls from the inference_process library as they are not needed. Fix the clean function to actually clean/flush the tensor arena after copying the IFM data and nothing else, to ensure cache coherency before invoking an inference on the NPU. Change-Id: Ida7f4474c86ca3a24c15e1cb8abe84440b60fdc3 Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Oct 21, 2024
-
-
Mikael authored
OpenAmp have added a new utils subdirectory with source files that are needed to build the library so the custom CMake file has been updated accordingly Change-Id: I11805d9ac3eb2fc55fadb8f9de92dc47808d75c2 Signed-off-by:
Mikael Olsson <mikael.olsson@arm.com>
-
- Oct 17, 2024
-
-
Jonny Svärd authored
Add missing required upstream macro VQ_RX_EMPTY_NOTIFY to the custom CMake file. Change-Id: I54de333c066d33c3e1b986461296d09a85534cab Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Oct 07, 2024
-
-
chrkra01 authored
TOSA CTS contains Boolean and UINT16 tensors Change-Id: I32366cff044882d9f3e3cd991dc5735eea898a03 Signed-off-by:
Christoffer Krabbe <christoffer.krabbe@arm.com>
-
- Sep 26, 2024
-
-
Jonny Svärd authored
Some files have been moved in the TFLM repository, adapt the CMake build system to adjust for these changes. Change-Id: Iedc63f23de2921b9fcc4a01d7d2c772b8d425669 Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Sep 16, 2024
-
-
Jonny Svärd authored
Change-Id: I2fc903a64f122fd2d77b0903c572e0399bf435fa Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Jul 19, 2024
-
-
Some schema files were relocated in tensorflow/compiler/mlir/lite subfolder. This patch updates the cmake to add files in this location. Change-Id: I15d646c8302d909b37858cd9194901095c1a1100 Signed-off-by:
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
-
- Jun 20, 2024
-
-
Jonny Svärd authored
Update comment about available RTOS options Remove old leftover variable Change-Id: I1602802c4e43a9b3aa718a7a85de27b311d96562 Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Jun 13, 2024
-
-
Jonny Svärd authored
Change-Id: I98ce8a769fdeae41556dba0a347f08c2c8f0728d Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Jun 04, 2024
-
-
Jonny Svärd authored
Change-Id: I019a618e22a66fb39a5b6c993ea6721541b2ba90 Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- May 31, 2024
-
-
Rajasekaran Kalidoss authored
This patch adds -Werror flag to lib and applications folders to treat warnings as errors. Change-Id: I2ab8c04ee809ae4b79c0ad29b808a9c37dd7b48d Signed-off-by:
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
-
- May 20, 2024
-
-
CMSIS version is required to include appropriate header files from different CMSIS versions. This patch adds a compile definition for cmsis version. Signed-off-by:
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com> Change-Id: I9839a3470574197ef9a27ea73a78669be052d9e9
-
- May 15, 2024
-
-
Mikael authored
Currently the profiler uses signed 32-bit integers to hold the start and end tick values. This is not appropriate because the tick values will never be negative and the current ticks are returned as an unsigned 32-bit integer value. To address this, the start and end ticks will now be stored as unsigned 32-bit integers instead. Change-Id: I6358f3fde7c034c5e40409a9d3f7a576ff4897ce Signed-off-by:
Mikael Olsson <mikael.olsson@arm.com>
-
- May 13, 2024
-
-
Rajasekaran Kalidoss authored
This patch adds support for building with CMSIS_6 in addition to CMSIS_5. A cmake flag(CMSIS_VER) with default value of 5 has been added. This can be overridden in the cmake command line. CMSIS Device component is no longer part of CMSIS_6 and is part of Cortex_DFP repo. This patch also has the file path changes required to include CMSIS Device from Cortex_DFP. Change-Id: I148ab6b384d725ca83e75ac08e15c58809f25ac1 Signed-off-by:
Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
-
- Apr 24, 2024
-
-
Mikael authored
The OpenAMP library has been changed to required the build system to define the VIRTIO_DRIVER_SUPPORT and VIRTIO_DEVICE_SUPPORT macros to know what code to include and will fail to build if these macros are not defined. As a custom CMake file is used to build OpenAMP rather than using the one provided by the library, the library currently fails to build because the custom CMake file does not define the required macros. To resolve this, the custom CMake file now defines the missing macros. Change-Id: Iae0d40a7604b6eccead2adb157487ad1c57024a3 Signed-off-by:
Mikael Olsson <mikael.olsson@arm.com>
-
- Mar 15, 2024
-
-
Jonny Svärd authored
Change-Id: I2462632f3b87df193c69b277b0944eb4d5d0efac Signed-off-by:
Jonny Svärd <jonny.svaerd@arm.com>
-
- Mar 06, 2024
-
-
Måns Nilsson authored
- Renames build flags (TFLU_*->TFLM_*). - Fix generator expressions in add_compile_definitions. - Adds new build flag TFLM_OPTIMIZE_KERNELS_FOR. This is a new flag in TFLM, which is currently needed for CMSIS-NN Transpose conv. Since TFLM's own build files are not used it need to be set explicitly here. Change-Id: I8ff01caabfc1c5d2fcc3fa36fcbd153525d93258 Signed-off-by:
Måns Nilsson <mans.nilsson@arm.com>
-
- Dec 15, 2023
-
-
Mikael authored
A placeholder profiler lib has been added with weak functions that can be implemented to add further profiling functionality. Change-Id: I111d0188c8e7d2b55106e8a93ca4a048faddb263 Signed-off-by:
Mikael Olsson <mikael.olsson@arm.com>
-
- Nov 08, 2023
-
-
Ledion Daja authored
A workaround had been added previously to support building of libmetal library with ARMCC v6. Since such support has recently been added upstream in the libmetal repository, the workaround can now be removed. Change-Id: Idb5e6ba3112e329a0c2193d35c80c3cb45f90486 Signed-off-by:
Ledion Daja <ledion.daja@arm.com>
-
- Oct 24, 2023
-
-
Adrian Lundell authored
FlatBuffers version updated to v23.5.26 to match tflite-micro patch 6bb1e3a. Change-Id: I9c092d0bf461d790a967b137f4dfedc8660496f9 Signed-off-by:
Adrian Lundell <adrian.lundell@arm.com>
-
- Aug 07, 2023
-
-
Mikael authored
The inference parser copies the description from the model using strncpy, which will only add a null-terminator if the source string is shorter than the destination. Otherwise, if the bytes copied are not null-terminated, the destination is left without one. To ensure that the description is always null-terminated, the last byte of the description is now always overwritten with one. Change-Id: I49c23acd12d661e1f5c37088dba2e37935f25fa5 Signed-off-by:
Mikael Olsson <mikael.olsson@arm.com>
-
- Jun 20, 2023
-
-
AllOpsResolver is no longer available. Create a new similar fallback solution that is based on a MicroMutableOpResolver instance instead. Change-Id: I398d0d99c4d0a5230ab1435796e1e1c6dea47f8f
-
- Jun 13, 2023
-
-
Ledion Daja authored
Change-Id: Ie19178905af511a1117c8501ec1c84d1c996a94c
-