Просмотр исходного кода

Revert unverified allexoK V1 pin whitelist pending schematic audit

SybexXx 3 дней назад
Родитель
Сommit
5761eeea7a
1 измененных файлов с 0 добавлено и 58 удалено
  1. 0 58
      code/components/jomjol_controlGPIO/board_gpio_profile.cpp

+ 0 - 58
code/components/jomjol_controlGPIO/board_gpio_profile.cpp

@@ -52,64 +52,6 @@ static const GpioBoardProfile kBoardProfile = {
     GPIO_MAX_USER_CHANNELS
 };
 
-#elif defined(BOARD_ESP32_S3_POE_A_CAM_V1)
-
-/*
- * allexoK Esp32-Stick-PoE-A-Cam V1 / schematic Rev. 5.0:
- * - Camera: GPIO4-18 (including camera SCCB on GPIO4/5).
- * - W5500: GPIO1 (MOSI), GPIO2 (CS), GPIO14 (MISO), GPIO21 (SCLK),
- *   GPIO38 (INT), GPIO39 (RESET).
- * - GPIO2 is also the on-board status LED.
- * - GPIO0 is the BOOT strap/button; GPIO3, GPIO45 and GPIO46 are S3 straps.
- * - GPIO19/20 are reserved for USB Serial/JTAG; GPIO39-42 for JTAG.
- * - GPIO26-37 are withheld for flash/PSRAM, including octal-memory module pins.
- * - GPIO43/44 are UART0 TX/RX.
- *
- * The V1 Rev. 5.0 schematic routes GPIO47 and GPIO48 to H4 and does not
- * assign them to another on-board peripheral. They are the only pins
- * currently whitelisted. The later CAM+ design is a separate profile because
- * it adds SD, WS2812B LEDs and battery/power-control circuitry.
- */
-static const GpioBoardPin kUserPins[] = {
-    {
-        GPIO_NUM_47,
-        GPIO_PIN_CAP_INPUT | GPIO_PIN_CAP_OUTPUT |
-        GPIO_PIN_CAP_PULL_UP | GPIO_PIN_CAP_PULL_DOWN |
-        GPIO_PIN_CAP_INTERRUPT,
-        "H4 pin 12 (GPIO47)"
-    },
-    {
-        GPIO_NUM_48,
-        GPIO_PIN_CAP_INPUT | GPIO_PIN_CAP_OUTPUT |
-        GPIO_PIN_CAP_PULL_UP | GPIO_PIN_CAP_PULL_DOWN |
-        GPIO_PIN_CAP_INTERRUPT,
-        "H4 pin 11 (GPIO48)"
-    }
-};
-
-static const gpio_num_t kReservedPins[] = {
-    GPIO_NUM_0, GPIO_NUM_1, GPIO_NUM_2, GPIO_NUM_3,
-    GPIO_NUM_4, GPIO_NUM_5, GPIO_NUM_6, GPIO_NUM_7, GPIO_NUM_8,
-    GPIO_NUM_9, GPIO_NUM_10, GPIO_NUM_11, GPIO_NUM_12, GPIO_NUM_13,
-    GPIO_NUM_14, GPIO_NUM_15, GPIO_NUM_16, GPIO_NUM_17, GPIO_NUM_18,
-    GPIO_NUM_19, GPIO_NUM_20, GPIO_NUM_21,
-    GPIO_NUM_26, GPIO_NUM_27, GPIO_NUM_28, GPIO_NUM_29, GPIO_NUM_30,
-    GPIO_NUM_31, GPIO_NUM_32, GPIO_NUM_33, GPIO_NUM_34, GPIO_NUM_35,
-    GPIO_NUM_36, GPIO_NUM_37, GPIO_NUM_38, GPIO_NUM_39, GPIO_NUM_40,
-    GPIO_NUM_41, GPIO_NUM_42, GPIO_NUM_43, GPIO_NUM_44, GPIO_NUM_45,
-    GPIO_NUM_46
-};
-
-static const GpioBoardProfile kBoardProfile = {
-    "allexoK ESP32-Stick-PoE-A-Cam V1 (Rev 5.0, N16R8)",
-    kUserPins,
-    sizeof(kUserPins) / sizeof(kUserPins[0]),
-    kReservedPins,
-    sizeof(kReservedPins) / sizeof(kReservedPins[0]),
-    GPIO_NUM_2,
-    GPIO_MAX_USER_CHANNELS
-};
-
 #elif defined(BOARD_FREENOVE_ESP32S3)
 
 /*