Add new "RAM" storage macro for putting constant data in RAM
Also update comments in common_macros.h following #142
This commit is contained in:
parent
b304f65c21
commit
230aa9fd37
2 changed files with 66 additions and 33 deletions
|
@ -13,9 +13,9 @@
|
|||
|
||||
#define TESTSTRING "O hai there! %d %d %d"
|
||||
|
||||
const char *dramtest = TESTSTRING;
|
||||
const __attribute__((section(".iram1.notrodata"))) char iramtest[] = TESTSTRING;
|
||||
const __attribute__((section(".text.notrodata"))) char iromtest[] = TESTSTRING;
|
||||
const RAM char dramtest[] = TESTSTRING;
|
||||
const char *iromtest = TESTSTRING;
|
||||
const IRAM_DATA char iramtest[] = TESTSTRING;
|
||||
|
||||
static inline uint32_t get_ccount (void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue