diff --git a/.github/scripts/get_bus.py b/.github/scripts/get_bus.py deleted file mode 100644 index d15f091..0000000 --- a/.github/scripts/get_bus.py +++ /dev/null @@ -1,18 +0,0 @@ -import yaml - -bus_mapping = { - "generic": "APB AHB WISHBONE", - "WB": "WISHBONE", - "AHBL": "AHB", - "APB": "APB", -} -supported_buses = [] - -stream = open("/home/karim/work/EF_GPIO/EF_GPIO8.yaml") -data = yaml.load(stream, Loader=yaml.Loader) -bus_info = data["info"]["bus"] -for bus in bus_info: - supported_buses.append(bus_mapping[bus]) - -print(" ".join(supported_buses)) -stream.close()