[tests] Wrap up the test main() function into a library This change makes it so the old `main.c` under `sw/device/tests` lives alongside its header, `test_main.h`, forming a complete library that pulls in all the relevant dependencies. This makes the linking process for an on-device test more straightforwrd. `main()` doesn't actually need to be in one of the main object files, as far as our linker scripts care; our CRT requests a `main` symbol, and that gets pulled in regardless of where it's defined. Signed-off-by: Miguel Young de la Sota <mcyoung@google.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).