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.

Compiling new project - source file error

Hi everyone,

I'm trying to create a new project with CCS, i have imported files and configurations from SimleBLE_Peripeheral project and personal projects (all working with the SmarRF06).

The context is that this project will concern a specific hardware and I started a blank RTSC project with CCS. Here is the build console : 

**** Build of configuration Debug for project Peri_V102 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
'Building file: ../Startup/Peri_V102_Board.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" --cmd_file="C:\ti\simplelink\Peri_V102\TOOLS\cc26xx_ble_app.cmd"  -mv7M3 --code_state=16 
--abi=eabi -me -O2 --opt_for_speed=0 --include_path="C:/ti/tirtos_simplelink_2_11_01_09/products/cc26xxware_2_00_06_14829" 
--include_path="C:/ti/simplelink/Peri_V102" --include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/controller/CC26xx/include" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/hci" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/host" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/include" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/ble/ROM" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/hal/include" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/hal/target/_common/cc26xx" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/hal/target/CC2650TIRTOS" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/icall/include" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/npi" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/osal/include" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/services/aes/cc26xx" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/services/nv" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/services/nv/cc26xx" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Components/services/saddr" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/common/cc26xx" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/common/npi/npi_np/CC26xx/Stack" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/ICall/Include" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/Include" 
--include_path="C:/ti/simplelink/ble_cc26xx_2_00_00_42893/Projects/ble/Profiles/Roles" --advice:power_severity=error -g --gcc --define=DEBUG 
--display_error_number --diag_suppress=48 --diag_warning=225 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile 
--preproc_dependency="Startup/Peri_V102_Board.pp" --obj_directory="Startup" --cmd_file="./configPkg/compiler.opt"  "../Startup/Peri_V102_Board.c"
[.]
>> WARNING: invalid compiler option --retain=g_pfnVectors (ignored)
>> WARNING: invalid compiler option --entry_point (ignored)
>> WARNING: invalid compiler option --args (ignored)
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Fatal error #1966: cannot open source file "/": Permission denied
1 catastrophic error detected in the compilation of "/".
Compilation terminated.

>> Compilation failure
gmake: *** [Startup/Peri_V102_Board.obj] Error 1

Warnings are from the cc26xx_ble_app.cmd files, these warning do not appears in the others projects.

All the files are compile with this warning that more than one source file is specified...

Thanks in advance for your help !

Have a nice day

Sebastien