-
Notifications
You must be signed in to change notification settings - Fork 3k
[STM32F7] Allow IAR compilation #1604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
targets.py : add IAR for NUCLEO_F746ZG and DISCO_F746NG iar.py: in case of Cortex-M7F, change it into Cortex-M7 and add --fpu VFPv5_sp I have been confirmed that for Cortex-M4F we don't need to add the --fpu VFPv4_sp
@@ -32,9 +32,12 @@ class IAR(mbedToolchain): | |||
|
|||
def __init__(self, target, options=None, notify=None, macros=None, silent=False, extra_verbose=False): | |||
mbedToolchain.__init__(self, target, options, notify, macros, silent, extra_verbose=extra_verbose) | |||
|
|||
if target.core == "Cortex-M7F": | |||
cpuchoice = "Cortex-M7" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please align the code here, tabs used?
Thanks ! I'll fetch this and test. Related note: I am going to release a new patch for progen, which should fix the IAR export for F746ZG target. |
@adustm Please update progen, and you can test to export to IAR. |
Let's create an issue, add there details what errors are there. Thanks |
There's a typo in targets for F746Z, if you can correct that one, it should work, I'll fix that |
Tested locally with the template fix I have just merged, builds without errors. |
LGTM |
[STM32F7] Allow IAR compilation
targets.py : add IAR for NUCLEO_F746ZG and DISCO_F746NG
iar.py: in case of Cortex-M7F, change it into Cortex-M7 and add --fpu VFPv5_sp
I have been confirmed that for Cortex-M4F we don't need to add the --fpu VFPv4_sp
test results
DTCT_1 EXAMPLE_1 MBED_10 MBED_11 MBED_12 MBED_16 MBED_2 MBED_23 MBED_24 MBED_25 MBED_26 MBED_34 MBED_37 MBED_38 MBED_A1 MBED_A21 MBED_A9 MBED_BUSOUT RTOS_1 RTOS_2 RTOS_3 RTOS_4 RTOS_5 RTOS_6 RTOS_7 RTOS_8
ARM DISCO_F746NG OK OK OK OK OK NOT_SUPPORTED OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK
GCC_ARM DISCO_F746NG OK OK OK OK OK NOT_SUPPORTED OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK OK TIMEOUT TIMEOUT OK OK
IAR DISCO_F746NG OK OK OK OK OK NOT_SUPPORTED OK OK OK OK OK OK OK OK OK OK OK OK BUILD_FAILED BUILD_FAILED BUILD_FAILED BUILD_FAILED BUILD_FAILED BUILD_FAILED BUILD_FAILED BUILD_FAILED
uARM DISCO_F746NG OK OK OK OK OK NOT_SUPPORTED OK OK OK OK OK OK OK OK OK OK OK OK OK OK TIMEOUT OK OK OK OK OK
RTOS tests don't compile for IAR toolchain. I suggest that we investigate this separately.