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/CC2640R2F: Project architecture changes from 2.1.0.44423 to 2.20.00.49: Hex for stack and app?

Part Number: CC2640R2F
Other Parts Discussed in Thread: BLE-STACK

Tool/software: Code Composer Studio

Hy,

things have obviously changed since 2.1.0.44423....

Back then, Stack and App have compiled to hex files. I could merge them and, more important, update them separately. Now, with 2.20.00.49 (CC2640R2) it seems, that stack is compiled as library and then linked during build of the application.

Is there a way to change this again? I need to keep devices compatible with some previously defined methods, i.e. a unique revision for the stack and separate OADs for stack and application.

Also, the project files seem different: so far I was used to .ccsproject, .cproject and .project files, now there is xxx.projectspec

Back then I imported the projects as CCS projects, option "Copy projects into workspace" not checked. So physically I was working at the source directory. Now, it seems that projects are always copied into my workspace. When I try to open a project a 2nd time, I get the notice "An eclipse project already exists at location"

What documentation would help me in switching from ble_cc26xx_2_01_00_44423 to simplelink_cc2640r2_sdk_2_20_00_49?

Best regards

Harald

  • Hi,

    First I would recommend you to port BLE 2.1 to BLE 2.2.1 and then from BLE 2.2.1 to BLE 3.
    Following are the porting guides:

    From 2.1 to 2.2.1
    processors.wiki.ti.com/.../CC2640_Porting_Projects

    From 2.2.1 to BLE 3
    dev.ti.com/.../cc2640-to-cc2640r2.html

    Then you can find the rest here:
    dev.ti.com/.../migration.html


    Regarding making stack_library into split images, you can take a look at this part of the guide:
    dev.ti.com/.../architecture.html
  • Sorry to bother you again. I can't get it...

    I do not want to port my old projects but use the chance to start from scratch and rather merge old code snippets in the freshly made new project.

    >Regarding making stack_library into split images, you can take a look at this part of the guide:

    I read and tried to understand this, but can't get any further.

    I try to change the project simple_peripheral_observer from github.com/.../simplelink_cc2640r2_sdk-2.20

    I can't find the project in Resource Explorer, so I import it as CCS Project

    Then I created a new config

    Then I try to switch to "Executable" instead of "Static Library" but the list box is greyed out

    Actually, the stack project does not get "Active" when I select it...

    Also I can not understand how to work with the projectspec files.

    I have the folder "C:\ti\simplelink_cc2640r2_sdk_2_20_00_49\examples\rtos\CC2640R2_LAUNCHXL\bleapps\simple_peripheral_observer" under SCM. As soon as I import the project into CCS and open a source code file this source code file is physically in my workspace directory. When I change the source code file these changes won't be committed to my svn, obviously.

    In my previous work flow, all files stayed at their original position, the whole project consisted of linked files

    Any help appreciated...

    Best regards

    Harald

  • Part Number: CC2640R2F

    Tool/software: Code Composer Studio

     

    Hy,

    Here  I described what I am struggling with at the moment. Didn't get further a bit. Any help appreciated.

    Thanks in advance

    Harald

  • Just a small example of my lack of understanding:

    In your user guide you write: "Sample applications within the BLE-Stack portion of the SimpleLink CC2640R2 SDK support multiple build configurations"

    I have not found a single project that supports several build configurations.

    I.e. in file

    C:\ti\simplelink_cc2640r2_sdk_2_20_00_49\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\ccs\simple_peripheral_cc2640r2lp_stack_library.projectspec

    I find only one "configuration" entry named "FlashROM_Library" 

    Shouldn't there be all the other configurations as well?

    simple_peripheral_cc2640r2lp_stack_library.projectspec.txt
    <?xml version="1.0" encoding="UTF-8"?>
    
    <projectSpec>
        <project
            name="simple_peripheral_cc2640r2lp_stack_library"
            device="CC2640R2F"
            cgtVersion="16.9"
            connection="common/targetdb/connections/TIXDS110_Connection.xml"
            toolChain="TI"
            linkerCommandFile="cc26xx_app.cmd"
            outputType="staticLibrary"
            preBuildStep="
            ${TOOLS_BLE_DIR}/lib_search/lib_search
            ${PROJECT_LOC}/TOOLS/build_config.opt
            ${SRC_BLE_DIR}/blelib
            ${WORKSPACE_LOC}/simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd
            cc2640
            ${TOOLS_BLE_DIR}/lib_search/lib_search.xml
            ${SRC_BLE_DIR}/symbols"
            postBuildStep=""
            description=""
            launchWizard="false"
        >
    
            <!-- Project properties -->
            <property name="products" value="com.ti.rtsc.XDCtools:3.50.07.20_core"/>
            <property name="target" value="ti.targets.arm.elf.M3"/>
            <property name="platform" value="ti.platforms.simplelink:CC2640R2F"/>
            <property name="buildProfile" value="release"/>
            <property name="isHybrid" value="true"/>
            <property name="configuroOptions" value="--compileOptions ${COMPILER_FLAGS}"/>
    
            <configuration
                name="FlashROM_Library"
                compilerBuildOptions="
                --cmd_file=${SRC_BLE_DIR}/config/build_components.opt
                --cmd_file=${SRC_BLE_DIR}/config/factory_config.opt
                --cmd_file=${PROJECT_LOC}/TOOLS/build_config.opt
                -mv7M3 -O4 --opt_for_speed=0 --code_state=16 --abi=eabi -me -g --c99 --gcc --gen_func_subsections=on --display_error_number --diag_wrap=off
                -D${XDC_SYMBOLS}
                -DCC26XX
                -DCC26XX_R2
                -DDeviceFamily_CC26X0R2
                -DEXT_HAL_ASSERT
                -DFLASH_ROM_BUILD
                -DGATT_NO_CLIENT
                -DICALL_EVENTS
                -DICALL_JT
                -DICALL_LITE
                -DOSAL_CBTIMER_NUM_TASKS=1
                -DOSAL_SNV=1
                -DPOWER_SAVING
                -DSTACK_LIBRARY
                -DUSE_ICALL
                -I${CG_TOOL_ROOT}/include
                -I${XDC_INCLUDE_PATH}
                -I${SRC_BLE_DIR}/controller/cc26xx_r2/inc
                -I${SRC_BLE_DIR}/inc
                -I${SRC_BLE_DIR}/rom
                -I${SRC_BLE_DIR}/common/cc26xx
                -I${SRC_BLE_DIR}/common/cc26xx/npi/stack
                -I${EXAMPLE_BLE_ROOT}/src/stack
                -I${SRC_BLE_DIR}/icall/inc
                -I${SRC_BLE_DIR}/inc
                -I${SRC_BLE_DIR}/profiles/roles
                -I${SRC_BLE_DIR}/hal/src/target/_common
                -I${SRC_BLE_DIR}/hal/src/target/_common/cc26xx
                -I${SRC_BLE_DIR}/hal/src/target
                -I${SRC_BLE_DIR}/hal/src/inc
                -I${SRC_BLE_DIR}/icall/src/inc
                -I${SRC_BLE_DIR}/npi/src
                -I${SRC_BLE_DIR}/osal/src/inc
                -I${SRC_BLE_DIR}/services/src/aes/cc26xx
                -I${SRC_BLE_DIR}/services/src/nv/cc26xx
                -I${SRC_BLE_DIR}/services/src/nv
                -I${SRC_BLE_DIR}/services/src/saddr
                -I${SRC_BLE_DIR}/../../../source/ti/devices/cc26x0r2
                -I${SRC_BLE_DIR}/../../../source/ti/devices/cc26x0r2/rf_patches
                -I${SRC_BLE_DIR}/../../../source/ti/devices/cc26x0r2/inc
                -I${SRC_BLE_DIR}/../../../source
                -I${SRC_BLE_DIR}/../../../kernel/tirtos/packages
                -I${XDC_CG_ROOT}/packages"
            />
    
            <pathVariable name="EXAMPLE_BLE_ROOT" path="../.." scope="project"/>
            <pathVariable name="SRC_BLE_DIR" path="../../../../../../../source/ti/blestack" scope="project"/>
            <pathVariable name="TOOLS_BLE_DIR" path="${SRC_BLE_DIR}/../../../tools/blestack" scope="project"/>
    
            <!-- HAL/Common Folder -->
            <file path="SRC_BLE_DIR/hal/src/common/hal_assert.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Common" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- HAL/Include Folder -->
            <file path="SRC_BLE_DIR/hal/src/inc/hal_uart.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_adc.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_assert.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_board.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_defs.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_key.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_lcd.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_led.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_sleep.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/inc/hal_timer.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Include" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- HAL/Target/CC2650/Config Folder -->
            <file path="SRC_BLE_DIR/hal/src/target/_common/hal_board_cfg.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Target/CC2650/Config" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- HAL/Target/CC2650/Drivers Folder -->
            <file path="SRC_BLE_DIR/hal/src/target/_common/hal_flash_wrapper.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Target/CC2650/Drivers" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/target/_common/hal_rtc_wrapper.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Target/CC2650/Drivers" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/target/_common/hal_trng_wrapper.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Target/CC2650/Drivers" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/target/_common/hal_trng_wrapper.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Target/CC2650/Drivers" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- HAL/Target/CC2650/_common Folder -->
            <file path="SRC_BLE_DIR/hal/src/target/_common/hal_mcu.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Target/CC2650/_common" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/hal/src/target/_common/cc26xx/mb_patch.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="HAL/Target/CC2650/_common" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- Host Folder -->
            <file path="SRC_BLE_DIR/host/gatt_uuid.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="Host" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/inc/gatt_uuid.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="Host" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- ICallBLE Folder -->
            <file path="SRC_BLE_DIR/icall/inc/ble_dispatch.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="ICallBLE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/icall/stack/ble_dispatch_JT.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="ICallBLE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/icall/stack/ble_dispatch_lite.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="ICallBLE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/icall/src/icall_lite_translation.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="ICallBLE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- INCLUDE Folder -->
            <file path="SRC_BLE_DIR/inc/att.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/inc/gap.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/inc/gatt.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/inc/gatt_uuid.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/inc/hci.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/inc/l2cap.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/inc/linkdb.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/controller/cc26xx_r2/inc/ll.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/inc/sm.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="INCLUDE" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- NPI Folder -->
            <file path="SRC_BLE_DIR/common/cc26xx/npi/stack/npi.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="NPI" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/common/cc26xx/npi/stack/npi.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="NPI" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- OSAL Folder -->
            <file path="SRC_BLE_DIR/osal/src/inc/comdef.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/common/osal.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/common/osal_bufmgr.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal_bufmgr.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/common/osal_cbtimer.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal_cbtimer.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/common/osal_clock.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal_clock.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal_memory.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/common/osal_memory_icall.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/common/osal_pwrmgr.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal_pwrmgr.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal_snv.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/mcu/cc26xx/osal_snv_wrapper.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal_task.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/common/osal_timers.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/osal/src/inc/osal_timers.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="OSAL" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- PROFILES Folder -->
            <file path="SRC_BLE_DIR/profiles/roles/gap.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/profiles/roles/gapbondmgr.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/profiles/roles/gapbondmgr.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/host/gattservapp_util.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/host/sm_ecc.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="PROFILES" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- ROM Folder -->
            <file path="SRC_BLE_DIR/rom/r2/common_rom_init.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="ROM" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/rom/r2/rom_flash_jt.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="ROM" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/rom/r2/rom_init.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="ROM" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- Startup Folder -->
            <file path="SRC_BLE_DIR/icall/stack/ble_user_config.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="Startup" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/common/cc26xx/icall_startup.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="Startup" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="EXAMPLE_BLE_ROOT/src/stack/osal_icall_ble.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="Startup" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
    
            <!-- TOOLS Folder -->
            <file path="SRC_BLE_DIR/config/build_components.opt" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="TOOLS" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="EXAMPLE_BLE_ROOT/tirtos/build_config.opt" openOnCreation="" excludeFromBuild="false" action="copy" targetDirectory="TOOLS" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/common/cc26xx/onboard.c" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="TOOLS" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
            <file path="SRC_BLE_DIR/common/cc26xx/onboard.h" openOnCreation="" excludeFromBuild="false" action="link" targetDirectory="TOOLS" createVirtualFolders="true" applicableConfigurations="FlashROM_Library"/>
        </project>
    </projectSpec>
    

    Regards

    Harald

  • Hi Harald,

    Sorry for the delayed response. I was out traveling for work the pass couple of days, therefore was not able to respond to your post.

    I will take a look at it and keep you updated asap.
  • Hi,

    The updated content for split image process can be found here :

    We will update our user's guide accordingly. Sorry for pointing you to the outdated content.

    Regarding the multiple build configuration, they are all based on FlashROM_Stacklibrary with other features enabled.

    For example, in simple_peripheral, you will find 2 build config, one is FlashROM_Stacklibrary  and other one is FlashROM_Stacklibrary _RCOSC.

  • Hy,

    this way seemed to work out. I didn't get it to work yet, but that seemed just a matter of small details.

    As an alternative to add OAD to multirole, might it be possible to add multi role to OAD, when using

    C:\ti\simplelink_cc2640r2_sdk_2_20_00_49\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_onchip

    as a starting point?

    At the moment, I still fight with the new project organization (projectspec vs .cproject), especially when it comes to SCM integration. I remember reading a howto on using source code management (svn or git) with the new structure, but cannot find this article any more. Could you point me in the right direction?

    Regards

    Harald

  • Hi,

    I don't think changing the simple_peripheral_OAD to multi-role OAD is easier than making multi-role into an OAD(split image project).

    The guide I provided is universal, so you can make any stack_library project into split image project.

    I am not sure if I have seen the document you want, but for anything code composer studio specific, you can post it in ccs forum.
    The CCS experts can definitely provide better answer than I do regarding this topic.
    You can find ccs forum here:
    e2e.ti.com/.../81