Added ROM_CONST_ATTR attribute for forcing constants to live in flash.
This commit is contained in:
parent
e2ada487f3
commit
0f883b1842
|
@ -86,6 +86,7 @@ typedef enum {
|
|||
|
||||
#define TEXT_SECTION_ATTR __attribute__((section(".text")))
|
||||
#define RAM_CONST_ATTR __attribute__((section(".rodata")))
|
||||
#define ROM_CONST_ATTR __attribute__((section("irom0.rodata")))
|
||||
|
||||
#ifndef __cplusplus
|
||||
typedef unsigned char bool;
|
||||
|
|
Loading…
Reference in New Issue