WIP cores scheduler

This commit is contained in:
Ayke van Laethem
2025-01-13 17:31:34 +01:00
parent cce44b5ebb
commit 04242fd620
28 changed files with 737 additions and 74 deletions
+2 -2
View File
@@ -490,9 +490,9 @@ func loadProgramSize(path string, packagePathMap map[string]string) (*programSiz
continue
}
if section.Type == elf.SHT_NOBITS {
if section.Name == ".stack" {
if section.Name == ".stack" || section.Name == ".stack1" {
// TinyGo emits stack sections on microcontroller using the
// ".stack" name.
// ".stack" (or ".stack1") name.
// This is a bit ugly, but I don't think there is a way to
// mark the stack section in a linker script.
sections = append(sections, memorySection{