summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2024-01-18Cleanup: Timing adapter definitionsKshitij Sisodia
The NPU timing adapter base addresses had been defined in mutiple places, making it difficult to determine which one is actually being used. This patch cleans up unused definitions from memory-map header files for different targets and the CMake template files. The expectation is for component base addresses to be set by platform specific CMake files that include/wrap the component directories. Change-Id: Ic39794ffbdb872b4b0c900cbcec8e386bb32c4eb Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2024-01-09Bumping version of resampyAlex Tawse
* The previously-used version of resampy contained a bug which caused any Python script that imported resampy to slow down significantly. Change-Id: I668cdf26fa2582c131698aa5e80f95b684fc692a Signed-off-by: Alex Tawse <alex.tawse@arm.com>
2023-12-04MLECO-4374 Fix ITCM overflow issues flagged by CIAron Virginas-Tar
Change-Id: Ic34b01af1a7e763b92ade52a4833201d4287ec60 Reviewed-on: https://eu-gerrit-2.euhpc.arm.com/c/ml/ecosystem/ml-embedded-evaluation-kit/+/775365 Tested-by: mlecosys <mlecosys@arm.com> Reviewed-by: Conor Kennedy <conor.kennedy@arm.com> Reviewed-by: Richard Burton <richard.burton@arm.com>
2023-11-30MLECO-4371 Update dependencies to 23.11 release components23.11-rc1Richard Burton
* Updated NPU components and dependencies (core-driver, core-platform, Vela, CMSIS, TensorFlow Lite Micro) to 23.11 release SHAs. * Changed Python version to 3.10 * Updated release notes and other documentation * Added workarounds to scripts in order to address build issues Signed-off-by: Aron Virginas-Tar <aron.virginas-tar@arm.com> Change-Id: I0a639b80881b53eebb216085b7e6764e3be8ca67
2023-11-29Fix for build issues with WSL when PATH contains special charactersRichard Burton
Co-authored-by: Gabor Abonyi <gabor.abonyi@arm.com> Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I6792576cf21285d73aa8213a4497cf23502ff795
2023-11-20MLECO-4490: Upgrade MLEK Catch Unit testsLiam Barry
*Removed default behaviour of unit-test executables to redirect output to file. *Accompanying change made to CI script to generate xml files there instead. *Switched to newer minor version of Catch. *Note: Support for simultaneous output to console and file is available in new major version (Catch 3). Other unit test cleanup: * Redundant warnings about common tests output removed * Static cast added to silence compiler warning * Removed additional printing in RNNoiseModelTests Signed-off-by: Liam Barry <liam.barry@arm.com> Change-Id: If9d7f366ec205a7cd49a45198a15867ef7b75afd
2023-11-13Modifications to linker scriptsRichard Burton
* Change reference to all ops resolver * Added our own 'all ops resolver' * Move Labels objects out of BRAM for simple_platform * Minor fixes to documentation Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I8b0d66ce83287f2bc027cfc36a1f378c97755481
2023-11-08Fix: Incorrect CMSIS-NN urlLiam Barry
Change-Id: Id6e7e735e8891b59533036a7d216033a3d26e1c6 Signed-off-by: Liam Barry <liam.barry@arm.com> Change-Id: Ib471b1808252d64a08382e06e28936dcd5c636ab
2023-11-06MLECO-4457: Update python dependenciesConor Kennedy
Change-Id: Id3acb2d225c4890f716052e874f01651ee1a5481 Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
2023-11-06MLECO-4473: Ensuring Labels objects are not placed in BRAMRichard Burton
Signed-off-by: Richard Burton<richard.burton@arm.com> Change-Id: I833f5edfbd080a67f2863a250be3199879d5f81f
2023-11-03MLECO-3640 MLECO-3678: Adding support for M85 in GCCRichard Burton
Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: I087e23f43b41fa0ef97ec7dcaeba807f6cba17e7
2023-10-26MLECO-3995: Pylint + Shellcheck compatibilityAlex Tawse
* All Python scripts updated to abide by Pylint rules * good-names updated to permit short variable names: i, j, k, f, g, ex * ignore-long-lines regex updated to allow long lines for licence headers * Shell scripts now compliant with Shellcheck Signed-off-by: Alex Tawse <Alex.Tawse@arm.com> Change-Id: I8d5af8279bc08bb8acfe8f6ee7df34965552bbe5
2023-10-16MLECO-3963 Remove conditional statements for different numpy versionGauri Sahnan
* For numpy versions 1.23 onwards remove comditional python statements Change-Id: Ie0aa54da9fc0f7fd426cd324b1b785d4794fc1c7 Signed-off-by: Gauri Sahnan <gauri.sahnan@arm.com>
2023-09-05MLECO-4074: bump up version of armclang to 6.1923.08-rc223.08Nina Drozd
* issues identified with armclang 6.17 and 6.18 * updates in cmake for minimum version * updates in release notes and documentation Change-Id: Iffa711d9d95a509f5c07cd55f59a49bdcf3e9d6a
2023-06-09MLECO-4065: Revising scripts to use Python3.923.05Kshitij Sisodia
Revising documentation and scripts to use Python3.9 explicitly to remove the need for installing it system-wide that might break a distro's desktop and pacakge manager utilities. Change-Id: I683b55dd0243d0a726dc94eba2431005d4897c8c Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2023-03-28MLECO-3754: Cmsis pack updatesIsabella Gottardi
Change-Id: Ib041604867e761a006d74cef16a33c27d86648eb Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
2023-03-22MLECO-3962: Set specific versions for Python3.7 in requirements.txtConor Kennedy
* For compatibility reasons, use the following versions when running on Python3.7: numpy 1.21.3 scipy 1.7.3 Change-Id: I5213820cc64b51cfa8b4ff49a1bff030e652822d Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
2023-03-21MLECO-3802: [Maintenance] Remove Pillow warning23.02Isabella Gottardi
- Image.Resampling.BILINEAR replace deprecated Image.BILINEAR - Trivial documentation fixes Change-Id: Ia75af2d2bf171085d4a0a2c472f0e3f94dbdc5b9 Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
2023-03-15MLECO-3666: Updating to 23.02 dependencies.23.02-rc1Kshitij Sisodia
Updating dependency submodules to 23.02 versions. See https://review.mlplatform.org/plugins/gitiles/ml/ethos-u/ethos-u/+/refs/tags/23.02/23.02.json Change-Id: If0e396decadc1b4e3c6b263c65f75ccf0dafed28 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2023-02-16MLECO-3847: Optimisation flag for TensorFlow Lite MicroKshitij Sisodia
Overriding the default THIRD_PARTY_KERNEL_OPTIMIZATION_LEVEL flag for comilation of Arm CMSIS-NN library. GNU linker script also needed to be modified with this change because of increase in the code footprint. Change-Id: I65c76fcaf4b6421533086a0905b2e6f0048b46fd Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-12-29MLECO-3747: Minor changes to Catch2 inclusionKshitij Sisodia
Catch2, included for tests on native target, is now added using FetchContent to download it at configuration stage. Minor improvements added to prevent name clashes if this project is used as a submodule in other projects where Catch2 is already a named dependency/target. Change-Id: I6f0ff02704e54a5c4cefe499ac80d434cf89b463 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-12-19MLECO-3611: Formatting fixes for generated files.Kshitij Sisodia
Template files updated for generated files to adhere to coding guidelines and clang format configuration. There will still be unavoidable violations, but most of the others have been fixed. Change-Id: Ia03db40f8c62a369f2b07fe02eea65e41993a523 Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
2022-12-09MLECO-3716: Update package versions in requirements.txt for Python 3.10Conor Kennedy
Change-Id: Iad3299379f2672510a569b22324823a0377c7179 Signed-off-by: Conor Kennedy <conor.kennedy@arm.com>
2022-12-06MLECO-3710: Fix for freshly updated submodule build issue.Kshitij Sisodia
TensorFlow Lite Micro can have stale third party components downloaded by an older version. On a submodule update, our recommendation to users would be to use `-DTENSORFLOW_LITE_MICRO_CLEAN_DOWNLOADS=ON` to clean the older downloads. Moving the triggered cleaning and refresh to CMake configuration stage (with no parallel build option). This should have a better chance of success with the subsequent build step. Change-Id: I305439c09658f49765ecc15eb1ce0c8b914dd30a
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-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-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-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-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-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-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-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-06-10MLECO-3148 Generating the output test result fileEanna O Cathain
Change-Id: I584a0d8523b18025e8f20c31750baa2e6cbef49b
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-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