commit | 55a311a1dc9e423986d47d1927e74fb518c95aed | [log] [tgz] |
---|---|---|
author | Rupert Swarbrick <rswarbrick@lowrisc.org> | Wed Mar 17 15:34:51 2021 +0000 |
committer | Rupert Swarbrick <rswarbrick@gmail.com> | Wed Mar 17 17:29:42 2021 +0000 |
tree | ec7f2acbe817c6d2628bedd72b771c797720fdcd | |
parent | 33ad5326312d2f5439d838230bc59cd86c0ffe33 [diff] |
[util] Don't explode on unexpected format in fix_include_guard.py The existing code assumed that there was an #ifndef line somewhere in the file and exploded if not (calling None.group()). This patch handles these cases more gracefully by having a notion of "unfixable" files. It also changes the output format a bit to make the CI wrapper's job a bit easier. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
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).