Merge pull request #11699 from rajkan01/feature-os-cb-section

Fix for missing os_cb_section
pull/11717/head
Martin Kojtal 2019-10-18 16:07:40 +02:00 committed by GitHub
commit 70f3cf89a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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__)