主题中讨论的其他器件: SysConfig
团队、您好!
我将 CCS 12.6.0与 SysConfig 1.19.0配合使用。 我要在我的项目中使用 FreeRTOS。 我是该控制器的新手。 您能帮助我了解如何在 TMS320F28375S 中开始使用 FreeRTOS 吗?
我将 launchpad F28379D 投入使用。 我开始在 SysConfig 中配置 FreeRTOS、但它显示如下错误。


然后在我的 cmd 文件中进行一些更改。

现在、我可以构建我的项目了。 但我无法在调试时执行任务。 我的代码残桩、而不是深入任务内部。

//###########################################################################
//
// Included Files
//
#include "driverlib.h"
#include "board.h"
#include "FreeRTOS.h"
#include "c2000_freertos.h"
#include "FreeRTOSConfig.h"
//
// Globals
//
//
// Function Prototypes
//
void mcu_task1(void* pvParameters);
//
// Main
//
void main(void)
{
//
// Intialize device clock and peripherals
//
Device_init();
//
// Disable pin locks and enable internal pullups.
//
//Device_initGPIO(); //skipped for this example
//
// Initialize PIE and clear PIE registers. Disables CPU interrupts
//
Interrupt_initModule();
//
// Initialize the PIE vector table with pointers to the shell Interrupt
// Service Routines (ISR).
//
Interrupt_initVectorTable();
//
// Initialize resources
//
Board_init();
//
// Enable Global Interrupt (INTM) and realtime interrupt (DBGM)
//
EINT;
ERTM;
FreeRTOS_init();
for(;;)
{
}
}
void mcu_task1(void* pvParameters)
{
GPIO_togglePin(19);
vTaskDelay(500);
}
//
// End of file
//
我们将非常感谢您提供任何帮助。
谢谢。此致。