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.

CC2650STK + SimpleEddystoneBeacon

Other Parts Discussed in Thread: CC2640, CC2650, SMARTRF06EBK

I followed Wiki (processors.wiki.ti.com/.../CC2640_Eddystone_Beacon_Implementation) and the CC2640 BLE OAD User's Guide.


And I used this git repo https://github.com/TI-LPRF-Software/CC2640_SimpleEddystoneBeacon

I tried to build the SimpleEddystoneBeacon using CCS 6.1.2 and got some errors, see below. The full logfile is in attachment. What I am missing?

"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 133: error #102: "CC2650_I2CName" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 134: error #102: "CC2650_I2C0" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 135: error #102: "CC2650_I2CCOUNT" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 136: error #258: invalid redeclaration of type name "CC2650_I2CName" (declared at line 183 of "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/CC26XXST_0120/Board.h")
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 142: error #102: "CC2650_CryptoName" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 143: error #102: "CC2650_CRYPTO0" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 144: error #102: "CC2650_CRYPTOCOUNT" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 145: error #258: invalid redeclaration of type name "CC2650_CryptoName" (declared at line 192 of "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/CC26XXST_0120/Board.h")
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 151: error #102: "CC2650_SPIName" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 152: error #102: "CC2650_SPI0" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 153: error #102: "CC2650_SPI1" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 154: error #102: "CC2650_SPICOUNT" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 155: error #258: invalid redeclaration of type name "CC2650_SPIName" (declared at line 203 of "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/CC26XXST_0120/Board.h")
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 161: error #102: "CC2650_UARTName" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 162: error #102: "CC2650_UART0" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 163: error #102: "CC2650_UARTCOUNT" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 164: error #258: invalid redeclaration of type name "CC2650_UARTName" (declared at line 212 of "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/CC26XXST_0120/Board.h")
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 170: error #102: "CC2650_UdmaName" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 171: error #102: "CC2650_UDMA0" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 172: error #102: "CC2650_UDMACOUNT" has already been declared in the current scope
"C:\ti\tirtos_simplelink_2_13_00_06\packages\ti\boards\SRF06EB\CC2650EM_7ID\Board.h", line 173: error #258: invalid redeclaration of type name "CC2650_UdmaName" (declared at line 221 of "C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/SensorTag/CC26xx/Source/Application/Board_patch/CC26XXST_0120/Board.h")

"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/common/cc26xx/board_key.c", line 94: error #20: identifier "Board_KEY_SELECT" is undefined
"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/common/cc26xx/board_key.c", line 95: error #20: identifier "Board_KEY_UP" is undefined
"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/common/cc26xx/board_key.c", line 96: error #20: identifier "Board_KEY_DOWN" is undefined

"C:/ti/simplelink/ble_cc26xx_2_01_01_44627/Projects/ble/common/cc26xx/board_lcd.c", line 69: error #20: identifier "Board_3V3_EN" is undefined

logfile2.txt

  • Hello,

    Did you set the Build Configuration for SensorTag? It looks like you are trying to build the version for the SmartRF06EBK.

    Best wishes
  • I followed CC2640 BLE OAD User's Guide and was able to build the project SimpleBLEPeripheral. However, I was not able to update the firmware of the SensorTag with the generated bin file, see this thread:

    Then, I applied the same steps to the SimpleEddystoneBeacon project, but I am getting errors, see first post.

    Probably I missed something.. About which Build Configuration are you talking? Where can I find it and what should I configure?