Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nfbot/557af962f3e6e8047925c36a99e19fc9 to your computer and use it in GitHub Desktop.
Save nfbot/557af962f3e6e8047925c36a99e19fc9 to your computer and use it in GitHub Desktop.
Template of cmake-variants.json for TI_CC3220SF_LAUNCHXL reference target
{
"buildType": {
"default": "debug",
"choices": {
"debug": {
"short": "Debug",
"long": "Emit debug information without performing optimizations",
"buildType": "Debug"
},
"minsize": {
"short": "MinSizeRel",
"long": "Optimize for smallest binary size",
"buildType": "MinSizeRel"
},
"reldeb": {
"short": "RelWithDebInfo",
"long": "Perform optimizations AND include debugging information",
"buildType": "RelWithDebInfo"
}
}
},
"linkage": {
"default": "",
"choices": {
"TI_CC3220SF_LAUNCHXL": {
"short": "TI_CC3220SF_LAUNCHXL",
"settings": {
"BUILD_VERSION" : "0.9.99.999",
"TOOLCHAIN_PREFIX" : "E:/GNU_Tools_ARM_Embedded/7-2018-q2-update",
"TARGET_SERIES" : "CC32xx",
"RTOS" : "TI_SIMPLELINK",
"TI_SL_CC32xx_SDK_SOURCE" : "E:/GitHub/SimpleLink_CC32xx_SDK",
"TI_BOARD" : "TI_CC3220SF_LAUNCHXL",
"NF_BUILD_RTM" : "OFF",
"NF_FEATURE_DEBUGGER" : "ON",
"NF_FEATURE_RTC" : "ON",
"NF_FEATURE_WATCHDOG" : "OFF",
"NF_FEATURE_HAS_CONFIG_BLOCK" : "ON",
"API_Windows.Devices.Adc" : "ON",
"API_Windows.Devices.Gpio" : "ON",
"API_Windows.Devices.Spi" : "ON",
"API_Windows.Devices.I2c" : "ON",
"API_Windows.Devices.Pwm" : "ON",
"API_Windows.Devices.SerialCommunication" : "OFF",
"API_Windows.Storage" : "OFF",
"API_System.Net" : "ON",
"API_Windows.Networking.Sockets" : "OFF"
}
},
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment