You can tell GCC not to automatically inline a specific function by declaring noinline attribute modifier before function type declaration. For example:
__attribute__((noinline)) int myStrictFunction() { }
Collection of reference, tutorial, cheatsheet, tips and tricks for Arduino and related shields / modules. You can also get code snippets and alternative library for programming Arduino, highly optimized for better performance and smaller code size. Also feature some schematic for your Arduino projects. You can also build your own Arduino DIY from scratch, or hacking / tweaking Arduino boards according to your needs.
__attribute__((noinline)) int myStrictFunction() { }
No comments:
Post a Comment