Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Template of cmake-variants.json for ST_NUCLEO_F091RC 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_NUCLEO_F091RC": {
"short": "ST_NUCLEO64_F091RC",
"settings": {
"BUILD_VERSION" : "0.9.99.999",
"TOOLCHAIN_PREFIX" : "E:/GNU_Tools_ARM_Embedded/7-2017-q4-major",
"TARGET_SERIES" : "STM32F0xx",
"CHIBIOS_SOURCE" : "E:/GitHub/ChibiOS",
"CHIBIOS_BOARD" : "ST_NUCLEO64_F091RC",
"NF_BUILD_RTM" : "OFF",
"NF_FEATURE_DEBUGGER" : "ON",
"NF_FEATURE_RTC" : "ON",
"NF_PLATFORM_NO_CLR_TRACE" : "ON",
"NF_CLR_NO_IL_INLINE" : "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"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.