commit | d48f68e00a99888013f9199240865599758e7df4 | [log] [tgz] |
---|---|---|
author | Cindy Liu <hcindyl@google.com> | Tue Jun 27 11:53:22 2023 -0700 |
committer | Cindy Liu <hcindyl@google.com> | Tue Jun 27 11:53:22 2023 -0700 |
tree | 3f81156274623a31d26a3d573a95cfe2f0215c39 | |
parent | d792151c6c1bf30b08e8353678b1cf56479db93e [diff] |
Update GCC build flags for binutils-2.40 * Specify the usage of zifencei and zbb * Silence the loader RWX warning Change-Id: I314c623155da737d83711997af24ca8247a351d1
This project contains the BSP to build the SW artifact that can run on the Kelvin core, and integrated as part of the Shodan repository.
The project supports two build systems -- Bazel and CMake -- for OSS integration reasons. Bazel is used by TFLM flow, while CMake is the build system for IREE.
If you get this project from Project Shodan manifest, you are all set. If not, you need to have following projects as well to build the project successfully.
<dir>/cache/toolchain_kelvin
This project needs to be at <dir>/sw/kelvin
.
The project uses Bazel 5.1.1, to align with OpenTitan build system requirements.
bazel build //...
TODO: Add CMake flow
TODO: Add kelvin simulator
Load the generated .bin
binaries to matcha FPGA emulator.