mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11699 from rajkan01/feature-os-cb-section
Fix for missing os_cb_sectionpull/11717/head
commit
70f3cf89a0
|
@ -87,6 +87,9 @@ void _platform_post_stackheap_init(void)
|
|||
us_ticker_init();
|
||||
#endif
|
||||
}
|
||||
//Define an empty os_cb_sections to remove a RTX warning when building with no RTOS due
|
||||
//to the --keep=os_cb_sections linker option
|
||||
const uint32_t os_cb_sections[] __attribute__((section(".rodata"))) = {};
|
||||
|
||||
#elif defined (__GNUC__)
|
||||
|
||||
|
|
Loading…
Reference in New Issue