aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2024-04-22armclang: Suppress warnings about unused sectionsHEAD24.05-rc1mastermainJonny Svärd
Not all defined scatter file sections will be used by each example application, by design. So to avoid confusion about unused sections in the build output, add L6314W to the list of warnings to be suppressed. Change-Id: I97b21c3e80cc8528a5207c5e3994a862b5548f9e Signed-off-by: Jonny Svärd <jonny.svaerd@arm.com>
2024-02-01Remove GCC workaround for Arm(R) Cortex(R)-M85 CPUMåns Nilsson
Change-Id: I03285b3ee554450016023b1d9cb331e10dfada2d Signed-off-by: Måns Nilsson <mans.nilsson@arm.com>
2022-12-15Remove ethosu_core and ethosu_applicationsKristofer Jonsson
Interface libraries ethosu_core and ethosu_applications are removed. Each application shall depend directly on the libraries they need. Change-Id: I1721ea0fd3c79e74da5e131a60f7aa24277c99ba
2022-09-30Fix cmake CMAKE_SYSTEM_PROCESSOR string matchesLedion Daja
To avoid unwanted matches of regexps, example: "cortex-m3" matches string "cortex-m33", several string MATCHES have been reworked. Change-Id: Ifa7982d82a8f02154f373b1c6f058aa98c6ad3e0
2022-09-13Remove CMake workaround for Arm ClangLedion Daja
Previous version of CMake did not allow CMAKE_SYSTEM_PROCESSOR to contain CPU features for Arm Clang toolchain. A workaround was added to manually strip the CPU features. Recent versions of CMake have removed this limitation and instead requires the toolchain to manually add -mcpu=<CPU+features>, which means that the workaround can be removed. Change-Id: Ie7f493a0dd9771eedf23e87db7a371fae4ec9bb9
2022-08-17Make sure that unused symbols are dropped when using GCC22.08-rc2Davide Grohmann
Add compiler and linker options to add each symbols in its own section so unused one can be dropped. Also adds missing noexcept Change-Id: I9143ae5865c4a071c6e09d14eb08ce3069b4b2db
2022-05-17Silence irrelevant compiler notes about GCC ABI incompatibilitiesDavide Grohmann
There are ABI changes between GCC 6.x and 7.1 that make them incompatible, but that is not relevant here since all software is compiled with only one GCC version. Change-Id: If82f874162404bdedc9c2e93c3a8c7a6d648fde0
2022-05-12Add support for Cortex-M85Davide Grohmann
Rely on CMSIS code for initializing Cortex-M85 devices. Fallback to mcpu=cortex-m55 for gcc until support for cortex-m85 is available. Change-Id: I8b47563c3f0f44e35735a569f2abf8a308948e67
2022-04-26Add Corstone-310 targetKristofer Jonsson
Change-Id: Idcb2238895668ee4858c2e858c02c6765f4b1702
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
2021-12-02Fixing compiler warningsKristofer Jonsson
Adjusting toolchain files which compiler warnings to enable. Fixing compiler warnings reported by Arm Clang and Arm GCC. Change-Id: I715e875904ffd7ecfe994d3093cdf066373981b1
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-18Updating required C compiler version to 1121.11-rc2Kristofer Jonsson
The -Ofast optimization level does not seem to be fully supported by C99, resulting in lower performance for CMSIS-NN optimized kernels. Updating the C standard to version 11 solves this. Change-Id: I81275f50d394de95186b7e35b0ec15d3cc3940ae
2021-11-17Add support for NinjaKristofer Jonsson
Add support for Ninja buider under both Linux and Windows. Updating generate_binaries.py to produce dependencies file. Removing files by wild card does not work with Ninja under Windows. Change-Id: I486463603de7413e09edcd959c329253867f4564
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-08-13Ensure same flags are used for both GCC and ARMClang21.08-rc1Davide Grohmann
Change-Id: Ib37930e7efb0663e9c39bb6c39af8cc62cf3f37c
2021-06-30Adding assembly compiler to toolchain filesliodek01
Change-Id: I4530ab1aa336ae4fc487745279f74ae4ebebe3d1
2021-06-30Support 'none' acceleratorKristofer Jonsson
Change-Id: Iada7cfaa42dc6f5706504ee78e975730048e0f3c
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-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-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-04Output .map files for executable targetsPer Åstrand
Generate the map file for each executable target added with the helper function ethosu_add_executable. Change-Id: Ib8b26508f7c439c8cd12b90061cc42eb771d9fd5
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-03-31Update license headersAnton Moberg
Update all license headers to the correct years. Change-Id: I18881cbceabe26066d69d8535bb3cb969cbaeba1
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