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:
1 parent
7251da6581
commit
85343a436d
3 files changed
+52
-7
No files matched your search
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user