Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Template of cmake-variants.json for Mikrobus QUAIL 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": {
"MBN_QUAIL": {
"short": "MBN_QUAIL",
"settings": {
"BUILD_VERSION" : "0.9.99.999",
"TOOLCHAIN_PREFIX" : "E:/GNU_Tools_ARM_Embedded/7-2017-q4-major",
"TOOL_HEX2DFU_PREFIX" : "E:/GitHub/nf-interpreter",
"TARGET_SERIES" : "STM32F4xx",
"USE_FPU" : "TRUE",
"CHIBIOS_SOURCE" : "E:/GitHub/ChibiOS",
"CHIBIOS_BOARD" : "MBN_QUAIL",
"SWO_OUTPUT" : "OFF",
"USE_RNG" : "ON",
"NF_BUILD_RTM" : "OFF",
"NF_FEATURE_DEBUGGER" : "ON",
"NF_FEATURE_RTC" : "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.