File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 19
19
from .builder import BuilderOutput
20
20
from .gn import GnBuilder
21
21
22
+
22
23
class NxpOsUsed (Enum ):
23
24
FREERTOS = auto ()
24
25
ZEPHYR = auto ()
26
+
25
27
def OsEnv (self ):
26
28
if self == NxpOsUsed .ZEPHYR :
27
29
return 'zephyr'
@@ -30,6 +32,7 @@ def OsEnv(self):
30
32
else :
31
33
raise Exception ('Unknown OS type: %r' % self )
32
34
35
+
33
36
class NxpBoard (Enum ):
34
37
K32W0 = auto ()
35
38
K32W1 = auto ()
@@ -183,9 +186,9 @@ def generate(self):
183
186
cmd += '''
184
187
west build -p --cmake-only -b {board_name} -d {out_folder} {example_folder} {build_args}
185
188
''' .format (
186
- board_name = self .board .Name (),
187
- out_folder = self .output_dir ,
188
- example_folder = self .app .BuildRoot (self .code_root , self .board ),
189
+ board_name = self .board .Name (),
190
+ out_folder = self .output_dir ,
191
+ example_folder = self .app .BuildRoot (self .code_root , self .board ),
189
192
build_args = build_args ).strip ()
190
193
self ._Execute (['bash' , '-c' , cmd ], title = 'Generating ' + self .identifier )
191
194
else :
You can’t perform that action at this time.
0 commit comments