aboutsummaryrefslogtreecommitdiff
path: root/applications/baremetal/main.cpp
AgeCommit message (Collapse)Author
2023-02-16Update baremetal systick timer handling23.02-rc223.02Kristofer Jonsson
Use the ethosuDrv pointer to signal if the systick handler should be restarted. Change-Id: Id47b37ab773970317ab324b95706ea54d7dcc74a
2022-12-05Use delta delays for baremetal applicationKristofer Jonsson
Baremetal application uses systick to poll the Ethos-U PMU block for profiling data. Instead of using a periodical timer, the timer is now reset at the end of every poll. This will reduce the risk of "systick deadlock" where the timing for handling the systick is longer than the time of the periodic tick. Change-Id: Ie812fab151b33d10bdf1cb4c5fb3e4fcbd5f1b05
2022-10-19Ethos-U PMU monitorKristofer Jonsson
Add Python script demonstrating how to download performance data from device. Write baremetal PMU events to Event Recorder ring buffer and increase the systick sample rate. Change-Id: Ib73c56100a8de2d7b74c455d8f80cda0b59383da
2022-08-17Generalize test models to be reusedDavide Grohmann
Change-Id: I47705cfde2788fa74f8bbcd07100188e4690dbf2
2022-01-31PMU multi NPU supportKristofer Jonsson
Update sample applications to use an external context for the PMU configuration. The external context stored in the InferenceJob will be set as TFLu external context and will be returned in the ethosu_inference_begin() and ethosu_inference_end() callbacks. Change-Id: Ief1f0943e322c2b50e8b964017af59161f67de6b
2021-11-25Exclude applications that depend on NPUKristofer Jonsson
Exclude applications that depend on the NPU, if the NPU driver library was not compiled by the project. Change-Id: I3fcb570cf155d589a9576266332ba519a11186f1
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-01run_platform.py PMU configurationNir Ekhauz
Enable configuration of up to 4 PMU counters Jira: MLBEDSW-4744 Change-Id: I08e9073d827033b3340bffd680288b1a83833d64
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-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-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