If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
看看工程中是否有如下,如果有可以通过宏定义设置实现
void InitSysCtrl(void)
{
// Disable the watchdog
DisableDog();
#ifdef _FLASH
// Copy time critical code and Flash setup code to RAM
// This includes the following functions: InitFlash();
// The RamfuncsLoadStart, RamfuncsLoadSize, and RamfuncsRunStart
// symbols are created by the linker. Refer to the device .cmd file.
memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);