Skip to content

Commit

Permalink
yo
Browse files Browse the repository at this point in the history
  • Loading branch information
RCMast3r committed Dec 23, 2023
1 parent acec427 commit 0a6d2db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions generator/pio_lib_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,14 @@
build_dir = env.subst("$BUILD_DIR")

generated_src_dir = os.path.join(build_dir, 'dbcppp', 'generated-src')
generated_build_dir = os.path.join(build_dir, 'dbcppp', 'generated-build')

user_dbc_files = env.subst(env.GetProjectOption("user_dbcs", ""))

dbc_files = fs.match_src_files(project_dir, user_dbc_files)
if not len(protos_files):
print("[nanopb] ERROR: No files matched pattern:")
print(f"user_dbcs: {user_dbc_files}")
exit(1)

print("hello from lib")

0 comments on commit 0a6d2db

Please sign in to comment.