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):
20
20
def prepare (module , options ):
21
21
module .depends (":processing:timer" )
22
22
# 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" ]
27
24
28
25
29
26
def build (env ):
Original file line number Diff line number Diff line change @@ -22,14 +22,18 @@ def prepare(module, options):
22
22
"modm:math:utils" ,
23
23
"modm:math:filter" ,
24
24
"modm:processing:protothread" ,
25
- "modm:processing:fiber" ,
26
25
"modm:processing:resumable" ,
27
26
"modm:processing:timer" ,
28
27
"modm:processing:scheduler" ,
29
28
":mock:clock" )
29
+ if "arm64" not in options [":target" ].get_driver ("core" )["type" ]:
30
+ module .depends ("modm:processing:fiber" )
30
31
return True
31
32
32
33
33
34
def build (env ):
34
35
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