diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-04 14:08:56 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-04 14:09:41 +0200 |
commit | e63097671abc96c157b187dc529193fdf3d52b90 (patch) | |
tree | 731d0c61533acf2c25d4e9ee5896ab66c5c97f3d | |
parent | 36b8c38d0a2eca480eb00e0057599cad75d53b9b (diff) |
Rename specif.py in spec2rtems.py
-rwxr-xr-x | spec2rtems.py (renamed from specif.py) | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/specif.py b/spec2rtems.py index 41e31af7..9888dccf 100755 --- a/specif.py +++ b/spec2rtems.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # SPDX-License-Identifier: BSD-2-Clause -""" Generates the interface header files from the specification. """ +""" Generates files of the RTEMS sources from the specification. """ # Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) # @@ -25,13 +25,11 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. -import rtemsqual.interface -import rtemsqual.items -import rtemsqual.util +import rtemsqual def main() -> None: - """ Generates the interface header files from the specification. """ + """ Generates files of the RTEMS sources from the specification. """ config = rtemsqual.util.load_config("config.yml") item_cache = rtemsqual.items.ItemCache(config["spec"]) rtemsqual.interface.generate(config["interface"], item_cache) |