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.

CCS/CC2642R: Problem with UDMACC26XX.h

Part Number: CC2642R
Other Parts Discussed in Thread: CC2650

Tool/software: Code Composer Studio

Hi,

I am migrating from MCU CC2650 with "TI-RTOS for CC13XX and CC26XX 2.20.1.08" to a new MCU CC2642R with "SDK simplelink_cc13x2_26x2_sdk_4_20_00_35". When compiling, an error "#145 a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *" occurs. The file is attached tex from the console. How can I fix it?



Regards, Egor.

**** Build of configuration Debug for project Pribor_9000 ****

/opt/ti/ccs1010/ccs/utils/bin/gmake -k -j 4 all -O 
 
making ../src/sysbios/rom_sysbios.aem4f ...
gmake[1]: Nothing to be done for 'all'.
Building file: "../Interfaces/interfaces.cpp"
Invoking: ARM Compiler
"/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_ble_app_config.opt" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_build_config.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/factory_config.opt"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Utils" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Modules" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/simple_peripheral/Application" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx/rcosc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/rom" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/dev_info" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/simple_profile" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/nv" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/devices/cc13x2_cc26x2" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/posix/ccs" --include_path="/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Interfaces/interfaces.d_raw" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg" --obj_directory="Interfaces" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="configPkg/compiler.opt"  "../Interfaces/interfaces.cpp"
 
>> Compilation failure
Interfaces/subdir_rules.mk:7: recipe for target 'Interfaces/interfaces.obj' failed
"/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/drivers/dma/UDMACC26XX.h", line 374: error #145: a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *"
1 error detected in the compilation of "../Interfaces/interfaces.cpp".
gmake: *** [Interfaces/interfaces.obj] Error 1
Building file: "../Modules/extmem/spimem.cpp"
Invoking: ARM Compiler
"/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_ble_app_config.opt" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_build_config.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/factory_config.opt"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Utils" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Modules" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/simple_peripheral/Application" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx/rcosc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/rom" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/dev_info" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/simple_profile" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/nv" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/devices/cc13x2_cc26x2" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/posix/ccs" --include_path="/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Modules/extmem/spimem.d_raw" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg" --obj_directory="Modules/extmem" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="configPkg/compiler.opt"  "../Modules/extmem/spimem.cpp"
 
>> Compilation failure
Modules/extmem/subdir_rules.mk:7: recipe for target 'Modules/extmem/spimem.obj' failed
"/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/drivers/dma/UDMACC26XX.h", line 374: error #145: a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *"
1 error detected in the compilation of "../Modules/extmem/spimem.cpp".
gmake: *** [Modules/extmem/spimem.obj] Error 1
"/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/drivers/dma/UDMACC26XX.h", line 374: error #145: a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *"
"../Modules/GP30/GP30.cpp", line 20: warning #179-D: variable "fw_lock" was declared but never referenced
1 error detected in the compilation of "../Modules/GP30/GP30.cpp".
gmake: *** [Modules/GP30/GP30.obj] Error 1
"/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/drivers/dma/UDMACC26XX.h", line 374: error #145: a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *"
1 error detected in the compilation of "../Modules/dac161s997/dac161s997.cpp".
gmake: *** [Modules/dac161s997/dac161s997.obj] Error 1
Building file: "../Modules/GP30/GP30.cpp"
Invoking: ARM Compiler
"/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_ble_app_config.opt" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_build_config.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/factory_config.opt"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Utils" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Modules" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/simple_peripheral/Application" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx/rcosc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/rom" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/dev_info" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/simple_profile" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/nv" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/devices/cc13x2_cc26x2" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/posix/ccs" --include_path="/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Modules/GP30/GP30.d_raw" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg" --obj_directory="Modules/GP30" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="configPkg/compiler.opt"  "../Modules/GP30/GP30.cpp"
 
>> Compilation failure
Modules/GP30/subdir_rules.mk:7: recipe for target 'Modules/GP30/GP30.obj' failed
Building file: "../Modules/dac161s997/dac161s997.cpp"
Invoking: ARM Compiler
"/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_ble_app_config.opt" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_build_config.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/factory_config.opt"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Utils" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Modules" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/simple_peripheral/Application" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx/rcosc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/rom" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/dev_info" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/simple_profile" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/nv" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/devices/cc13x2_cc26x2" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/posix/ccs" --include_path="/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Modules/dac161s997/dac161s997.d_raw" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg" --obj_directory="Modules/dac161s997" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="configPkg/compiler.opt"  "../Modules/dac161s997/dac161s997.cpp"
 
