summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-01MLECO-3620 MLECO-3619: Update to 22.11 dependencies22.11-rc122.11Richard Burton
* CMSIS-NN is now a seperate dependency * Added inclusive language commitment * TensorFlow Lite Micro dependency is moved ahead of 22.11 to fix compilation issue Change-Id: I60e3311ff7da2ce064cbcdca054a86bdd1f620d8
2022-11-17MLECO-3583: Update copyright notice according to new guidelinesRichard Burton
Change-Id: I0f057b33993e5196a60e52f4fb0c60e09693dcfe
2022-11-09MLECO-3247: Arm Corstone-310 deployment instructions updateKshitij Sisodia
Minor documentation updates for Corstone-310 target along with version bump for the project and updates to release notes. Change-Id: I8b33b66961ab0517864539d88501ad5d71219368 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-11-08MLECO-3608: Fix memory regions for gcc linker.Maksims Svecovs
Move `text` to .text.at_bram. We have to do it explicitly when linking with gcc (ld). Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: Ib3c377227790568046c9495792d186e45ab06c15
2022-11-02MLECO-3238: Fix for cache clean/invalidationKshitij Sisodia
Small fix for the issue of weakly defined "clean" and "invalidation" functions for D-cache in use. Change-Id: I452768ef216393834f20395a56cde6ff5f52d29a Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-10-31MLECO-3578: Adding support for Arm Compiler 6.19Kshitij Sisodia
Minor update to retarget.c for system function `tmpnam`. Change-Id: I08cced273e517d00644167f8f5520b09f3c9d10c Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-10-17MLECO-3575: Add option to manually set PARALLEL_JOBS for buildConor Kennedy
* Check CMAKE_BUILD_PARALLEL_LEVEL and use this option to set the value of PARALLEL_JOBS Signed-off-by: Conor Kennedy <conor.kennedy@arm.com> Change-Id: I039d88a1099932978e00a711fe58d31a85d2cd06
2022-10-14MLECO-3562: Trivial documentation link updateKshitij Sisodia
Link update in docs/sections/building.md file. Change-Id: I6b4b95bc4c3e911123ee745e64fe6075af563011 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-10-12MLECO-3100: Added summary document of use-casesKshitij Sisodia
Update for use-case API and CMSIS pack. Change-Id: Ic730a80fa43ba2a6e3eaa05333b61d3e1677b04e Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-10-12MLECO-3562: Add documentation on CMake PresetsMaksims Svecovs
Adds documentation on how to configure and use CMake Presets in VS Code. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I0aa5d598415895268cabc9cbe36e7582a6fea789
2022-10-06MLECO-3164: Additional refactoring of KWS APIRichard Burton
Part 1 * Add KwsClassifier * KwsPostProcess can now be told to average results * Averaging is handlded by KwsClassifier * Current sliding window index is now an argument of DoPreProcess Change-Id: I07626da595ad1cbd982e8366f0d1bb56d1040459
2022-10-05MLECO-3552: Workaround for toolchain presetMaksims Svecovs
There is a currently known bug that ${fileDir} in included presets evaluates to the path of parent file, not path of the file with ${fileDir} macro. To be able to use the toolchain preset in case of MLEK included as submodule - add an environment variable to be set by the parent project. Since this variable is not set by the MLEK project - it does not affect the functionality in MLEK. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I4b789a12533f0474ed5490cf7a793e953a110898
2022-10-05MLECO-3065 Adding Git hook setup scriptEanna O Cathain
Change-Id: Ia900b17f13f1329b2788360e8dde639807f08099 Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com>
2022-10-03MLECO-3149: Add CTest driven FVP runs for non-native targets.Sarah Blades
Additional CMake configuration parameters required: * `BUILD_FVP_TESTS`: Selects whether these tests are built, OFF by default. * `FVP_PATH`: Path to the FVP that MUST be provided for the configuration to succeed. Change-Id: I741379cd0a6078a3e2c3163e6b253b2f5dc25c58 Signed-off-by: Sarah Blades <sarah.blades@arm.com>
2022-10-03MLECO-3545: Minor updates to CMSIS-packsKshitij Sisodia
CMSIS-pack under resources and the pack generation input YML file updated. Change-Id: I4883d635ec3ce6eadb0ce38bbd962f3a5e8f92c3 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-09-28MLECO-3518: Separates CMakePrestsMaksims Svecovs
Separates CMakePresets to respective. Adds options preset file with log-level and single-input for use-cases. Adds use-case file with base build preset with all the targets. Adds a configurable targets to all build presets. Adds additional config/build preset to show-off options-presets. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: Id82ce9c5b8d7cc48b80d784141dc22efa2690222
2022-09-28MLECO-3518: Move to CMake 3.23.3Maksims Svecovs
For the purpose of using decoupled presets move required CMake version to 3.23.3 that supports "includes" option for presets. Updates the documentation. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I259e8e3a4641294d8ccdee429c7284d8160b9e24
2022-09-27MLECO-3545: Removing PIDX and updating pack URLKshitij Sisodia
Version for generated pack changed to "22.8.0-Beta" and URL updated for packgen's YML input file. Change-Id: Iab20c0c1ebf70bdf08749e8ad6c7b9a7d458b82b Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-09-26MLECO-3546: Adding CMSIS pack with pidx fileKshitij Sisodia
Adding beta version of the CMSIS pack, created from the main branch. Adding a corresponding PIDX file for this pack to be linked to the public listing of Arm Keil packs. Packs, pidx and related resources will be available under 'resources/cmsis-packs/' directory. Change-Id: Iff6fe4d2a1cb14ae72442eb62664bf4ccd729c3c Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-09-26MLECO-3254 Default to using only one file per UCEanna O Cathain
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com> Change-Id: I4a1cd2b5746cb479ae0d81ed973961cec2f3046e
2022-09-21Fix for build with NPU disabledNina Drozd
* if NPU timing adapter enabled is defined and target subsystem is sse-310 * set timing adapter to off Change-Id: I53ca0bd8a56e3ede009b745dba7aa8dbee7a81dc
2022-09-13Fix: downgrade numpy version to 1.21.322.08Richard Burton
Recent ethos-u-vela version 3.5.0 does not support numpy version higher than 1.21.3. Downgrading numpy version to 1.21.3 for set_up_default_resources.py script to install proper packages. Change-Id: I15d8b1dbe04e974ebb140f99ba0f17bf6ee4f933 Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com>
2022-09-07MLECO-3535: update to 22.08 versions of modelsNina Drozd
* update to 22.08 release of ethos-u-vela * update download_dependencies script to new tf revision Signed-off-by: Nina Drozd <nina.drozd@arm.com> Change-Id: Ib4cb47ac0881d45fc6766b6b87154584d9db7374
2022-09-05MLECO-3538: Minor documentation updatesNina Drozd
* updated table of contents for building page * point to timing adapter page * updates to timing adapter page links and tables Change-Id: I54bde77db1a082afddae0abe109fa1369506057c
2022-09-01MLECO-3537: Fix Cmake build issue when using build-apisConor Kennedy
* Filter ".md" entry from UC_API_LIST Signed-off-by: Conor Kennedy <conor.kennedy@arm.com> Change-Id: Iec0f3fd1960b4e3f9ff1b2f730befedb0143ca30
2022-09-01MLECO-3449: Update tflite_micro submoduleMaksims Svecovs
Updating tflite_micro version according to the release from mlplatform: https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u/+/refs/heads/master/22.08.json#49 Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I212f1e8540e88aa339b6008371b62f9028b1d3d7
2022-09-01MLECO-3395: Fix high coverity issueMaksims Svecovs
Most of the issues identified by coverity scan as high are false-positives revolving around intrinsics of lambda-function in C++. This patch fixes high risk reports about function pointer not being initialized. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I52998ed4603ca943568f7bec5cb0d6a77731b02f
2022-08-31MLECO-3449: Update dependancies to 22.08 tagsMaksims Svecovs
Update dependencies to be aligned with 22.08 release of mlplatform according to: https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u/+/refs/heads/master/22.08.json CMSIS-DSP is moved to a separate repository, this patch adds a new repository along with user build parameter. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I356fb19b5dac87a21adfc34c67f9699131666074
2022-08-25MLECO-3252: Minor documentation additionsKshitij Sisodia
Documentation md files added under source tree with links to the main docs. Minor updates to FAQs for MLECO-3251 as well. Change-Id: Ifdcc587f2fcf77228fd46e211d3f9c3963bc9b97 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-08-24MLECO-3399: Remove default bin dir from presetsMaksims Svecovs
Configuring binaryDir prevents user from creating and naming out directory - cmake ignores ./ folder it is run from and creates root/binaryDir for the output. Removing this option allows user full control over the destination directory. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I2190d5063f4b9f70376934f7b23ecdb9d6cedc8f
2022-08-17MLECO-3427: Updating dependencies to 22.08 RCs22.08-rc1Kshitij Sisodia
Git submodules updated to latest tags/versions. Change-Id: Idf797be3476094f7fb894a0e874061d4adc6ca95 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-08-16MLECO-3321: Updated TensorFlow Lite Micro.Kshitij Sisodia
Updated to latest version of TensorFlow Lite Micro and removed forcing TENSORFLOW_LITE_MICRO_TARGET_ARCH to Arm Cortex-M55 for SSE-310 (now it is correctly set to Cortex-M85 instead). Change-Id: Ib1e8680a8d2ea803e0e003032119a10b1d71754e Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-08-16MLECO-3319: Documentation updates for Arm® Corstone™-310.Kshitij Sisodia
Documentation updates around use of Arm® Corstone™-310 AVH, especially in terms of use of timing adapters (TA). Also, use of TA's is forced off for SSE-310 subsystem's CMake configuration. Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com> Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I66a87060d8d47ce2580aa15f3908be20162eab54
2022-08-16MLECO-3244: Documentation on timing adaptersMaksims Svecovs
Documents current differences between timing adapters implementations on Corstone-300 and Corstone-310 platforms. Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I3161dc929bd01217a4992be869f13377a58e5471
2022-08-15MLECO-3103: updates to ml embedded use case API packNina Drozd
* refactor component cgroup and csub names for easier inclusion by projects * update version to format expected by cpackget tool * update use case api version Change-Id: I00c71219ca95299787ec4fd79dca8ff2b2d50494
2022-08-05MLECO-3232: Add basic cmake presetsMaksims Svecovs
Assuming cmake 3.21 adds basic configuration and build presets: * Target mps3 board with gcc * Target mps3 board with armclang * Target simple platform with gcc * Target simple platform with armclang * Target native build system Adds test preset for native build to run default ctests. Adds respective doc section to building instructions. Note: hidden configurationPresets are to be moved to respective project directories once cmake 3.24 is supported in the codebase and preset include is supported. Note: it is encouraged to create a personal CMakeUserPresets.json with personal preferences like specific `LOG_LEVEL` and `jobs` for faster compilation time. Usage example: cmake --preset=mps3-gcc Signed-off-by: Maksims Svecovs <maksims.svecovs@arm.com> Change-Id: I07a8861ed91160cc3f5167e16be45a921b60a285
2022-08-03MLECO-3375: Update documentation for missing AVH python3.8 venv packageRichard Burton
Change-Id: Idfee5b33b31cabdf7e825c2161df1e71191d115a
2022-07-08MLECO-3296 Override the AXI Burst Length for Ethos-U65Eanna O Cathain
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com> Change-Id: Ia0d349ea0014ee10f275731f3c1de4f9287839e1
2022-06-29MLECO-3253 Adding docs for how to run the FVP without UIEanna O Cathain
Change-Id: I3e69514aac22973f5c2395371f1311bd5bbb83a3
2022-06-10MLCE-864: Enabling I-Cache and D-Cache for MPS322.05Kshitij Sisodia
Both supported implementation on MPS3 (Arm Corstone-300 and Arm Corstone-310) will now have caches enabled. Also including a minor change left over from refactoring of code for HAL components. Change-Id: Ie5768cd26eef9083a817bca7c87ff691dae67fca
2022-06-10MLECO-3148 Generating the output test result fileEanna O Cathain
Change-Id: I584a0d8523b18025e8f20c31750baa2e6cbef49b
2022-06-09MLCE-864: Removing redundant warningKshitij Sisodia
MPS3 clock is logged in the output, removing the warning as profiling would be impacted by this additional logging over UART. Change-Id: I1f941a75752bed0c871240aee664f8191916ab1d
2022-06-02MLECO-3148 Enabling Ctest driven testingEanna O Cathain
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com> Change-Id: Ica67662d20b0c02b75418f79d4ba2f4d18373310
2022-06-01MLECO-3094: Updated to 22.05 release components22.05-rc1Richard Burton
Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: Icd208b5fc92d08e8dfbff95feecf3b387e76ccb4
2022-06-01MLECO-2968 Create a docker image with all requirementsKshitij Sisodia
Added a Dockerfile to setup and install requirements for the ml-embedded-evaluation-kit repository. Also included minor change (MLCE-859) for NPU components' source file. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I621fb2991218a451a0e8c33e14032b9c9e36709e
2022-05-31MLECO-3213: Downgrade requirment from Python3.8 to Python3.7Richard Burton
Update Vela to 3.4.0 Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: If203d29d6884219cd4947a5753a1fb8d8284f174
2022-05-25MLECO-3290: Correction for TAKshitij Sisodia
Timing adapter parameter correction for Arm Ethos-U65's default configuration. Change-Id: I5ec9412f4893d0bfb0447ce71b788099123b6cf9
2022-05-25MLECO-3185: Documentation updatesKshitij Sisodia
Documentation updated to reflect refactoring changes in the last few weeks. Change-Id: Ic7abf5cc3af9898123049e890c189ed74e505309
2022-05-24MLECO-3188: update AVH documentationNina Drozd
* update to Arm Virtual Hardware link Change-Id: If93d20e32b32ff4d6bcfa8f0e0ef096f3fff9492
2022-05-23MLECO-3225: Using official support for Arm Cortex-M85 CPU.Kshitij Sisodia
* CMake version requirement bumped up to 3.21.0 * CMake 3.22.4 installed in the local Python virtualenv * CPU flags updated in toolchain files. * Using __ARM_FEATURE_DSP instead of potentially defining ARM_MATH_DSP wrongly. * CMake project version bumped up to 22.05.0 Changes also made for MLECO-3107 (pack generation): * TensorFlow Lite Micro CMSIS-pack version updated to 1.22.02. * Change to using __ARM_FEATURE_DSP will also help the generated pack. Partial changes for MLECO-3095: * CMSIS updated to version post 5.9.0 * TensorFlow Lite Micro updated to latest available * Ethos-U driver and core-platform repositories updated to 20.05_rc2 tags. Change-Id: I012c9e65897aed8ce589cff9bfe3a19efc3edeb9 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>