(RTT_ROOT, dtb_name, dts_name = None, options = "")
| 45 | os.remove(path + tmp_dts) |
| 46 | |
| 47 | def dtb_to_dts(RTT_ROOT, dtb_name, dts_name = None, options = ""): |
| 48 | path = GetCurrentDir() + '/' |
| 49 | if dts_name == None: |
| 50 | dts_name = re.sub(r'\.dtb[o]*$', '.dts', dtb_name) |
| 51 | ret = os.system("dtc -I dtb -O dts {} {} -o {}".format(options, path + dtb_name, path + dts_name)) |
| 52 | __check_dtc(ret) |
nothing calls this directly
no test coverage detected