Sfoglia il codice sorgente

Document fail-closed AI Thinker GPIO profile

SybexXx 3 giorni fa
parent
commit
980b460c2d

+ 8 - 7
code/components/jomjol_controlGPIO/BOARD_GPIO_PROFILES.md

@@ -24,13 +24,14 @@ and declares the capabilities that the requested mode needs.
 The current build selects BOARD_ESP32CAM_AITHINKER and defines
 __SD_USE_ONE_LINE_MODE__.
 
-GPIO13 is the only pin retained in the user whitelist, and it is input only
-(optionally with pull-up and interrupt). It is connected to the SD DAT3
-contact but is not part of the active 1-bit SD data bus. It is not advertised
-when 4-bit SD mode is selected.
-
-GPIO0, GPIO1, GPIO3, GPIO4, GPIO12 and all active camera/SD/flash/memory pins
-are not general-purpose user pins. In particular:
+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
+configuration and is not exposed as a safe general-purpose pin until that
+interaction is validated on hardware.
+
+GPIO0, GPIO1, GPIO3, GPIO4, GPIO12 and all camera/SD/flash/memory pins are not
+general-purpose user pins. In particular:
 - GPIO0 is the camera XCLK and a boot-strapping pin.
 - GPIO1/GPIO3 are UART0 TX/RX.
 - GPIO4 is the board flash LED.