>> Compilation failure
Modules/dac161s997/subdir_rules.mk:7: recipe for target 'Modules/dac161s997/dac161s997.obj' failed
Building file: "../Modules/modules.cpp"
Invoking: ARM Compiler
"/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_ble_app_config.opt" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_build_config.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/factory_config.opt"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Utils" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Modules" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/simple_peripheral/Application" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx/rcosc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/rom" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/dev_info" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/simple_profile" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/nv" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/devices/cc13x2_cc26x2" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/posix/ccs" --include_path="/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Modules/modules.d_raw" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg" --obj_directory="Modules" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="configPkg/compiler.opt"  "../Modules/modules.cpp"
 
>> Compilation failure
Modules/subdir_rules.mk:7: recipe for target 'Modules/modules.obj' failed
"/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/drivers/dma/UDMACC26XX.h", line 374: error #145: a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *"
"../Modules/error/error_handling.h", line 63: warning #377-D: declaration requires a typedef name
1 error detected in the compilation of "../Modules/modules.cpp".
gmake: *** [Modules/modules.obj] Error 1
"/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/drivers/dma/UDMACC26XX.h", line 374: error #145: a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *"
1 error detected in the compilation of "../Modules/rfmod/rfmod.cpp".
gmake: *** [Modules/rfmod/rfmod.obj] Error 1
"/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/drivers/dma/UDMACC26XX.h", line 374: error #145: a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *"
1 error detected in the compilation of "../Modules/syslog/syslog.cpp".
gmake: *** [Modules/syslog/syslog.obj] Error 1
Building file: "../Modules/rfmod/rfmod.cpp"
Invoking: ARM Compiler
"/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_ble_app_config.opt" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_build_config.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/factory_config.opt"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Utils" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Modules" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/simple_peripheral/Application" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx/rcosc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/rom" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/dev_info" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/simple_profile" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/nv" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/devices/cc13x2_cc26x2" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/posix/ccs" --include_path="/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Modules/rfmod/rfmod.d_raw" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg" --obj_directory="Modules/rfmod" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="configPkg/compiler.opt"  "../Modules/rfmod/rfmod.cpp"
 
>> Compilation failure
Modules/rfmod/subdir_rules.mk:7: recipe for target 'Modules/rfmod/rfmod.obj' failed
Building file: "../Modules/syslog/syslog.cpp"
Invoking: ARM Compiler
"/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_ble_app_config.opt" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_build_config.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/factory_config.opt"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Utils" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Modules" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/simple_peripheral/Application" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx/rcosc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/rom" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/dev_info" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/simple_profile" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/nv" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/devices/cc13x2_cc26x2" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/posix/ccs" --include_path="/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Modules/syslog/syslog.d_raw" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg" --obj_directory="Modules/syslog" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="configPkg/compiler.opt"  "../Modules/syslog/syslog.cpp"
 
>> Compilation failure
Modules/syslog/subdir_rules.mk:7: recipe for target 'Modules/syslog/syslog.obj' failed
"/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/drivers/dma/UDMACC26XX.h", line 374: error #145: a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *"
"../Tasks/../Modules/error/error_handling.h", line 63: warning #377-D: declaration requires a typedef name
1 error detected in the compilation of "../Tasks/InitTask.cpp".
gmake: *** [Tasks/InitTask.obj] Error 1
Building file: "../Tasks/InitTask.cpp"
Invoking: ARM Compiler
"/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_ble_app_config.opt" --cmd_file="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg/ti_build_config.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/config/factory_config.opt"  -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Utils" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Modules" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/examples/rtos/CC26X2R1_LAUNCHXL/ble5stack/simple_peripheral/Application" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/npi/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx/rcosc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/rom" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/dev_info" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/profiles/simple_profile" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/nv" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/common/cc26xx" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/devices/cc13x2_cc26x2" --include_path="/opt/ti/ccs1010/simplelink_cc13x2_26x2_sdk_4_20_00_35/source/ti/posix/ccs" --include_path="/opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=DeviceFamily_CC26X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Tasks/InitTask.d_raw" --include_path="/home/runechuv/Projects/Pribor_9000/CCS10/TestWorkSpace/Pribor_9000/Debug/syscfg" --obj_directory="Tasks" --cmd_file="syscfg/ti_build_config.opt" --cmd_file="syscfg/ti_ble_app_config.opt" --cmd_file="configPkg/compiler.opt"  "../Tasks/InitTask.cpp"
 
