Part Number: CC2640R2F
Other Parts Discussed in Thread: CCSTUDIO
Hi,
I am having a proble build a clone project from the command line. I am using the commands from this guide https://software-dl.ti.com/ccs/esd/documents/ccs_projects-command-line.html. I already tested in a windows machine and in docker container using Ubuntu (with SDK and CCS12.4 installed in /root/ti).
Import command:
Build command:
/opt/ti/ccs1240/ccs/utils/bin/gmake -k -j 4 all -O
Building file: "../Application/simple_peripheral.c"
Invoking: ARM Compiler
"/opt/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" --cmd_file="/home/luiscarlos/dev/ble-reader/ble5_simple_peripheral_cc2640r2lp_app/TOOLS/defines/ble5_simple_peripheral_cc2640r2lp_app_FlashROM_StackLibrary.opt" --cmd_file="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/config/build_components.opt" --cmd_file="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/config/factory_config.opt" --cmd_file="/home/luiscarlos/dev/ble-reader/ble5_simple_peripheral_cc2640r2lp_stack_library/TOOLS/build_config.opt" -mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path="/home/luiscarlos/dev/ble-reader/ble5_simple_peripheral_cc2640r2lp_app" --include_path="/home/luiscarlos/dev/ble-reader/ble5_simple_peripheral_cc2640r2lp_app/Application" --include_path="/home/luiscarlos/dev/ble-reader/ble5_simple_peripheral_cc2640r2lp_app/Startup" --include_path="/home/luiscarlos/dev/ble-reader/ble5_simple_peripheral_cc2640r2lp_app/PROFILES" --include_path="/home/luiscarlos/dev/ble-reader/ble5_simple_peripheral_cc2640r2lp_app/Include" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/controller/cc26xx/inc" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/inc" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/rom" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/common/cc26xx" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/icall/inc" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/target" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/target/_common" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/target/_common/cc26xx" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/hal/src/inc" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/heapmgr" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/icall/src/inc" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/osal/src/inc" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/services/src/saddr" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/ble5stack/services/src/sdata" --include_path="/opt/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/devices/cc26x0r2" --include_path="/home/luiscarlos/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/drivers" --include_path="/home/luiscarlos/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/drivers/pin" --include_path="/opt/ti/ccs1240/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=DeviceFamily_CC26X0R2 -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Application/simple_peripheral.d_raw" --obj_directory="Application" --cmd_file="configPkg/compiler.opt" "../Application/simple_peripheral.c"
>> Compilation failure
Application/subdir_rules.mk:7: recipe for target 'Application/simple_peripheral.obj' failed
gmake: *** No rule to make target '/home/luiscarlos/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/drivers/pin/PINCC26XX.c', needed by 'Drivers/PIN/PINCC26XX.obj'.
"../Application/simple_peripheral.c", line 107: fatal error #1965: cannot open source file "PIN.h"
1 catastrophic error detected in the compilation of "../Application/simple_peripheral.c".
Compilation terminated.
gmake: *** [Application/simple_peripheral.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
================================================================================
--------------------------------------------------------------------------------
Errors for project 'ble5_simple_peripheral_cc2640r2lp_stack_library' (0):
--------------------------------------------------------------------------------
Errors for project 'ble5_simple_peripheral_cc2640r2lp_app' (4):
gmake: *** No rule to make target '/home/luiscarlos/ti/simplelink_cc2640r2_sdk_5_30_00_03/source/ti/drivers/pin/PINCC26XX.c', needed by 'Drivers/PIN/PINCC26XX.obj'.
gmake: *** [Application/simple_peripheral.obj] Error 1
gmake: Target 'all' not remade because of errors.
Application/simple_peripheral.c [line 107]: #1965 cannot open source file "PIN.h"