Files
frame/.vscode/settings.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

47 lines
2.2 KiB
JSON

{
"C_Cpp.intelliSenseEngine": "disabled",
"idf.extensionActivationMode": "always",
"cmake.configureOnOpen": false,
"cmake.configureOnEdit": false,
"cmake.automaticReconfigure": false,
"cmake.autoSelectActiveFolder": false,
"cmake.options.advanced": {
"build": {
"statusBarVisibility": "inherit",
"inheritDefault": "hidden"
},
"launch": {
"statusBarVisibility": "inherit",
"inheritDefault": "hidden"
},
"debug": {
"statusBarVisibility": "inherit",
"inheritDefault": "hidden"
}
},
"idf.openOcdConfigs": [
"board/esp32s3-builtin.cfg"
],
"idf.port": "/dev/ttyACM0",
"idf.currentSetup": "/home/lain/.espressif/v6.0.2/esp-idf",
"clangd.path": "/home/lain/.espressif/tools/esp-clang/esp-20.1.1_20250829/esp-clang/bin/clangd",
"clangd.arguments": [
"--background-index",
"--query-driver=**",
"--compile-commands-dir=/home/lain/Projects/esp_study/esp_study/.build/dev"
],
"chat.tools.terminal.autoApprove": {
"/^awk '/\\^FRAME_ERR_\\[A-Z_\\]\\+ -\\[0-9\\]\\+ / \\{ defs\\[\\$1\\]\\+\\+; values\\[\\$2\\]\\+\\+ \\} \\{ rest=\\$0; while \\(match\\(rest, /FRAME_ERR_\\[A-Z_\\]\\+/\\)\\) \\{ refs\\[substr\\(rest, RSTART, RLENGTH\\)\\]=1; rest=substr\\(rest, RSTART\\+RLENGTH\\) \\} \\} END \\{ for \\(code in refs\\) if \\(!\\(code in defs\\)\\) \\{ print \"missing: \" code; bad=1 \\} for \\(code in defs\\) if \\(defs\\[code\\] != 1\\) \\{ print \"duplicate definition: \" code; bad=1 \\} for \\(value in values\\) if \\(values\\[value\\] != 1\\) \\{ print \"duplicate value: \" value; bad=1 \\} exit bad \\}' _doc/project\\.md; and set fences \\(rg -c '\\^```' _doc/project\\.md\\); printf 'fences=%s\\\\n' \"\\$fences\"; and test \\(math \"\\$fences % 2\"\\) -eq 0; and git diff --no-index --check /dev/null _doc/project\\.md; set diff_code \\$status; test \\$diff_code -eq 1$/": {
"approve": true,
"matchCommandLine": true
},
"/^git --no-pager status --short && printf 'document-lines=' && wc -l < _doc/project\\.md && printf 'document-bytes=' && wc -c < _doc/project\\.md$/": {
"approve": true,
"matchCommandLine": true
}
},
"idf.customExtraVars": {
"IDF_TARGET": "esp32s3"
}
}