Skip to content

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