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.

LP-CC1312R7: Can't build when disable sysconfig

Part Number: LP-CC1312R7
Other Parts Discussed in Thread: CC1312R7, SYSBIOS, SYSCONFIG

Tool/software:

Hi experts,

If I disable Sysconfig on CC13xx, I can't build it.

I followed the instructions in A, but the following error occurred.
Could you tell me what to do?

[13]**** Build of configuration Debug for project rfPacketRx_LP_CC1312R7_tirtos7_ticlang ****
[14]"C:\\ti\\ccs2011\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
 
[15]Building file: "../RFQueue.c"
[16]Invoking: Arm Compiler
[17]"C:/ti/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c @"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/syscfg/"  -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mlittle-endian -mthumb -I"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/syscfg" -I"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang" -I"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/Debug" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/source" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/kernel/tirtos7/packages" -I"C:/ti/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/source/ti/posix/ticlang" -gdwarf-3 -march=armv7e-m -MMD -MP -MF"RFQueue.d_raw" -MT"RFQueue.o" -I"C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/Debug/syscfg"   -o"RFQueue.o" "../RFQueue.c"
[18]subdir_rules.mk:9: recipe for target 'RFQueue.o' failed
[19]tiarmclang: error: no such file or directory: '@C:/Users/<User>/workspace_ccstheia/rfPacketRx_LP_CC1312R7_tirtos7_ticlang/syscfg/'
[20]gmake: *** [RFQueue.o] Error 1

* The following is the same error *
[26]gmake: *** [main_tirtos.o] Error 1
[32]gmake: *** [rfPacketRx.o] Error 1
[38]gmake: *** [syscfg/ti_devices_config.o] Error 1
[44]gmake: *** [syscfg/ti_drivers_config.o] Error 1
[50]gmake: *** [syscfg/ti_radio_config.o] Error 1
[56]gmake: *** [syscfg/ti_sysbios_config.o] Error 1
[57]gmake: Target 'all' not remade because of errors.
[58]**** Build Finished 

  1. Import "rfPacketRx_LP_CC1312R7_tirtos7_ticlang"
  2. Build using syscfg
  3. Copy syscfg in Debug to "rfPacketRx_LP_CC1312R7_tirtos7_ticlang"
  4. Set syscfg to "Exclude From Build"
  5. Add "${PROJECT_ROOT}/syscfg" to "Include Options"
  6. Add "${PROJECT_ROOT}/syscfg" to "Command Files"
  7. Change "${PROJECT_BUILD_DIR}/syscfg/" to "${PROJECT_ROOT}/syscfg" in "File Search Path"

Best regards,
O.H

  • Hi,

    You need to build the project once with SysConfig enabled to generate the first version of the sysconfig generated files. ti_radio_config.c and h etc.

    After building the project once, copy the files from the output foler (e.g. Debug/syscfg) into your application project root. Now you can disable SysCOnfig.

    We have a guide here:

    https://dev.ti.com/tirex/explore/content/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/docs/proprietary-rf/proprietary-rf-users-guide/sysconfig/sysconfig-disable.html 

    Cheers,

    Marie H

  • Hi Marie H,

    Thank you for your reply.

    • Import "rfPacketRx_LP_CC1312R7_tirtos7_ticlang"
    • Build using syscfg
    • Copy syscfg in Debug to "rfPacketRx_LP_CC1312R7_tirtos7_ticlang"
    • Set syscfg to "Exclude From Build"
    • Add "${PROJECT_ROOT}/syscfg" to "Include Options"
    • Add "${PROJECT_ROOT}/syscfg" to "Command Files"
    • Change "${PROJECT_BUILD_DIR}/syscfg/" to "${PROJECT_ROOT}/syscfg" in "File Search Path"

    We are following the steps above, based on the URL you provided.
    Could you please let us know if there is anything wrong?

    Best regards,
    O.H

  • Hi,

    The error message says that there is no folder called syscfg in the rfPacketRx_LP_CC1312R7_tirtos7_ticlang project. Can you double check?

    Cheers,

    Marie H

  • Hi Marie H,

    I tried using "CUSTOM" instead of "syscfg" but I get the exact same error.

    Best regards,
    O.H

  • Hi,

    The issue is that you're putting the folder in a path that your linker and compiler doesn't know about.

    If you want to make it easy for yourself, you can put the files directly in the project root (rfEchoTx_LP_CC1312R7_nortos_ticlang). 

    If you make a new folder (syscfg or CUSTOM) then you need to add this path to both compiler paths (Project > Properties > ARM Compiler > Include Options) and linker paths (Project > Properties > ARM Linker > File Search Path).

    Cheers,
    Marie H

  • Hi Marie H,

    I gave up on adding the folder.

    If I added it directly under the project, I was able to build it, but the following steps are required.
    Add "DeviceFamily_CC13X2X7" in "ti_drivers_config.h" to the compiler predefined(Project > Properties > ARM Compiler > Predefined Symbols)
    Add "${PROJECT_ROOT}" to the linker path (Project > Properties > ARM Linker > File Search Path)

    Best regards,
    O.H

  • Thank you for posting the steps that works for you!

    Cheers,

    Marie H