(file_path, configs)
| 74 | return configs |
| 75 | |
| 76 | def modify_config(file_path, configs): |
| 77 | with open(file_path + "/rtconfig.h", 'a') as file: |
| 78 | for item in configs: |
| 79 | define1 = item.replace("CONFIG_BSP", "BSP") |
| 80 | define2 = item.replace("CONFIG_BSP", "RT") |
| 81 | file.write("#define " + define1 + "\n") |
| 82 | file.write("#define " + define2 + "\n") |
| 83 | |
| 84 | def recompile_bsp(dir): |
| 85 | logging.info("recomplie bsp: {}".format(dir)) |
no test coverage detected