Skip to content
Snippets Groups Projects
Commit cfb15e01 authored by CNLohr's avatar CNLohr
Browse files

Running from RAM should be done via `.srodata` so that the compiler will...

Running from RAM should be done via `.srodata` so that the compiler will properly relocate larger jumps.
parent 59a16f3f
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ uint32_t count;
//
// Well, no worries! You can just stick it in the .data segment!
void RamFunction() __attribute__((section(".data"))) __attribute__((used));
void RamFunction() __attribute__((section(".srodata"))) __attribute__((used));
void RamFunction()
{
// GPIO D0 Push-Pull
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment