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]>
This commit is contained in:
Vendored
+14
-1
@@ -29,5 +29,18 @@
|
||||
"--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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user