avr: add support for tasks scheduler

This adds support for the `-scheduler=tasks` flag for AVR. On most AVR
chips you wouldn't want to run a real scheduler but it may be useful in
some cases, especially on devices with more RAM. It is disabled by
default.
This commit is contained in:
Ayke van Laethem
2020-03-08 23:10:21 +01:00
committed by Ayke
parent c5cb2cec9b
commit add014f21b
4 changed files with 282 additions and 0 deletions
+3
View File
@@ -9,5 +9,8 @@
"ldflags": [
"-T", "targets/avr.ld",
"-Wl,--gc-sections"
],
"extra-files": [
"src/runtime/scheduler_avr.S"
]
}