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 33 <!-- <extends>modm:arduino-nano</extends> -->
44 <options >
55 <option name =" modm:build:build.path" >../../../build/avr/fiber</option >
6- <option name =" modm:__fibers" >yes</option >
76 </options >
87 <modules >
98 <module >modm:build:scons</module >
Original file line number Diff line number Diff line change 33 <!-- <extends>modm:nucleo-g071rb</extends> -->
44 <options >
55 <option name =" modm:build:build.path" >../../../build/generic/fiber</option >
6- <option name =" modm:__fibers" >yes</option >
76 </options >
87 <modules >
98 <module >modm:build:scons</module >
Original file line number Diff line number Diff line change 33 <options >
44 <option name =" modm:target" >hosted-linux</option >
55 <option name =" modm:build:build.path" >../../../build/linux/fiber</option >
6- <option name =" modm:__fibers" >yes</option >
76 </options >
87 <modules >
98 <module >modm:debug</module >
Original file line number Diff line number Diff line change 22 <extends >modm:rp-pico</extends >
33 <options >
44 <option name =" modm:build:build.path" >../../../build/rp_pico/fiber</option >
5- <option name =" modm:__fibers" >yes</option >
65 </options >
76 <modules >
87 <module >modm:debug</module >
Original file line number Diff line number Diff line change @@ -272,10 +272,6 @@ def init(repo):
272272 description = descr_target ,
273273 enumeration = devices ))
274274
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-
279275def prepare (repo , options ):
280276 repo .add_modules_recursive ("ext" , modulefile = "*.lb" )
281277 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):
2121 core = options [":target" ].get_driver ("core" )["type" ]
2222 return ((core .startswith ("cortex-m" ) or
2323 core .startswith ("avr" ) or
24- "x86_64" in core ) and
25- options [":__fibers" ])
24+ "x86_64" in core ))
2625
2726
2827def build (env ):
Original file line number Diff line number Diff line change 99 <option name =" modm:build:info.build" >True</option >
1010 <option name =" modm:build:info.git" >Info+Status</option >
1111 <option name =" modm:build:scons:cache_dir" >$cache</option >
12- <option name =" modm:__fibers" >yes</option >
1312 </options >
1413 <modules >
1514 <module >modm:build:scons</module >
Original file line number Diff line number Diff line change @@ -22,18 +22,14 @@ def prepare(module, options):
2222 "modm:math:utils" ,
2323 "modm:math:filter" ,
2424 "modm:processing:protothread" ,
25+ "modm:processing:fiber" ,
2526 "modm:processing:resumable" ,
2627 "modm:processing:timer" ,
2728 "modm:processing:scheduler" ,
2829 ":mock:clock" )
29- if options ["modm:__fibers" ]:
30- module .depends ("modm:processing:fiber" )
3130 return True
3231
3332
3433def build (env ):
3534 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