Files
frame/CMakePresets.json
T
lainandSisyphus e71bcce56e chore(build): reduce root firmware to no-op stub and freeze layout
Retire the product-firmware skeleton until the v4.2 architecture is
signed off (README marks the repo draft/PoC):

- main/ reduced to a no-op stub (main.cc + CMakeLists registering only
  main.cc; idf_component.yml with the cjson managed dependency), root
  app builds clean under both dev and prod presets (IDF v6.0.2)
- delete the 13 product components/ files (app_framework, and the
  display/network/ota/startup_ui/storage service stubs)
- freeze root build/layout: CMakeLists.txt, CMakePresets.json,
  partitions.csv (16 MiB custom layout), sdkconfig.defaults,
  dependencies.lock, cmake/ helpers
- add tooling config: .clang-format, .clang-tidy, .clangd,
  .devcontainer/, .vscode/

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <[email protected]>
2026-08-31 08:01:06 +08:00

45 lines
1.1 KiB
JSON

{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "dev",
"displayName": "Default (development)",
"description": "Development configuration",
"generator": "Ninja",
"binaryDir": "${sourceDir}/.build/dev",
"cacheVariables": {
"IDF_TARGET": "esp32s3",
"SDKCONFIG": "${sourceDir}/.build/dev/sdkconfig",
"SDKCONFIG_DEFAULTS": "${sourceDir}/sdkconfig.defaults;${sourceDir}/sdkconfig.defaults.dev"
}
},
{
"name": "prod",
"displayName": "Production",
"description": "Production configuration",
"generator": "Ninja",
"binaryDir": "${sourceDir}/.build/prod",
"cacheVariables": {
"IDF_TARGET": "esp32s3",
"SDKCONFIG": "${sourceDir}/.build/prod/sdkconfig",
"SDKCONFIG_DEFAULTS": "${sourceDir}/sdkconfig.defaults;${sourceDir}/sdkconfig.defaults.prod"
}
}
],
"buildPresets": [
{
"name": "dev",
"configurePreset": "dev"
},
{
"name": "prod",
"configurePreset": "prod"
}
]
}