diff --git a/internal/crosscompile/compile/libc/libc_test.go b/internal/crosscompile/compile/libc/libc_test.go index 383c116a..7b79675b 100644 --- a/internal/crosscompile/compile/libc/libc_test.go +++ b/internal/crosscompile/compile/libc/libc_test.go @@ -15,23 +15,23 @@ func TestGetNewlibESP32Config_LibConfig(t *testing.T) { t.Errorf("Expected Name '%s', got '%s'", expectedName, config.Name) } - expectedVersion := "esp-4.3.0_20250211-patch2" + expectedVersion := "esp-4.3.0_20250211-patch3" if config.Version != expectedVersion { t.Errorf("Expected Version '%s', got '%s'", expectedVersion, config.Version) } - expectedUrl := "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch2.tar.gz" + expectedUrl := "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch3.tar.gz" if config.Url != expectedUrl { t.Errorf("Expected Url '%s', got '%s'", expectedUrl, config.Url) } - expectedArchiveSrcDir := "newlib-esp-4.3.0_20250211-patch2" + expectedArchiveSrcDir := "newlib-esp-4.3.0_20250211-patch3" if config.ArchiveSrcDir != expectedArchiveSrcDir { t.Errorf("Expected ArchiveSrcDir '%s', got '%s'", expectedArchiveSrcDir, config.ArchiveSrcDir) } // Test String() method - expectedString := "newlib-esp32-esp-4.3.0_20250211-patch2" + expectedString := "newlib-esp32-esp-4.3.0_20250211-patch3" if config.String() != expectedString { t.Errorf("Expected String() '%s', got '%s'", expectedString, config.String()) } diff --git a/internal/crosscompile/compile/libc/newlibesp.go b/internal/crosscompile/compile/libc/newlibesp.go index 95f30622..a2e32149 100644 --- a/internal/crosscompile/compile/libc/newlibesp.go +++ b/internal/crosscompile/compile/libc/newlibesp.go @@ -27,10 +27,10 @@ func withDefaultCCFlags(ccflags []string) []string { func GetNewlibESP32Config() compile.LibConfig { return compile.LibConfig{ - Url: "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch2.tar.gz", + Url: "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch3.tar.gz", Name: "newlib-esp32", - Version: "esp-4.3.0_20250211-patch2", - ArchiveSrcDir: "newlib-esp-4.3.0_20250211-patch2", + Version: "esp-4.3.0_20250211-patch3", + ArchiveSrcDir: "newlib-esp-4.3.0_20250211-patch3", } }