Initial commit

This commit is contained in:
2026-03-21 18:51:19 +01:00
commit 6ea8f7ddbd
11 changed files with 749 additions and 0 deletions

3
src/neoecu/__init__.py Normal file
View File

@@ -0,0 +1,3 @@
# Copyright (C) 2026 Hector van der Aa <hector@h3cx.dev>
# Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
# SPDX-License-Identifier: GPL-3.0-or-later

24
src/neoecu/cli.py Normal file
View File

@@ -0,0 +1,24 @@
# Copyright (C) 2026 Hector van der Aa <hector@h3cx.dev>
# Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
# SPDX-License-Identifier: GPL-3.0-or-later
import argparse
def main():
parser = argparse.ArgumentParser(prog="neoecu")
subparsers = parser.add_subparsers(dest="command")
subparsers.add_parser("build")
subparsers.add_parser("flash")
args = parser.parse_args()
if args.command == "build":
from .commands.build import run
run()
elif args.command == "flash":
from .commands.flash import run
run()
else:
parser.print_help()

View File

@@ -0,0 +1,3 @@
# Copyright (C) 2026 Hector van der Aa <hector@h3cx.dev>
# Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
# SPDX-License-Identifier: GPL-3.0-or-later

View File

@@ -0,0 +1,5 @@
# Copyright (C) 2026 Hector van der Aa <hector@h3cx.dev>
# Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
# SPDX-License-Identifier: GPL-3.0-or-later
def run():
print("Building NeoECU...")

View File

@@ -0,0 +1,5 @@
# Copyright (C) 2026 Hector van der Aa <hector@h3cx.dev>
# Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
# SPDX-License-Identifier: GPL-3.0-or-later
def run():
print("Flashing NeoECU...")