📄 retarget.c
字号:
/**********************************************************
* *
* patch file to fix $top_of_memory setting *
* *
**********************************************************/
// user define options: set your $top_of_memory here
#define TOP_OF_MEMORY 0x0d500000
#include <c:\arm\include\stdio.h>
#include <c:\arm\include\rt_misc.h>
__value_in_regs struct __initial_stackheap __user_initial_stackheap(
unsigned R0, unsigned SP, unsigned R2, unsigned SL)
{
struct __initial_stackheap config;
config.heap_base = TOP_OF_MEMORY;
config.stack_base = SP;
return config;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -