Skip to content

Instantly share code, notes, and snippets.

@nfbot
Last active May 4, 2019 11:00
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/efd47b5cfffdc7e54e388c37f1cb7a9c to your computer and use it in GitHub Desktop.
Save nfbot/efd47b5cfffdc7e54e388c37f1cb7a9c to your computer and use it in GitHub Desktop.
Template of cmake-variants.json for STM32F769I_DISCOVERY 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": {
"ST_STM32F769I_DISCOVERY": {
"short": "ST_STM32F769I_DISCOVERY",
"settings": {
"BUILD_VERSION" : "0.9.99.999",
"TOOLCHAIN_PREFIX" : "E:/GNU_Tools_ARM_Embedded/7-2017-q4-major",
"TARGET_SERIES" : "STM32F7xx",
"SUPPORT_ANY_BASE_CONVERSION" : "ON",
"RTOS" : "CHIBIOS",
"CHIBIOS_SOURCE" : "E:/GitHub/ChibiOS",
"CHIBIOS_BOARD" : "ST_STM32F769I_DISCOVERY",
"SWO_OUTPUT" : "ON",
"USE_RNG" : "ON",
"NF_BUILD_RTM" : "OFF",
"NF_FEATURE_DEBUGGER" : "ON",
"NF_FEATURE_RTC" : "ON",
"NF_SECURITY_MBEDTLS" : "OFF",
"API_System.Net" : "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" : "ON",
"API_Windows.Networking.Sockets" : "OFF"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment