mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-12-02 03:03:04 +05:00
fix: use ROM libc during ESP32-C6 flash initialization
Link the C6 ROM routines in the final Arduino image and let ESP-IDF supply its own linker scripts during the SDK build. Use the 4 MB DevKitM profile for C6 and honor each board's default flash mode.
This commit is contained in:
1 parent
0977b50208
commit
2006e6a7c2
2 files changed
+7
-2
No files matched your search
@@ -33,6 +33,9 @@ def no_exception_link_flags(sdk_directory):
|
||||
|
||||
def configure_after_build_sdk_flags(build_env, frameworks):
|
||||
result = build_frameworks(frameworks)
|
||||
# CMake already supplies the linker scripts and flags for the intermediate SDK image.
|
||||
if build_env.get("ARDUINO_LIB_COMPILE_FLAG") == "Build":
|
||||
return result
|
||||
|
||||
# SDK environments are already cloned; project libraries are configured later.
|
||||
flags = build_env.GetProjectOption("custom_app_flags", "")
|
||||
|
||||
Reference in new issue
Block a user