Explorar o código

Document supplied board mappings and remaining S3 build integration gaps

SybexXx hai 3 días
pai
achega
4b1e93cd31
Modificáronse 1 ficheiros con 29 adicións e 9 borrados
  1. 29 9
      code/components/jomjol_controlGPIO/BOARD_GPIO_PROFILES.md

+ 29 - 9
code/components/jomjol_controlGPIO/BOARD_GPIO_PROFILES.md

@@ -24,9 +24,9 @@ and declares the capabilities that the requested mode needs.
 The current build selects BOARD_ESP32CAM_AITHINKER and defines
 The current build selects BOARD_ESP32CAM_AITHINKER and defines
 __SD_USE_ONE_LINE_MODE__.
 __SD_USE_ONE_LINE_MODE__.
 
 
-The user GPIO whitelist is deliberately empty. Although GPIO13 (SD DAT3) is
-not an active data signal in 1-bit SD mode, main.cpp explicitly configures a
-pull-up on GPIO_SDCARD_D3. It therefore remains part of the SD-card electrical
+The user GPIO whitelist is deliberately empty. GPIO13 (SD DAT3) is not part
+of the active 1-bit data bus, but main.cpp explicitly configures a pull-up on
+GPIO_SDCARD_D3. It therefore remains part of the SD-card electrical
 configuration and is not exposed as a safe general-purpose pin until that
 configuration and is not exposed as a safe general-purpose pin until that
 interaction is validated on hardware.
 interaction is validated on hardware.
 
 
@@ -78,9 +78,29 @@ pull-up=4, pull-down=8, interrupt=16, PWM=32. The firmware remains the
 authoritative validator; hiding or disabling a browser control is not a
 authoritative validator; hiding or disabling a browser control is not a
 security boundary.
 security boundary.
 
 
-The current configuration page still contains legacy rows only for GPIO
-0, 1, 3, 4, 12 and 13. It loads the capability endpoint and hides every row
-not whitelisted, but it cannot yet display arbitrary pin numbers. A board
-profile must not whitelist a pin that the current UI cannot represent. A
-follow-up UI/config-schema change is required before arbitrary ESP32-S3 pin
-numbers can be configured from the browser.
+The configuration page now creates its GPIO channel controls from the profile
+response, and the parameter parser registers GPIO0-GPIO48. Only pins returned
+by the active profile are serialized from the browser. The firmware parser
+still independently validates every configured pin and accepts no more than
+four user channels.
+
+The supplied test configuration contains mappings for AI-Thinker ESP32-CAM,
+WROVER-KIT, Freenove ESP32-S3-CAM, and ESP32-S3-ETH V1/V2. These mappings are
+useful evidence of existing board resource assignments, but do not by
+themselves prove that any unused pin is safe for general-purpose use. The
+Freenove mapping assigns GPIO2 to the generic handler and also to the status
+LED, and GPIO48 to the generic handler and flash LED; both are therefore
+reserved. The ETH V1/V2 mappings assign GPIO33-GPIO36 to the generic handler,
+but the exact module flash/PSRAM variant and full carrier wiring still need
+verification. Consequently these supplied S3 profiles currently fail closed
+with an empty user-pin whitelist.
+
+**Build integration still needs verification:** the checked-in
+`code/include/defines.h` currently contains board branches for
+`BOARD_WROVER_KIT`, `BOARD_M5STACK_PSRAM`, and
+`BOARD_ESP32CAM_AITHINKER`, but not the supplied Freenove or S3-ETH board
+branches. The S3 profile additions must not be considered build-ready until
+the selected S3 board definitions and build environments are integrated and
+compiled. The supplied WROVER config uses the name
+`BOARD_WROVER_KIT_ESP32`, whereas the current checked-in definitions use
+`BOARD_WROVER_KIT`; this naming difference also needs reconciliation.