Skip to content

Commit 25ca0e3

Browse files
committed
Fix traceback from incorrect use of core
1 parent 7bcc63b commit 25ca0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/sw4stm32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __generate_uid(self):
7979
def generate(self):
8080
fp_hardware = "no"
8181
fp_abi = "soft"
82-
core = self.target.core
82+
core = self.toolchain.target.core
8383
if core == "Cortex-M4F" or core == "Cortex-M7F":
8484
fp_hardware = "fpv4-sp-d16"
8585
fp_abi = "soft-fp"

0 commit comments

Comments
 (0)