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.

Build Configuration Error: At least one Controller build component required!

Other Parts Discussed in Thread: CC2540

Dear all:

我在新建一个CC2540的 IAR的工程文件时遇到下面的问题,求教,感谢!

Fatal Error[Pe035]: #error directive: "Build Configuration Error: At least one Controller build component required!" D:\work\BleLock\code\Components\ble\include\bcomdef.h 89

  • 具体错误发生在:Total number of errors: 13

    #if !defined( CTRL_CONFIG ) || !( CTRL_CONFIG & ( ADV_NCONN_CFG | \
                                                        ADV_CONN_CFG  | \
                                                        SCAN_CFG      | \
                                                        INIT_CFG ) )
        #error "Build Configuration Error: At least one Controller build component required!"
      #endif // no Controller build components defined
    #endif