Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d2e1f8b

Browse files
committed
IRAM_ATTR w/o assembler
1 parent 175ffc5 commit d2e1f8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tools/sdk/include/c_types.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ typedef enum {
8686
#ifdef ICACHE_FLASH
8787
#define __ICACHE_STRINGIZE_NX(A) #A
8888
#define __ICACHE_STRINGIZE(A) __ICACHE_STRINGIZE_NX(A)
89-
#define ICACHE_FLASH_ATTR __attribute__((section("\".irom0.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__) "\"")))
90-
#define IRAM_ATTR __attribute__((section("\".iram.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__) "\"")))
89+
#define ICACHE_FLASH_ATTR __attribute__((section(".irom0.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__))))
90+
#define IRAM_ATTR __attribute__((section(".iram.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__))))
9191
#else
9292
#define ICACHE_FLASH_ATTR
9393
#define IRAM_ATTR

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /