Skip to content

[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

Merged
merged 2 commits into from
Mar 11, 2016

Conversation

adustm
Copy link
Member

@adustm adustm commented Mar 10, 2016

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.

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"
Copy link
Contributor

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?

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 10, 2016

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.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 10, 2016

@adustm Please update progen, and you can test to export to IAR.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 10, 2016

RTOS tests don't compile for IAR toolchain. I suggest that we investigate this separately.

Let's create an issue, add there details what errors are there. Thanks

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 10, 2016

There's a typo in targets for F746Z, if you can correct that one, it should work, I'll fix that

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 10, 2016

Tested locally with the template fix I have just merged, builds without errors.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 11, 2016

LGTM

0xc0170 added a commit that referenced this pull request Mar 11, 2016
@0xc0170 0xc0170 merged commit 7bcdcc7 into ARMmbed:master Mar 11, 2016
@adustm adustm deleted the b_stm32f7_iar_compilation branch March 13, 2017 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants