This thread has been locked.
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.
工具/软件:Code Composer Studio
大家好、我已经从 TI 网站下载了 C2000Ware_3_01_00_00来了解 TI 的 DSP 编程。 在名为"GPIO_ex2_toggle "的示例中、文件"device.c"中有一些代码我无法完全理解。
#ifdef _flash
//
//将时间关键代码和闪存设置代码复制到 RAM。 这包括
//以下函数:InitFlash();
//
// RamfuncsLoadStart、RamfuncsLoadSize 和 RamfuncsRunStart 符号
//由链接器创建。 请参阅器件.cmd 文件。
//
memcpy (&RamfuncsRunStart、&RamfuncsLoadStart、(size_t)&RamfuncsLoadSize);
//
//调用闪存初始化以设置闪存等待状态。 此函数必须执行的操作
//驻留在 RAM 中。
//
Flash_initModule (FLASH0CTRL_base、FLASH0ECC_BASE、DEVICE_FLASH_WAITSTATES);
#endif
闪存在哪里?
非常感谢!
您好!
[引用 user="user5246008"]在哪里是_flash?
FLASH 是为工程的闪存配置定义的预定义符号。 可从项目的预定义符号->属性->编译-> C2000编译器->预定义符号中检查项目的预定义符号
谢谢
Vasudha