chore: upgrade newlib
This commit is contained in:
@@ -15,23 +15,23 @@ func TestGetNewlibESP32Config_LibConfig(t *testing.T) {
|
|||||||
t.Errorf("Expected Name '%s', got '%s'", expectedName, config.Name)
|
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 {
|
if config.Version != expectedVersion {
|
||||||
t.Errorf("Expected Version '%s', got '%s'", expectedVersion, config.Version)
|
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 {
|
if config.Url != expectedUrl {
|
||||||
t.Errorf("Expected Url '%s', got '%s'", expectedUrl, config.Url)
|
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 {
|
if config.ArchiveSrcDir != expectedArchiveSrcDir {
|
||||||
t.Errorf("Expected ArchiveSrcDir '%s', got '%s'", expectedArchiveSrcDir, config.ArchiveSrcDir)
|
t.Errorf("Expected ArchiveSrcDir '%s', got '%s'", expectedArchiveSrcDir, config.ArchiveSrcDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test String() method
|
// 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 {
|
if config.String() != expectedString {
|
||||||
t.Errorf("Expected String() '%s', got '%s'", expectedString, config.String())
|
t.Errorf("Expected String() '%s', got '%s'", expectedString, config.String())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,10 +27,10 @@ func withDefaultCCFlags(ccflags []string) []string {
|
|||||||
|
|
||||||
func GetNewlibESP32Config() compile.LibConfig {
|
func GetNewlibESP32Config() compile.LibConfig {
|
||||||
return 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",
|
Name: "newlib-esp32",
|
||||||
Version: "esp-4.3.0_20250211-patch2",
|
Version: "esp-4.3.0_20250211-patch3",
|
||||||
ArchiveSrcDir: "newlib-esp-4.3.0_20250211-patch2",
|
ArchiveSrcDir: "newlib-esp-4.3.0_20250211-patch3",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user