Skip to content

Commit 22bc753

Browse files
luoliwoshangclaude
andcommitted
chore: update newlib-esp32 to esp-4.3.0_20250211-patch5
Update newlib version to patch5 which includes the split of _exit from syscalls.c to syscalls_exit.c. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent aa31fb8 commit 22bc753

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

internal/crosscompile/compile/libc/libc_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ func TestGetNewlibESP32Config_LibConfig(t *testing.T) {
1717
t.Errorf("Expected Name '%s', got '%s'", expectedName, config.Name)
1818
}
1919

20-
expectedVersion := "esp-4.3.0_20250211-patch4"
20+
expectedVersion := "esp-4.3.0_20250211-patch5"
2121
if config.Version != expectedVersion {
2222
t.Errorf("Expected Version '%s', got '%s'", expectedVersion, config.Version)
2323
}
2424

25-
expectedUrl := "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch4.tar.gz"
25+
expectedUrl := "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch5.tar.gz"
2626
if config.Url != expectedUrl {
2727
t.Errorf("Expected Url '%s', got '%s'", expectedUrl, config.Url)
2828
}
2929

30-
expectedArchiveSrcDir := "newlib-esp-4.3.0_20250211-patch4"
30+
expectedArchiveSrcDir := "newlib-esp-4.3.0_20250211-patch5"
3131
if config.ResourceSubDir != expectedArchiveSrcDir {
3232
t.Errorf("Expected ResourceSubDir '%s', got '%s'", expectedArchiveSrcDir, config.ResourceSubDir)
3333
}
3434

3535
// Test String() method
36-
expectedString := "newlib-esp32-esp-4.3.0_20250211-patch4"
36+
expectedString := "newlib-esp32-esp-4.3.0_20250211-patch5"
3737
if config.String() != expectedString {
3838
t.Errorf("Expected String() '%s', got '%s'", expectedString, config.String())
3939
}

internal/crosscompile/compile/libc/newlibesp.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ func withDefaultCCFlags(ccflags []string) []string {
2929
// GetNewlibESP32Config returns the configuration for downloading and building newlib for ESP32
3030
func GetNewlibESP32Config() compile.LibConfig {
3131
return compile.LibConfig{
32-
Url: "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch4.tar.gz",
32+
Url: "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch5.tar.gz",
3333
Name: "newlib-esp32",
34-
Version: "esp-4.3.0_20250211-patch4",
35-
ResourceSubDir: "newlib-esp-4.3.0_20250211-patch4",
34+
Version: "esp-4.3.0_20250211-patch5",
35+
ResourceSubDir: "newlib-esp-4.3.0_20250211-patch5",
3636
}
3737
}
3838

0 commit comments

Comments
 (0)