Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Template of cmake-variants.json for ESP32 reference target
{
"buildType": {
"default": "debug",
"choices": {
"debug": {
"short": "Debug",
"long": "Emit debug information without performing optimizations",
"buildType": "Debug"
},
"release": {
"short": "Release",
"long": "Enable optimizations, omit debug info",
"buildType": "Release"
},
"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": {
"Esp32_nanoCLR": {
"short": "ESP32",
"settings": {
"BUILD_VERSION" : "0.9.99.999",
"TOOLCHAIN_PREFIX" : "E:/ESP32_Tools",
"TARGET_SERIES" : "ESP32",
"RTOS" : "FREERTOS",
"ESP32_IDF_PATH" : "E:/ESP32_Tools/esp-idf-v3.0",
"ESP32_LIBS_PATH" : "E:/ESP32_Tools/libs-v3.0",
"NF_BUILD_RTM" : "OFF",
"NF_FEATURE_DEBUGGER" : "ON",
"NF_FEATURE_RTC" : "ON",
"NF_SECURITY_OPENSSL" : "ON",
"API_Windows.Devices.Gpio" : "ON",
"API_Windows.Devices.Spi" : "ON",
"API_Windows.Devices.I2c" : "ON",
"API_Windows.Devices.Adc" : "ON",
"API_Windows.Devices.Pwm" : "ON",
"API_Windows.Devices.Wifi": "ON",
"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
You can’t perform that action at this time.