File tree Expand file tree Collapse file tree 8 files changed +3
-17
lines changed
src/modm/processing/fiber Expand file tree Collapse file tree 8 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 3
3
<!-- <extends>modm:arduino-nano</extends> -->
4
4
<options >
5
5
<option name =" modm:build:build.path" >../../../build/avr/fiber</option >
6
- <option name =" modm:__fibers" >yes</option >
7
6
</options >
8
7
<modules >
9
8
<module >modm:build:scons</module >
Original file line number Diff line number Diff line change 3
3
<!-- <extends>modm:nucleo-g071rb</extends> -->
4
4
<options >
5
5
<option name =" modm:build:build.path" >../../../build/generic/fiber</option >
6
- <option name =" modm:__fibers" >yes</option >
7
6
</options >
8
7
<modules >
9
8
<module >modm:build:scons</module >
Original file line number Diff line number Diff line change 3
3
<options >
4
4
<option name =" modm:target" >hosted-linux</option >
5
5
<option name =" modm:build:build.path" >../../../build/linux/fiber</option >
6
- <option name =" modm:__fibers" >yes</option >
7
6
</options >
8
7
<modules >
9
8
<module >modm:debug</module >
Original file line number Diff line number Diff line change 2
2
<extends >modm:rp-pico</extends >
3
3
<options >
4
4
<option name =" modm:build:build.path" >../../../build/rp_pico/fiber</option >
5
- <option name =" modm:__fibers" >yes</option >
6
5
</options >
7
6
<modules >
8
7
<module >modm:debug</module >
Original file line number Diff line number Diff line change @@ -272,10 +272,6 @@ def init(repo):
272
272
description = descr_target ,
273
273
enumeration = devices ))
274
274
275
- # Invisible option guarding the Fiber API until it is ready
276
- repo .add_option (BooleanOption (name = "__fibers" , default = False ,
277
- description = "Enable unstable fiber API." ))
278
-
279
275
def prepare (repo , options ):
280
276
repo .add_modules_recursive ("ext" , modulefile = "*.lb" )
281
277
repo .add_modules_recursive ("src" , modulefile = "*.lb" )
Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ def prepare(module, options):
21
21
core = options [":target" ].get_driver ("core" )["type" ]
22
22
return ((core .startswith ("cortex-m" ) or
23
23
core .startswith ("avr" ) or
24
- "x86_64" in core ) and
25
- options [":__fibers" ])
24
+ "x86_64" in core ))
26
25
27
26
28
27
def build (env ):
Original file line number Diff line number Diff line change 9
9
<option name =" modm:build:info.build" >True</option >
10
10
<option name =" modm:build:info.git" >Info+Status</option >
11
11
<option name =" modm:build:scons:cache_dir" >$cache</option >
12
- <option name =" modm:__fibers" >yes</option >
13
12
</options >
14
13
<modules >
15
14
<module >modm:build:scons</module >
Original file line number Diff line number Diff line change @@ -22,18 +22,14 @@ def prepare(module, options):
22
22
"modm:math:utils" ,
23
23
"modm:math:filter" ,
24
24
"modm:processing:protothread" ,
25
+ "modm:processing:fiber" ,
25
26
"modm:processing:resumable" ,
26
27
"modm:processing:timer" ,
27
28
"modm:processing:scheduler" ,
28
29
":mock:clock" )
29
- if options ["modm:__fibers" ]:
30
- module .depends ("modm:processing:fiber" )
31
30
return True
32
31
33
32
34
33
def build (env ):
35
34
env .outbasepath = "modm-test/src/modm-test/processing"
36
- if env ["modm:__fibers" ]:
37
- env .copy ('.' )
38
- else :
39
- env .copy ('.' , ignore = env .ignore_files ("fiber_test*" ))
35
+ env .copy ('.' )
You can’t perform that action at this time.
0 commit comments