mirror of https://github.com/ARMmbed/mbed-os.git
mbed sdk boot: fix gcc sw init hook attribute
Remove naked attribute that should not be defined for sw init hook, as it should return.pull/4521/head
parent
c9b8bee5ad
commit
f3019d37ff
|
@ -67,7 +67,7 @@ void _platform_post_stackheap_init(void)
|
||||||
|
|
||||||
extern int __real_main(void);
|
extern int __real_main(void);
|
||||||
|
|
||||||
__attribute__((naked)) void software_init_hook(void)
|
void software_init_hook(void)
|
||||||
{
|
{
|
||||||
mbed_sdk_init();
|
mbed_sdk_init();
|
||||||
software_init_hook_rtos();
|
software_init_hook_rtos();
|
||||||
|
|
Loading…
Reference in New Issue