commit | 3b335ecb5438c5b77379ab83297dfc657c463338 | [log] [tgz] |
---|---|---|
author | Alex Van Damme <atv@google.com> | Thu Jul 27 11:32:20 2023 -0700 |
committer | Alex Van Damme <atv@google.com> | Thu Jul 27 11:32:20 2023 -0700 |
tree | 1f43e228be288744e424a659c9885ad55c86c367 | |
parent | 68300b0e78c1f8f8ead12b5a51df2aa86e3bcb35 [diff] |
Re-enable bss clearing, move heap init - _heap_ptr lives in the bss region, so the zeroing of the section was clearing the previously set pointer. - Move the initialization of _heap_ptr to after bss clearing seems to make everything happy. - Ran person_detection_emitc_static and mobilenet_v1_emitc_static in the ISS successfully. Change-Id: I59f89bcbff668aa1409328a7d064c72966f4e735
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.