xmos / lib_awe

AWE Core for xcore
Other
0 stars 1 forks source link

Fix linker failure with XTC 15.3.0 #80

Closed danielpieczko closed 2 weeks ago

danielpieczko commented 2 weeks ago

A change in lib_xcore in XTC 15.3.0 caused awe_main_wrapper to be inlined into the PAR_JOBS, where it previously wasn't inlined. As a result, the #pragma stackfunction 5000 has no effect and the stack size becomes incalculable. The fix here is to prevent awe_main_wrapper from being inlined. I've added this attribute to all the relevant functions in the tests which could be affected by this to avoid more occurrences of this error in the future.

Fixes #78