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-Q1: Development environment in docker container

Part Number: CC2640R2F-Q1
Other Parts Discussed in Thread: CC2640

Tool/software: Code Composer Studio

Hello Forum,

I'm trying to setup a docker environment with gcc / gdb for developing firmware, for the cc2640. I'm first of all curious if anyone else has done this and also if someone could help me in the right direction. What would I need to install in terms of SDK's, setting up debugging with gdb to do a basic BLE application.

I would really like to be able to setup a docker image with specific versions of tools and then map a folder with my projects files into this container. This way it will be very easy to setup a development environment on a new machine regardless of host os and also very good control over which versions and tools are being used.

Best Regards

Jonas

  • Jonas,

    This request comes quite rarely, but unfortunately we do not have experience with docker containers and CCS - last time I tried I was sidetracked towards other projects and could never finish my work.

    Hopefully other developers may be able to contribute with suggestions.

    Regards,
    Rafael
  • Hello Rafael,

    Ok, another way to assess the feasability of this would be if it is possible to only use the gcc toolchain and the BLE SDK library to build applications or is CCS required to do any BLE work with these chips?

    I suppose if the answer is yes it's at least possible to have a dockerized setup.


    Regards
    Jonas
  • Jonas,

    >>Ok, another way to assess the feasability of this would be if it is possible to only use the gcc toolchain and the BLE SDK library to build applications or is CCS required to do any BLE work with these chips?

    In theory any SDK project can be built from the command line. In practice, however, the burden is on the developer to properly configure all the packages and dependencies into either a shell script or a makefile. That, however, would probably be easy to "dockerize" it.

    Regards,
    Rafael