aboutsummaryrefslogtreecommitdiff
path: root/targets/corstone-300/CMakeLists.txt
AgeCommit message (Collapse)Author
2023-09-25Fix minor typos and naming in commentsLedion Daja
Change-Id: Ie0c57c520d591016855239a502eaf74d23b418fe Signed-off-by: Ledion Daja <ledion.daja@arm.com>
2023-04-04Remove ETHOSU define from targetsJonny Svärd
Ethos-U core driver exports the macro Change-Id: I373dbdaa9ec0ee24d566912fc876a4a0627e8b63
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-05-24Bugfix for tarmac traces being always enabled22.05-rc322.05Jonny Svärd
Change-Id: Ide11895f0ce96d48d14210253c25d2ac624cf856
2022-02-25Add CMake variable to pass arguments to ctest22.02-rc3Per Åstrand
This is needed in order to for example turn tarmac tracing on for the FVP running the tests. Change-Id: I6606134046c2e228d3fe06db41792e7403cd6ba8
2022-01-18Build system updatesKristofer Jonsson
Move finding Python after the project command. This was causing incremental CMake configurations to fail. Moving ETHOSU_TARGET_* variables after adding the common subdirectory. It is necessary to set the variables before the core driver is included. Change-Id: I1c6883061cb9247336f8b33d82d2e2de870634fa
2022-01-18Fix CMake warningsNir Ekhauz
Updating the minimum required CMake version fixes toolchain warnings for Arm Clang. Change-Id: I8f7371136739f6beb758d03cc76c2df17180f07c
2021-12-22Timing adapter fix, init constructor priorityKristofer Jonsson
The timing adapters are attached to the Ethos-U AXI ports and should only be initialized if the platform has been built with NPU support. Add priority to init the constructor, insuring it will run before any other constructor. This is important because the init constructor sets up UART. Change-Id: I189687437b95b11f6503c7631720e7883c24ada6
2021-12-14Add mpu driver and remove interface libraryYulia Garbovich
from drivers Add mpu driver for upstreaming After removing of interface library,targets and applications will list explicitly which libraries to link Change-Id: Icfa449a2981093161f283e45b4d52ca6199371b8
2021-11-25Use CMake to find Python 3 interpreter21.11-rc3Kristofer Jonsson
The name of the Python 3 interpreter is ambiguous. 'python3' is not available on all systems and 'python' can be both a Python 2 and Python 3 interpreter. Change-Id: I4ea119c617d1746fd34ecdd118a7c25dfe17dc86
2021-11-22Updating required CMake version to 3.20Kristofer Jonsson
Change-Id: Icd870cad2917480a01d5f79897931c1effc66546
2021-10-19Default timing adapters mode valueKristofer Jonsson
Setting default value for the timing adapters mode register. Change-Id: I71efd96b8235d476a0d133c4f93cb97530172ab5
2021-10-18Configure timing adapter in run_platform.pyNir Ekhauz
Change-Id: Ib108298417980a586bed8c8b4e0bb5e57f238316
2021-09-30Add memory area to run_platform.pyNir Ekhauz
Control the placement of the model and the arena for baremetal application in SRAM/DRAM by 4 configurable options: a. Model in SRAM and Arena in SRAM b. Model in SRAM and Arena in DRAM c. Model in DRAM and Arena in DRAM w/o Scratch buffer d. Model in DRAM and Arena in DRAM with Scratch buffer in SRAM Change-Id: Ia154be8a1c88cb13aeee62e701c2db7719a9d71c
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-06-28Building without NPUKristofer Jonsson
Support building applications for targets without a NPU. Change-Id: I04199b1c0444f23eadc6d4cf85195413dfd8bc97
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-05-26OptimizationsKristofer Jonsson
Setting NDEBUG for non debug builds. This will disabled the asserts used by the for example the Ethos-U driver. Disabling caches by default. Change-Id: I614edc09b99e9997af7e113c7565d64f273f3fa0
2021-05-05MLBEDSW-4228 Building on Windows21.05-rc1Jonas Ohlsson
Changes to facilitate building on Windows systems. Signed-off-by: Jonas Ohlsson <jonas.ohlsson@arm.com> Change-Id: Ib95bd89fe476790333bafccc3f6fa402b6569166
2021-05-04Generate binaries for all executablesPer Åstrand
Add helper to generate binaries for all targets added with ethosu_add_executable in order to ease development on fpga. Change-Id: I23df4f8aa1fd2d8a1e633d337b9f09ad7fe75774
2021-04-22Enable MPU and CPU cache for Corstone-300Jonny Svärd
- Enable CPU instruction- and data cache by default. - Add a CMake option to turn CPU cache on/off. - Add basic MPU configuration for memory areas. Make the code segment RO (NS address' are reachable from secure state, hence MPU config entries for both S and NS address of ITCM). - Target latest NPU API version Change-Id: Ie9bf2f02e5ad534375d146804fdc66b9f2f6770f Change-Id: I9def430d1e61d18e521798db4f48ed0a8c58380e
2021-03-31Update license headersAnton Moberg
Update all license headers to the correct years. Change-Id: I18881cbceabe26066d69d8535bb3cb969cbaeba1
2021-03-24Use new timing adapter driver from core_softwareJonny Svärd
Add basic skeleton to initialize timing adapters. See core_software/drivers/timing_adapter/include/timing_adapter.h for description of settings and API. Change-Id: I0884f8efc5735b1a837d45e0bb7c6612d329ad58
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-24Support released versions of FVPsPer Åstrand
Change-Id: Ia2ca0593e65bdb570c53a16cf7706d876e649e18
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-03Adapt build to using cmsis_systemPer Åstrand
The core_software handling has split cmsis_startup into cmsis_system and cmsis_startup in order to be able to controll the build of the libraries per excecutable. This change adapts to that change. Change-Id: I13286c75ba1c2298e760f9c0594ce4fec9db33dc
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
2020-11-26Add Corstone-300 target20.11Kristofer Jonsson
Change-Id: I34e9845abdccb3363953bd70fad7c6420865291e