mirror of https://github.com/ARMmbed/mbed-os.git
Fix for missing os_cb_section -Added the os_cb_section stub to remove the warnings Incorporated the below review comment -Repharase source code comment
parent
b9d824d67c
commit
ab16796967
|
@ -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