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:
2026-08-31 08:01:06 +08:00
co-authored by Sisyphus
parent a6d6168fd5
commit e71bcce56e
29 changed files with 167 additions and 166 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x15000,
nvs, data, nvs, 0x9000, 0x14000,
nvs_keys, data, nvs_keys,0x1D000, 0x1000, encrypted
otadata, data, ota, 0x1E000, 0x2000,
coredump, data, coredump,0x20000, 0x20000,
ota_0, app, ota_0, 0x40000, 0x500000,
ota_1, app, ota_1, 0x540000, 0x500000,
plugin_fs, data, littlefs,0xA40000, 0x200000,
assets_fs, data, littlefs,0xC40000, 0x3C0000,
plugin_fs, data, littlefs,0xA40000, 0x4C0000,
system_fs, data, littlefs,0xF00000, 0x100000,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x15000 0x14000
3 nvs_keys data nvs_keys 0x1D000 0x1000 encrypted
4 otadata data ota 0x1E000 0x2000
5 coredump data coredump 0x20000 0x20000
6 ota_0 app ota_0 0x40000 0x500000
7 ota_1 app ota_1 0x540000 0x500000
8 plugin_fs data littlefs 0xA40000 0x200000 0x4C0000
9 assets_fs system_fs data littlefs 0xC40000 0xF00000 0x3C0000 0x100000