You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* If using `int`, then for CLANG, with enabled optimization when inlined function is provided with the address of external symbol, the two least bits of the constant used inside that function get cleared.
51
+
* Optimizer assumes that address of external symbol should be aligned to 4-bytes and therefore aligns constant value used for bitwise AND operation with that address.
52
+
*
53
+
* This means `extern int _instruction_reserved_start;` can be unaligned to 4 bytes, whereas using `char` can solve this issue.
54
+
*
55
+
* As we only use these symbol address, we declare them as `char` here
* If using `int`, then for CLANG, with enabled optimization when inlined function is provided with the address of external symbol, the two least bits of the constant used inside that function get cleared.
197
-
* Optimizer assumes that address of external symbol should be aligned to 4-bytes and therefore aligns constant value used for bitwise AND operation with that address.
198
-
*
199
-
* This means `extern int _instruction_reserved_start;` can be unaligned to 4 bytes, whereas using `char` can solve this issue.
200
-
*
201
-
* As we only use these symbol address, we declare them as `char` here
202
-
*/
203
-
externchar_instruction_reserved_start;
204
-
externchar_instruction_reserved_end;
205
-
externchar_rodata_reserved_start;
206
-
externchar_rodata_reserved_end;
207
-
208
209
//------------------------------------Copy Flash .text to PSRAM-------------------------------------//
0 commit comments