Compilation error when adding vendor to vendor-lists.txt for sensor driver

I am trying to add this ultrasonic sesnor driver (inductivekickback/hc-sr04: Zephyr RTOS driver for HC-SR04 Ultrasonic Ranging Module (github.com)) and testing it with the app included. But i get a compilation error when i add the vendor prefix used for the sensor.

Traceback (most recent call last):
File "C:/ncs/v2.1.0/zephyr/scripts/dts/gen_defines.py", line 1032, in <module>
main()
File "C:/ncs/v2.1.0/zephyr/scripts/dts/gen_defines.py", line 62, in main
vendor_prefixes.update(edtlib.load_vendor_prefixes_txt(prefixes_file))
File "C:/ncs/v2.1.0/zephyr/scripts/dts\python-devicetree\src\devicetree\edtlib.py", line 2195, in load_vendor_prefixes_txt
assert len(vnd_vendor) == 2, line
AssertionError: elecfreaks Elecfreaks

I followed this blog post Adding an Out-of-Tree sensor driver to Zephyr - Goliothand (1) Tutorial: Mastering Zephyr Driver Development - Gerard Marull Paretas, Nordic Semiconductor ASA - YouTube to add the bindings and all the correct dependencies.

Related