We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff11e7f commit 66574aaCopy full SHA for 66574aa
hal/targets.json
@@ -6,6 +6,7 @@
6
"extra_labels": [],
7
"is_disk_virtual": false,
8
"macros": [],
9
+ "features": [],
10
"detect_code": [],
11
"public": false
12
},
workspace_tools/toolchains/__init__.py
@@ -298,11 +298,7 @@ def get_symbols(self):
298
299
# Add target's symbols
300
self.symbols += self.target.macros
301
- # Add target's hardware
302
- try :
303
- self.symbols += ["DEVICE_" + feature + "=1" for feature in self.target.features]
304
- except AttributeError :
305
- pass
+ self.symbols += ["DEVICE_" + feature + "=1" for feature in self.target.features]
306
# Add extra symbols passed via 'macros' parameter
307
self.symbols += self.macros
308
0 commit comments