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.

使用Stack v2.1.0 Stack Rebuild ALL出錯

Other Parts Discussed in Thread: CC2640, SYSBIOS

我想要使用CC2640使用了 v2.1.0的Stack

Rebuild ALL App 我將buildComponents 複製Stack v2.2.2的進去後 Rebuild 就可以使用了:

Building configuration: CC2640App - FlashROM
Updating build tree...

19 file(s) deleted.
Updating build tree...
Performing Pre-Build Action
bleUserConfig.c
Board.c
board_lcd.c
ccfg_appBLE.c
gatt_uuid.c
devinfoservice.c
gattservapp_util.c
ICall.c
ICallCC2650.c
main.c
ICallBleAPI.c
simpleBLEPeripheral.c
peripheral.c
simpleGATTprofile.c
util.c
Linking
Warning[Lt009]: Inconsistent wchar_t size
***.orm3(drivers_cc26xxware.arm3) and 20 other objects in 14 different libraries
have wchar_t size 16 bits
bleUserConfig.o and 29 other objects, some of them in sysbios.arm3 and 14 other libraries
have wchar_t size 32 bits
SimpleBLEPeripheralAppFlashROM.out
Converting

Total number of errors: 0
Total number of warnings: 1

Rebuild ALL Stack 時出現了這些:

Building configuration: CC2640Stack - FlashROM
Updating build tree...

0 file(s) deleted.
Updating build tree...
Performing Pre-Build Action
bleUserConfig.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
bleDispatch.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
CommonROM_Init.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
gap.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
gapbondmgr.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
gattservapp_util.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
hal_assert.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
hal_flash_wrapper.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
hal_trng_wrapper.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
ICall_startup.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
mb_PATCH.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
npi.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
OSAL.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
OnBoard.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
osal_bufmgr.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
osal_cbtimer.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
OSAL_Clock.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
OSAL_ICallBle.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
OSAL_MemoryICall.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
OSAL_PwrMgr.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
osal_snv_wrapper.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
OSAL_Timers.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler
ROM_Init.c
[Su010]: Comment unclosed at end of command file C:\ti\simplelink\ble_cc26xx_2_01_01_44627\Projects\ble\SimpleBLEPeripheral\CC26xx\IAR\Stack\CC2640\buildConfig.opt 1
Error while running C/C++ Compiler

Total number of errors: 23
Total number of warnings: 0

我認為是編譯版本的問題 請問該如何修正 , 使用的是IAR for ARM v8.22.2