There was an error while loading. Please reload this page.
2 parents 69ac2af + ff53818 commit 20cc45cCopy full SHA for 20cc45c
esp32/get_idf_libs.py
@@ -87,8 +87,11 @@ def main():
87
shutil.copy(src + '/esp32/esp32.project.ld', ".")
88
89
# copy the generated sdkconfig.h
90
- shutil.copy(src + '/include/sdkconfig.h', ".")
91
-
+ with open(src + '/include/sdkconfig.h', 'r') as input:
+ content = input.read()
92
+ with open(os.path.dirname(os.path.realpath(__file__)) + '/sdkconfig.h', 'w') as output:
93
+ output.write(content.replace('#define CONFIG_SECURE_BOOT_ENABLED 1',''))
94
+
95
shutil.rmtree(dsttmpbl)
96
shutil.rmtree(dsttmpapp)
97
0 commit comments