fix: newlib url and rt url

This commit is contained in:
Haolan
2025-08-29 16:27:23 +08:00
parent 3f2fe83718
commit 61143a6ff0
4 changed files with 20 additions and 12 deletions

View File

@@ -10,11 +10,8 @@ import (
func GetNewlibESP32Config(baseDir, arch string) *compile.CompileConfig {
libcDir := filepath.Join(baseDir, "newlib", "libc")
// headerFile, _ := os.Create(filepath.Join(baseDir, "picolibc.h"))
// headerFile.Close()
return &compile.CompileConfig{
Url: "https://github.com/MeteorsLiu/newlib-esp32/archive/refs/heads/esp-4.3.0.zip",
Url: "https://github.com/goplus/newlib/archive/refs/tags/v0.1.0.tar.gz",
Name: "newlib-esp32",
Groups: []compile.CompileGroup{
{
@@ -987,6 +984,6 @@ func GetNewlibESP32Config(baseDir, arch string) *compile.CompileConfig {
},
},
},
ArchiveSrcDir: "newlib-esp32-esp-4.3.0",
ArchiveSrcDir: "newlib-0.1.0",
}
}