Skip to content
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

cmain IAR: add mbed main #4604

Merged
merged 1 commit into from
Jun 26, 2017
Merged

cmain IAR: add mbed main #4604

merged 1 commit into from
Jun 26, 2017

Conversation

0xc0170
Copy link
Contributor

@0xc0170 0xc0170 commented Jun 21, 2017

This fixes #4602 issue, mbed_main should be invoked right before the real main

Tested on nucleo l476rg, using mbed_a21 test

Sorry for the formatting, my terminal was not set properly :)
before this patch:

{{timeout;20}}
              {{host_test_name;default_auto}}
                                             {{description;Call function mbed_main before main}}
                {{test_id;MBED_A21}}
                                    {{start}}
                                             MBED: main() starts now!
{{failure}}
           {{end}}

after this patch:

call before main()
{{timeout;20}}
              {{host_test_name;default_auto}}
                                             {{description;Call function mbed_main before main}}
                {{test_id;MBED_A21}}
                                    {{start}}
                                             MBED: main() starts now!
{{success}}
           {{end}}

cc @jeromecoutant @c1728p9

This fixes ARMmbed#4602 issue, mbed_main should be invoked right before the real main
@jeromecoutant
Copy link
Collaborator

Approved

@0xc0170
Copy link
Contributor Author

0xc0170 commented Jun 22, 2017

/morph test

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 616

Test failed!

@studavekar
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 619

All builds and test passed!

@theotherjimmy theotherjimmy merged commit c9647e0 into ARMmbed:master Jun 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OS2 test MBED_A21 (Call function before main) failed only with IAR
6 participants