aboutsummaryrefslogtreecommitdiff
path: root/applications
AgeCommit message (Collapse)Author
2021-10-06FreeRTOS app bug fix.Lior Dekel
Change-Id: Ic0a900c29f0ff24a7505ff952f326643c1bff5c0
2021-10-04Revert "FreeRTOS app bug fix."Kristofer Jonsson
This reverts commit 43834ab8967d1e8f063533c8c8cbf84be8ccc1b0. Reason for revert: Temporarily backing out change to fix compilation issue for Cortex-M4. Change-Id: I98a4ba8ce44e0ca396b7eb052cec4adecb9fe0ad
2021-10-04FreeRTOS app bug fix.Lior Dekel
Change-Id: Ia5970925db31805a693e0c0dfc081375767a9b82
2021-09-23Fixing misspelled defineKristofer Jonsson
Change-Id: I02d0f516b471c09fe22086f15bcdf2dd2da34858
2021-09-14Enable the execution of run_platform.py when no values for pmu configuration ↵Nir Ekhauz
are defined Define default values Jira: MLBEDSW-5215 Change-Id: Ie498f7170804a2f1a6d3eb64fff4c859272efe2b
2021-09-07Remove designated initializersJonny Svärd
Designated initializer support only arrived in C++20 standard. While most compilers will support it through extensions, remove them to increase portability. Change-Id: I31d885597b0d29a3cf67d5450d988805016a0d2d
2021-09-01run_platform.py PMU configurationNir Ekhauz
Enable configuration of up to 4 PMU counters Jira: MLBEDSW-4744 Change-Id: I08e9073d827033b3340bffd680288b1a83833d64
2021-08-12small fixes to FreeRTOS app.Lior Dekel
Change-Id: Ib1e59fda457edc90ceb324f35252c3def451c751
2021-08-11Adding inference application for ThreadXLior Dekel
Change-Id: Icadb4ceb50997a31bafa2356bfa434568c056593
2021-07-01Increased heap and FreeRTOS stackKristofer Jonsson
Tensorflow lite micro has increased the size of the MicroProfiler. As a consequence the FreeRTOS application needs to increase the stack size allocate from the heap. Change-Id: I8e4df44767edaecee27d9571319ef72da5937a3b
2021-06-28Buildsystem restructuringKristofer Jonsson
- Allow linker file to be overriden - Disable Trustzone build for other targets than Corstone-300 - Make toolchain TARGET_CPU variable cached Change-Id: I98a15e1080e4bf49e029578888b1e4ce362bbab7
2021-06-09Add missing library dependencyKristofer Jonsson
Change-Id: Icfc30968f3d1bc0048a235eacec94b47097d662b
2021-06-08Remove hardcoded Ethos-U driver instanceJonny Svärd
Adjust to updated Ethos-U driver Change-Id: Ie374c29bec2baee4717634588b22f6db419ad9a3
2021-06-04Remove dependency on cppJonas Ohlsson
Remove dependency on cpp, and instead use the specified compiler to preprocess the linker scripts. Signed-off-by: Jonas Ohlsson <jonas.ohlsson@arm.com> Change-Id: I000082f8e90015b12f99ba3f616b6b3e07647873
2021-05-27Add one eventRecordId per configured PMU event.21.05Jens Elofsson
Change-Id: I551ec9136d3ce9d89a066f6f63bb5fd9b5d39f80
2021-05-27Add ethosu_monitor example to baremetal application.21.05-rc3Jens Elofsson
Change-Id: Ided3ff5e2a5fc1f16e2fad0732f5464ccddbc96c
2021-05-24[Core Platform] Update and remove pmu "v2"-functionsAnton Moberg
NPU PMU interface currently have functions that have been stepped each time a compatibilty breaking changed has been introduced. Old entrypoints have been redefined with macro to use the latest version for backwards compatibility. This series of patches will remove any such functions and macro to unify the interface. Update: All PMU entrypoints to support updated interface Change-Id: I12113649cfbbe162f0fc66563868ec9df0382cbe
2021-05-04[Core Platform] Update to support removal of "_v"-functionsAnton Moberg
NPU driver interface currently have functions which have been stepped each time a compatibilty breaking changed has been introduced. Old entrypoints have been redefined with macro to use the latest version for backwards compatibility. This series of patches will remove any such functions and macro to unify the interface. Update: All driver entrypoints to support updated interface Change-Id: Ibe5fa7b2ac909eceb16a6879d4eaf9d0d7e36211
2021-04-29Add script to simplify testing networks on modelJonathan Strandberg
The script will build the platform, optimize the network through vela, run it on the model and present relevant statistics from the run. Change-Id: I6bf7d77caa68e64c52f7b523e6b79af9271b6500
2021-04-21Fix formattingAnton Moberg
Fixed code formatting Change-Id: I12df8da14a7100706f20ffb084ca8477928d0005
2021-04-09Move FreeRTOS model data to separate folderAnton Moberg
Move model data used by the FreeRTOS application to separate folder to allow for changing model easier by chaning the compile definition set in CMakeLists.txt just after ethosu_add_executable_test(...) Change-Id: I81d801c52e721f8ca7ad83892f9b68e82aee8188
2021-04-09Multi NPU freertos exampleAnton Moberg
Modified freertos.cpp to the support multi NPUs API. Spawn NUM_INFERENCE_TASKS inference processing tasks (Reserves, locks, and runs inference on an available NPU driver. Usually 1 per NPU, but not required) Spawn NUM_JOB_TASKS job creating/recieving tasks (Creates NUM_JOBS_PER_TASK jobs, sends them to inference job queue, and recieves response once finished) Added: Mutex & Semaphore interfaces. Overrides weakly linked symbols in driver. Change-Id: Id187c6c9b43b988b1fdd560fdf3d57bd4b30b79c
2021-03-31Update license headersAnton Moberg
Update all license headers to the correct years. Change-Id: I18881cbceabe26066d69d8535bb3cb969cbaeba1
2021-03-26Driver unit testsKristofer Jonsson
Add driver unit tests that runs simple command streams directly on top of the NPU driver. Change-Id: I3fcce2a2bfbd458d14186b8fd13ba47174f49562
2021-03-18Smaller networks - keyword_spotting_ds_dnn_large_clustered_int8Anton Moberg
Added: Baremetal application 'keyword_spotting_ds_dnn_large_clustered_int8' as and executable test. Run with ctest -R keyword_spotting_ds_dnn_large_clustered_int8 Model taken from ML-zoo, run through vela, and hexdumped to C header format. Change-Id: If1cee9f45bf9886eace299a378523b81beee4798
2021-03-18Smaller networks - keyword_spotting_dnn_medium_int8Anton Moberg
Added: Baremetal application 'keyword_spotting_dnn_medium_int8' as and executable test. Run with ctest -R keyword_spotting_dnn_medium_int8 Model taken from ML-zoo, run through vela, and hexdumped to C header format. Change-Id: Iba97a2c89277131605e233f0c9241581ea178755
2021-03-18Smaller networks - keyword_spotting_cnn_small_int8Anton Moberg
Added: Baremetal folder for baremetal applications Added: Baremetal application 'keyword_spotting_cnn_small_int8' as an executable test. Run with ctest -R keyword_spotting_cnn_small_int8 Model taken from ML-zoo, run through vela, and hexdumped to C header format. Change-Id: I053d88a4319cb58020027d6007e83fd519a2af6e
2021-03-10Hello world applicationKristofer Jonsson
Adding hello world application that is useful when porting the stack to a new target platform. Change-Id: I28ba96d9fac1489d73b84cb7940d05cf9860e4ed
2021-03-02Rename .bss.NoInit section to .bss.tensor_arenaJonny Svärd
Change-Id: I660cd5d2bc73eaf589598c4f0570f5e9293de28d
2021-02-25Adding CTest script21.02Kristofer Jonsson
Adding script to run CTest on the Corstone-300 FVP. The script will detect which version of the FVP that is used and pass the correct command line arguments. Updating README with instructions how to run tests, either using CTest or calling the FVP directly. Update FreeRTOS example to exit with the status of the inference. Minor adjustments are needed to the output vectors. Change-Id: I8a1a740b0dec2ce35d95e5c5d91f4b57a2c8e1fa
2021-02-24Use mobilenet_v2 for freertos test applicationPer Åstrand
Replace the CPU-only network with mobilenet_v2_1.0_224. The header files in this commit are the same as the model data in the trustzone application, see the README.md in applications/trustzone_inference for details on how to generate them from source on Arm ML-Zoo repository on github. Change-Id: I8d3cfd6313fd5d98880cf1b24511208ca12faa05
2021-02-24Use ctest for running the freertos applicationPer Åstrand
Change-Id: Iff207d9bd8f8406c645b087560212fb0aabe82f4
2021-02-22Move queue to global memoryPer Åstrand
The FreeRTOS port resets the stack when the scheduler starts. Move the queue to global memory for it to not be overwritten. Change-Id: I98f2360a14a0f74a65353694c6e2f60d37461ecf
2021-02-22Add trustzone application examplePer Åstrand
Add example project that builds both secure and nonsecure world sides and the inference is done on the secure side. This commit includes the mpc driver as found in the upstream trustedfirmware git repository https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git (8c0a234e453b51e6606d11599d0cb15097c3da48) The model,input and output used are described in the README.md in this directory. Change-Id: Ie54904a38d54df4de2d6936f066c388ea58e396b
2021-02-15core_platform - TensorArena move21.02-rc2Anton Moberg
Moved the initialisation of the TensorArena from inference_process.cpp in core_software to application level. Change-Id: Id2f8361b19241b4251e2ce90b4f330d32734e801
2021-02-02Build system refactoringKristofer Jonsson
The source tree is configured for a specific target as defined in the targets directory. The common target components are defined in targets/common. Targets for real platform should include this directory to get the default target libraries setup. Change-Id: I7fced4bfacec97432cbbd4125bd5b4cdd21122e3