mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: cmsis/TOOLCHAIN_IAR/cmain.S
- Revision:
- 168:9672193075cf
- Parent:
- 166:c97ed07ec1a8
--- a/cmsis/TOOLCHAIN_IAR/cmain.S Wed Jun 21 17:46:44 2017 +0100 +++ b/cmsis/TOOLCHAIN_IAR/cmain.S Thu Jul 06 15:42:05 2017 +0100 @@ -46,6 +46,7 @@ EXTERN exit EXTERN __iar_dynamic_initialization EXTERN mbed_sdk_init + EXTERN mbed_main EXTERN SystemInit THUMB @@ -87,6 +88,10 @@ FUNCALL __cmain, __iar_argc_argv BL __iar_argc_argv ; Maybe setup command line + MOVS r0,#0 ; No parameters + FUNCALL __cmain, mbed_main + BL mbed_main + FUNCALL __cmain, main BL main _main: