Skip to content

Commit b1c7943

Browse files
committed
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.
1 parent 8232afa commit b1c7943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/mbed_sdk_boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void _platform_post_stackheap_init(void)
6767

6868
extern int __real_main(void);
6969

70-
__attribute__((naked)) void software_init_hook(void)
70+
void software_init_hook(void)
7171
{
7272
mbed_sdk_init();
7373
software_init_hook_rtos();

0 commit comments

Comments
 (0)