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/CC1310: Can I configure a build target to use different smartRF settings?

Part Number: CC1310

Tool/software: Code Composer Studio

I have a CC1310 project and I'd like to create a new build target that uses a different set of smartRF settings.

Currently the smartRF settings are in the smartrf_settings dir.  Can I create another dir with the same files

but different contents and have the build target use that instead?

Victor

  • Victor,

    You can create multiple build configurations within the same project, each with its own set of source files and/or build options. More on build configurations can be found here.

    You could either have multiple versions of the same source file (with different names) and specify which one to include/exclude per build configuration, or you could just keep one source file and use preprocessor defines to decide which section of code gets processed for which build configuration. 

    Hope this helps!