Add ATTR_NEVER_INLINE attribute. Add EEPROM byte read/write proxy functions to the Mass Storage bootloader to prevent link errors due to linker relaxations.
This commit is contained in:
parent
7251da6581
commit
85343a436d
3 changed files with 52 additions and 7 deletions
|
|
@ -90,6 +90,11 @@
|
|||
*/
|
||||
#define ATTR_NO_INLINE __attribute__ ((noinline))
|
||||
|
||||
/** Forces the compiler to never inline the specified function. When applied, the given function will be
|
||||
* always be called explicitly under all circumstances.
|
||||
*/
|
||||
#define ATTR_NEVER_INLINE __attribute__ ((noinline))
|
||||
|
||||
/** Forces the compiler to inline the specified function. When applied, the given function will be
|
||||
* in-lined under all circumstances.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue