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.
我用的器件是LAUNCHF28379D 按照《F2837xD Firmware Development Package USER’S GUIDE》建立一个新的工程,按照文档的步骤完成后,编译无法通过?显示错误如下,请问一下这是为什么?
您好 下面是引用的一些路径,我并没有发现有重复的文件。 main.c使用的是文档提供的程序。麻烦您再看一下
// // Included Files // #include "F28x_Project.h" // // Defines // #define BLINKY_LED_GPIO 31 void main(void) { // // Step 1. Initialize System Control: // PLL, WatchDog, enable Peripheral Clocks // This example function is found in the F2837xD_SysCtrl.c file. // InitSysCtrl(); // // Step 2. Initialize GPIO: // This example function is found in the F2837xD_Gpio.c file and // illustrates how to set the GPIO to it’s default state. // InitGpio(); GPIO_SetupPinMux(BLINKY_LED_GPIO, GPIO_MUX_CPU1, 0); GPIO_SetupPinOptions(BLINKY_LED_GPIO, GPIO_OUTPUT, GPIO_PUSHPULL); // // Step 3. Loop to blink LED // for(;;) { // // Turn on LED // GPIO_WritePin(BLINKY_LED_GPIO, 0); // // Delay for a bit. // DELAY_US(1000*500); // // Turn off LED // GPIO_WritePin(BLINKY_LED_GPIO, 1); // // Delay for a bit. // DELAY_US(1000*500); } }