Part Number:CC3220MOD
Tool/software: Code Composer Studio
I tried updating my project to the latest SDK (I was using 1.30) and followed the instructions in the video below after installing. It is using the new SDK, but I'm now getting an error now when I build.
https://www.youtube.com/watch?v=o2yZyyN4UCw
**** Build of configuration Debug for project out_of_box_CC3220S_LAUNCHXL_tirtos_gcc ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
'Building file: ../bma222drv.c'
'Invoking: GNU Compiler'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=soft -I"C:/Users/Andrew/workspace_v7/out_of_box_CC3220S_LAUNCHXL_tirtos_gcc" -I"C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"bma222drv.d" -MT"bma222drv.o" -o"bma222drv.o" @"C:/Users/Andrew/workspace_v7/tirtos_builds_CC3220S_LAUNCHXL_release_gcc/Debug/configPkg/compiler.opt" "../bma222drv.c"
subdir_rules.mk:9: recipe for target 'bma222drv.o' failed
In file included from ../link_local_task.h:41:0,
from ../out_of_box.h:41,
from ../bma222drv.c:48:
C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:71:18: error: conflicting types for 'mode_t'
typedef uint32_t mode_t; /* TODO: sys/stat.h? */
^
In file included from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/sys/types.h:65:0,
from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\time.h:27,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/time.h:51,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/semaphore.h:51,
from ../provisioning_task.h:41,
from ../out_of_box.h:40,
from ../bma222drv.c:48:
c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\sys\types.h:204:22: note: previous declaration of 'mode_t' was here
typedef unsigned int mode_t _ST_INT32;
^
In file included from ../bma222drv.c:48:0:
../out_of_box.h:210:33: warning: 'lookuptable' defined but not used [-Wunused-variable]
static t_config_characteristics lookuptable[] = {
^
gmake: *** [bma222drv.o] Error 1
'Building file: ../OtaArchive.c'
'Invoking: GNU Compiler'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=soft -I"C:/Users/Andrew/workspace_v7/out_of_box_CC3220S_LAUNCHXL_tirtos_gcc" -I"C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"OtaArchive.d" -MT"OtaArchive.o" -o"OtaArchive.o" @"C:/Users/Andrew/workspace_v7/tirtos_builds_CC3220S_LAUNCHXL_release_gcc/Debug/configPkg/compiler.opt" "../OtaArchive.c"
subdir_rules.mk:9: recipe for target 'OtaArchive.o' failed
In file included from ../link_local_task.h:41:0,
from ../out_of_box.h:41,
from ../OtaArchive.c:46:
C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:71:18: error: conflicting types for 'mode_t'
typedef uint32_t mode_t; /* TODO: sys/stat.h? */
^
In file included from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/sys/types.h:65:0,
from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\time.h:27,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/time.h:51,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/semaphore.h:51,
from ../provisioning_task.h:41,
from ../out_of_box.h:40,
from ../OtaArchive.c:46:
c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\sys\types.h:204:22: note: previous declaration of 'mode_t' was here
typedef unsigned int mode_t _ST_INT32;
^
In file included from ../OtaArchive.c:46:0:
../out_of_box.h:210:33: warning: 'lookuptable' defined but not used [-Wunused-variable]
static t_config_characteristics lookuptable[] = {
^
gmake: *** [OtaArchive.o] Error 1
'Building file: ../link_local_task.c'
'Invoking: GNU Compiler'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=soft -I"C:/Users/Andrew/workspace_v7/out_of_box_CC3220S_LAUNCHXL_tirtos_gcc" -I"C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"link_local_task.d" -MT"link_local_task.o" -o"link_local_task.o" @"C:/Users/Andrew/workspace_v7/tirtos_builds_CC3220S_LAUNCHXL_release_gcc/Debug/configPkg/compiler.opt" "../link_local_task.c"
subdir_rules.mk:9: recipe for target 'link_local_task.o' failed
In file included from ../link_local_task.h:41:0,
from ../link_local_task.c:60:
C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:71:18: error: conflicting types for 'mode_t'
typedef uint32_t mode_t; /* TODO: sys/stat.h? */
^
In file included from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/sys/types.h:65:0,
from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\time.h:27,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/time.h:51,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:42,
from ../link_local_task.h:41,
from ../link_local_task.c:60:
c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\sys\types.h:204:22: note: previous declaration of 'mode_t' was here
typedef unsigned int mode_t _ST_INT32;
^
In file included from ../link_local_task.c:62:0:
../out_of_box.h:210:33: warning: 'lookuptable' defined but not used [-Wunused-variable]
static t_config_characteristics lookuptable[] = {
^
gmake: *** [link_local_task.o] Error 1
'Building file: ../ota_task.c'
'Invoking: GNU Compiler'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=soft -I"C:/Users/Andrew/workspace_v7/out_of_box_CC3220S_LAUNCHXL_tirtos_gcc" -I"C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"ota_task.d" -MT"ota_task.o" -o"ota_task.o" @"C:/Users/Andrew/workspace_v7/tirtos_builds_CC3220S_LAUNCHXL_release_gcc/Debug/configPkg/compiler.opt" "../ota_task.c"
subdir_rules.mk:9: recipe for target 'ota_task.o' failed
In file included from ../link_local_task.h:41:0,
from ../ota_task.c:56:
C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:71:18: error: conflicting types for 'mode_t'
typedef uint32_t mode_t; /* TODO: sys/stat.h? */
^
In file included from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/sys/types.h:65:0,
from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\time.h:27,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/time.h:51,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:42,
from ../link_local_task.h:41,
from ../ota_task.c:56:
c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\sys\types.h:204:22: note: previous declaration of 'mode_t' was here
typedef unsigned int mode_t _ST_INT32;
^
In file included from ../ota_task.c:57:0:
../out_of_box.h:210:33: warning: 'lookuptable' defined but not used [-Wunused-variable]
static t_config_characteristics lookuptable[] = {
^
gmake: *** [ota_task.o] Error 1
'Building file: ../tmp006drv.c'
'Invoking: GNU Compiler'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=soft -I"C:/Users/Andrew/workspace_v7/out_of_box_CC3220S_LAUNCHXL_tirtos_gcc" -I"C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"tmp006drv.d" -MT"tmp006drv.o" -o"tmp006drv.o" @"C:/Users/Andrew/workspace_v7/tirtos_builds_CC3220S_LAUNCHXL_release_gcc/Debug/configPkg/compiler.opt" "../tmp006drv.c"
subdir_rules.mk:9: recipe for target 'tmp006drv.o' failed
In file included from ../link_local_task.h:41:0,
from ../out_of_box.h:41,
from ../tmp006drv.c:49:
C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:71:18: error: conflicting types for 'mode_t'
typedef uint32_t mode_t; /* TODO: sys/stat.h? */
^
In file included from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/sys/types.h:65:0,
from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\time.h:27,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/time.h:51,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/semaphore.h:51,
from ../provisioning_task.h:41,
from ../out_of_box.h:40,
from ../tmp006drv.c:49:
c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\sys\types.h:204:22: note: previous declaration of 'mode_t' was here
typedef unsigned int mode_t _ST_INT32;
^
In file included from ../tmp006drv.c:49:0:
../out_of_box.h:210:33: warning: 'lookuptable' defined but not used [-Wunused-variable]
static t_config_characteristics lookuptable[] = {
^
gmake: *** [tmp006drv.o] Error 1
'Building file: ../provisioning_task.c'
'Invoking: GNU Compiler'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=soft -I"C:/Users/Andrew/workspace_v7/out_of_box_CC3220S_LAUNCHXL_tirtos_gcc" -I"C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"provisioning_task.d" -MT"provisioning_task.o" -o"provisioning_task.o" @"C:/Users/Andrew/workspace_v7/tirtos_builds_CC3220S_LAUNCHXL_release_gcc/Debug/configPkg/compiler.opt" "../provisioning_task.c"
subdir_rules.mk:9: recipe for target 'provisioning_task.o' failed
In file included from ../link_local_task.h:41:0,
from ../out_of_box.h:41,
from ../provisioning_task.c:63:
C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:71:18: error: conflicting types for 'mode_t'
typedef uint32_t mode_t; /* TODO: sys/stat.h? */
^
In file included from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/sys/types.h:65:0,
from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\time.h:27,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/time.h:51,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/semaphore.h:51,
from ../provisioning_task.h:41,
from ../provisioning_task.c:61:
c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\sys\types.h:204:22: note: previous declaration of 'mode_t' was here
typedef unsigned int mode_t _ST_INT32;
^
../provisioning_task.c: In function 'validateLocalLinkConnection':
../provisioning_task.c:1214:103: warning: pointer targets in passing argument 4 of 'sl_NetAppSet' differ in signedness [-Wpointer-sign]
retVal = sl_NetAppSet(SL_NETAPP_DEVICE_ID, SL_NETAPP_DEVICE_URN, strlen("perforcetimer"), "perforcetimer");
^
In file included from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/source/ti/drivers/net/wifi/simplelink.h:459:0,
from ../provisioning_task.c:56:
C:/ti/simplelink_cc32xx_sdk_1_50_00_06/source/ti/drivers/net/wifi/netapp.h:1182:6: note: expected 'const unsigned char *' but argument is of type 'char *'
_i16 sl_NetAppSet(const _u8 AppId ,const _u8 Option,const _u8 OptionLen,const _u8 *pOptionValue);
^
In file included from ../provisioning_task.c:63:0:
../provisioning_task.c: At top level:
../out_of_box.h:210:33: warning: 'lookuptable' defined but not used [-Wunused-variable]
static t_config_characteristics lookuptable[] = {
^
gmake: *** [provisioning_task.o] Error 1
'Building file: ../out_of_box.c'
'Invoking: GNU Compiler'
"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m4 -march=armv7e-m -mthumb -mfloat-abi=soft -I"C:/Users/Andrew/workspace_v7/out_of_box_CC3220S_LAUNCHXL_tirtos_gcc" -I"C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix" -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"out_of_box.d" -MT"out_of_box.o" -o"out_of_box.o" @"C:/Users/Andrew/workspace_v7/tirtos_builds_CC3220S_LAUNCHXL_release_gcc/Debug/configPkg/compiler.opt" "../out_of_box.c"
subdir_rules.mk:9: recipe for target 'out_of_box.o' failed
In file included from ../link_local_task.h:41:0,
from ../out_of_box.h:41,
from ../out_of_box.c:57:
C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/mqueue.h:71:18: error: conflicting types for 'mode_t'
typedef uint32_t mode_t; /* TODO: sys/stat.h? */
^
In file included from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/sys/types.h:65:0,
from c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\time.h:27,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/time.h:51,
from C:/ti/simplelink_cc32xx_sdk_1_50_00_06/kernel/tirtos/packages/ti/sysbios/posix/semaphore.h:51,
from ../provisioning_task.h:41,
from ../out_of_box.h:40,
from ../out_of_box.c:57:
c:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\arm-none-eabi\include\sys\types.h:204:22: note: previous declaration of 'mode_t' was here
typedef unsigned int mode_t _ST_INT32;
^
gmake: *** [out_of_box.o] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****