Skip to content

Modify the timing at which mbed_main() is called in IAR compiler. #2120

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 1 commit into from
Jul 8, 2016
Merged

Modify the timing at which mbed_main() is called in IAR compiler. #2120

merged 1 commit into from
Jul 8, 2016

Conversation

TomoYamanaka
Copy link
Contributor

Hi

Renesas modified the timing at which mbed_main() is called in IAR compiler.
Because we failed about test "mbed call before main" in IAR compiler.
Ref:#2018 (comment)

Regards,

Tomo Yamanaka

Renesas modified the timing at which mbed_main() is called in IAR compiler.
Because we fail about test "mbed call before main" in IAR compiler.
@0xc0170
Copy link
Contributor

0xc0170 commented Jul 7, 2016

Is this required - main() should invoked wrapped main where mbed_main() is invoked, or?

@c1728p9
Copy link
Contributor

c1728p9 commented Jul 7, 2016

Main isn't wrapped for IAR which is why this is needed. This was done for the Cortex-M here:
https://github.com/mbedmicro/mbed/blob/9f33ba87b0acf0c4b9f4083f9568343000a6d303/rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h#L743

@TomoYamanaka
Copy link
Contributor Author

we Renesas revised RTX_CM_lib.h in consideration of the startup process in Cortex-M implementation.

For reference information.
Cortex-M:
93773ba
Discussion for this matter:
https://github.com/ARMmbed/mbed-renesas/issues/2

@0xc0170 0xc0170 merged commit 57c28a9 into ARMmbed:master Jul 8, 2016
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.

3 participants