diff options
author | Ayke van Laethem <[email protected]> | 2020-03-08 23:10:21 +0100 |
---|---|---|
committer | Ayke <[email protected]> | 2020-03-20 15:12:05 +0100 |
commit | add014f21b1663b42899fe20f04f851e47688898 (patch) | |
tree | af7b7817dfae3d980e93d47cba344ebaf0cacc68 /targets/avr.json | |
parent | c5cb2cec9b7c8e4cee016d4c5c485e83dc872d05 (diff) | |
download | tinygo-add014f21b1663b42899fe20f04f851e47688898.tar.gz tinygo-add014f21b1663b42899fe20f04f851e47688898.zip |
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.
Diffstat (limited to 'targets/avr.json')
-rw-r--r-- | targets/avr.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/targets/avr.json b/targets/avr.json index d3f97a5bd..932717e2c 100644 --- a/targets/avr.json +++ b/targets/avr.json @@ -9,5 +9,8 @@ "ldflags": [ "-T", "targets/avr.ld", "-Wl,--gc-sections" + ], + "extra-files": [ + "src/runtime/scheduler_avr.S" ] } |