commit | def786363c7d550faac6afbc0fe436fd06c059be | [log] [tgz] |
---|---|---|
author | Mikael Olsson <mikael.olsson@arm.com> | Wed Apr 24 12:50:05 2024 +0200 |
committer | Mikael Olsson <mikael.olsson@arm.com> | Wed Apr 24 14:04:58 2024 +0200 |
tree | 06eefbb2276626307962b4ed5389374dd40cb109 | |
parent | 49f0bdb7388dda406abe2fb6c1a6aa6f7cbd6f64 [diff] |
Add VIRTIO macros to custom OpenAMP CMake file The OpenAMP library has been changed to required the build system to define the VIRTIO_DRIVER_SUPPORT and VIRTIO_DEVICE_SUPPORT macros to know what code to include and will fail to build if these macros are not defined. As a custom CMake file is used to build OpenAMP rather than using the one provided by the library, the library currently fails to build because the custom CMake file does not define the required macros. To resolve this, the custom CMake file now defines the missing macros. Change-Id: Iae0d40a7604b6eccead2adb157487ad1c57024a3 Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
The Arm(R) Ethos(TM)-U core software is built with CMake. It is recommended to build out of tree like illustrated below.
$ cmake -B build -DCMAKE_TOOLCHAIN_FILE=<core_platform_path>/cmake/toolchain/<toolchain_file> -DTARGET_CPU=cortex-m<nr><features> $ cmake --build build -j8
Available build options can be listed with cmake -LH ..
.
Supported CPU targets are any of the Cortex(R)-M processors with any of the supported features, for example cortex-m33+nodsp+nofp. A toolchain file is required to cross compile the software.
The Arm Ethos-U project welcomes contributions under the Apache-2.0 license.
Before we can accept your contribution, you need to certify its origin and give us your permission. For this process we use the Developer Certificate of Origin (DCO) V1.1 (https://developercertificate.org).
To indicate that you agree to the terms of the DCO, you "sign off" your contribution by adding a line with your name and e-mail address to every git commit message. You must use your real name, no pseudonyms or anonymous contributions are accepted. If there are more than one contributor, everyone adds their name and e-mail to the commit message.
Author: John Doe \<john.doe@example.org\> Date: Mon Feb 29 12:12:12 2016 +0000 Title of the commit Short description of the change. Signed-off-by: John Doe john.doe@example.org Signed-off-by: Foo Bar foo.bar@example.org
The contributions will be code reviewed by Arm before they can be accepted into the repository.
In order to submit a contribution push your patch to ssh://<GITHUB_USER_ID>@review.mlplatform.org:29418/ml/ethos-u/ethos-u-core-software
. To do this you will need to sign-in to review.mlplatform.org using a GitHub account and add your SSH key under your settings. If there is a problem adding the SSH key make sure there is a valid email address in the Email Addresses field.
Please see Security.
The Arm Ethos-U core software is provided under an Apache-2.0 license. Please see LICENSE.txt for more information.
Arm, Cortex and Ethos are registered trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere.