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.

LAUNCHXL-F28379D: LAUNCHXL-F28379D

Part Number: LAUNCHXL-F28379D

我用的器件是LAUNCHF28379D 按照《F2837xD Firmware Development Package USER’S GUIDE》建立一个新的工程,按照文档的步骤完成后,编译无法通过?显示错误如下,请问一下这是为什么?

  • 你好,你应该是引用或包含了两个相同的文件。

  • 您好 下面是引用的一些路径,我并没有发现有重复的文件。    main.c使用的是文档提供的程序。麻烦您再看一下

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    //
    // 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.
    //
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • 您好 Ben Qin 我现在问题解决了,我没有引入F28379xD_GlobalVariableDefs.c这个文件,将它引入,问题就解决了。谢谢你的回复。