>> Compilation failure
Tasks/subdir_rules.mk:7: recipe for target 'Tasks/InitTask.obj' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Little addition,

    Error occurs in the file "UDMACC26XX.h".

    This is how the problem place from "UDMACC26XX.h" file looks in SDK simplelink_cc13x2_26x2_sdk_4_20_00_35:

    __STATIC_INLINE void UDMACC26XX_channelDisable(UDMACC26XX_Handle handle, uint32_t channelBitMask)
    {
        UDMACC26XX_HWAttrs const *hwAttrs = handle->hwAttrs;
    
        HWREG(hwAttrs->baseAddr + UDMA_O_CLEARCHANNELEN) = channelBitMask;
    }

    This is the same function in the old SDK "TI-RTOS for CC13XX and CC26XX 2.20.1.08":

    __STATIC_INLINE void UDMACC26XX_channelDisable(UDMACC26XX_Handle handle, uint32_t channelBitMask)
    {
        UDMACC26XX_HWAttrs const *hwAttrs;
    
        /* Get the pointer to the hwAttrs and object */
    	hwAttrs =(UDMACC26XX_HWAttrs const *) handle->hwAttrs;
    
        /* disable DMA channel */
        uDMAChannelDisable(hwAttrs->baseAddr, channelBitMask);
    }

    I see that in the new version there is no explicit type conversion.

  • I would assume this is caused by how you have migrated from an old TI-RTOS version to a new SDK on a different chip family. 

    You have to follow all the porting guides that exist, both from version to version of the SDK but also how to go from CC26x0 to CC26x2 if you are using BLE or start with a new project. The latter may cause less trouble. If you import the example for the new SDK that looks closest to what you need and then add your application code step by step (easier to debug) 

    Most of the drivers have been bug fixed and in some cases re-written from when TI-RTOS 2.21 was out to the newest SDKs, therefore changes in the driver code are expected.  

  • Hi, TER

    We try to follow all migration guidelines. Including we use that approach which you described:

    TER
    You have to follow all the porting guides that exist, both from version to version of the SDK but also how to go from CC26x0 to CC26x2 if you are using BLE or start with a new project. The latter may cause less trouble. If you import the example for the new SDK that looks closest to what you need and then add your application code step by step (easier to debug)


    However, despite this, there was a problem with UDMA. Why in the UDMACC26XX.h file in the UDMACC26XX_Config structure Pointer to hardware attribute is of type void const:

    typedef struct {
        void              *object;            /*!< Pointer to UDMACC26XX object */
        void const        *hwAttrs;           /*!< Pointer to hardware attribute */
    } UDMACC26XX_Config;

    ?

    And in the UDMACC26XX_channelDisable function, this pointer is assigned to the pointer with the data type UDMACC26XX_HWAttrs const:

    UDMACC26XX_HWAttrs const *hwAttrs = handle->hwAttrs;


    At the same time, an explicit type conversion is performed in the UDMACC26XX_channelEnable function:

    __STATIC_INLINE void UDMACC26XX_channelEnable(UDMACC26XX_Handle handle, uint32_t channelBitMask)
    {
        UDMACC26XX_HWAttrs const *hwAttrs;
    
        /* Get the pointer to the hwAttrs */
        hwAttrs = (UDMACC26XX_HWAttrs *)(handle->hwAttrs);
    
        /* Enable DMA channel */
        HWREG(hwAttrs->baseAddr + UDMA_O_SETCHANNELEN) = channelBitMask;
    }
  • Is it a easy way I can replicate what you are seeing? 

  • We imported the project simple peripheral from simplelink cc13x2 26x2 sdk_4_20_00_35. Initialized drivers I2S, SPI, UART. We initialize drivers in a separate task. Apparently, the drivers call the function UDMACC26XX_channelDisable occurs and the above problem arises.

    We understand that editing a library function carries risks of unpredictable code behavior in the future. However, at our own risk and peril, we have added explicit type casting inside the function UDMACC26XX_channelDisable. After that, the error "#145 a value of type "const void *" cannot be used to initialize an entity of type "const UDMACC26XX_HWAttrs *" was gone.

  • Are you able to write a more step by step description on how to trig this error message? I want to ensure that we try to do exactly the same as you to see if you do something that is not intended or if it's a bug somewhere. 

  • My project is attached to the archive. The project is based on the simple peripheral from SDK simplelink_cc13x2_26x2_sdk_4_20_00_35.

    Build the project.

    You will encounter the error "# 145 a value of type" const void * "cannot be used to initialize an entity of type" const UDMACC26XX_HWAttrs * ".

    After that, go to the file UDMACC26XX.h. In this file, inside the STATIC_INLINE void UDMACC26XX_channelDisable function, make a replacement.

    Instead of:

    UDMACC26XX_HWAttrs const * hwAttrs = handle-> hwAttrs;

    write:

    UDMACC26XX_HWAttrs const * hwAttrs;
    hwAttrs = (UDMACC26XX_HWAttrs const *) handle-> hwAttrs;

    Rebuild the project. Now the project should be built without errors.

    Pribor_9000.zip

  • Hi Egor,

    Thank you for letting us know of this issue, I have noted the inconsistency between DMA functions and have alerted Software Development to resolve the issue.  The workaround you've proposed is the recommended solution.  Please let us know if you observe any erroneous behavior with your application.

    Regards,
    Ryan

  • Hi Ryan,

    I'm having one problem in another project. Here is a link to my question https://e2e.ti.com/support/tools/ccs/f/81/t/925523.

    Best regards,
    Egor and Maxim