File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
src/modm/processing/fiber Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,7 @@ def init(module):
2020def prepare (module , options ):
2121 module .depends (":processing:timer" )
2222 # No ARM64 support yet!
23- core = options [":target" ].get_driver ("core" )["type" ]
24- return ((core .startswith ("cortex-m" ) or
25- core .startswith ("avr" ) or
26- "x86_64" in core ))
23+ return "arm64" not in options [":target" ].get_driver ("core" )["type" ]
2724
2825
2926def build (env ):
Original file line number Diff line number Diff line change @@ -22,14 +22,18 @@ def prepare(module, options):
2222 "modm:math:utils" ,
2323 "modm:math:filter" ,
2424 "modm:processing:protothread" ,
25- "modm:processing:fiber" ,
2625 "modm:processing:resumable" ,
2726 "modm:processing:timer" ,
2827 "modm:processing:scheduler" ,
2928 ":mock:clock" )
29+ if "arm64" not in options [":target" ].get_driver ("core" )["type" ]:
30+ module .depends ("modm:processing:fiber" )
3031 return True
3132
3233
3334def build (env ):
3435 env .outbasepath = "modm-test/src/modm-test/processing"
35- env .copy ('.' )
36+ if "arm64" in env [":target" ].get_driver ("core" )["type" ]:
37+ env .copy ('.' , ignore = env .ignore_paths ("fiber" ))
38+ else :
39+ env .copy ('.' )
You can’t perform that action at this time.
0 commit comments