avr: use a stack size of 512 bytes for testing

The goroutine tests are failing with the default 256 byte stack size.
This commit is contained in:
Ayke van Laethem
2022-01-05 03:12:45 +01:00
committed by Ron Evans
parent b4fa658705
commit 32a7b8cc4e
2 changed files with 6 additions and 3 deletions
+1 -3
View File
@@ -173,9 +173,7 @@ func TestBuild(t *testing.T) {
avrTests = append(avrTests, t)
}
}
opts := optionsFromTarget("atmega1284p", sema)
opts.Scheduler = "tasks"
runPlatTests(opts, avrTests, t)
runPlatTests(optionsFromTarget("simavr", sema), avrTests, t)
})
if runtime.GOOS == "linux" {
+5
View File
@@ -0,0 +1,5 @@
{
"inherits": ["atmega1284p"],
"scheduler": "tasks",
"default-stack-size": 512
}