diff --git a/scripts/generate_driver_wrappers.py b/scripts/generate_driver_wrappers.py index 97e8bfdeac..ae6db54af7 100755 --- a/scripts/generate_driver_wrappers.py +++ b/scripts/generate_driver_wrappers.py @@ -134,7 +134,8 @@ def read_driver_descriptions(mbedtls_root: str, json_directory: str, \ driver_list = json.load(driverlistfile) try: - result = [load_driver(driver_schema, driver_file=os.path.join(json_directory, driver_file_name)) + result = [load_driver(schemas=driver_schema, + driver_file=os.path.join(json_directory, driver_file_name)) for driver_file_name in driver_list] except JsonValidationException as _: return False, []