|
|
@@ -52,6 +52,47 @@ static const GpioBoardProfile kBoardProfile = {
|
|
|
GPIO_MAX_USER_CHANNELS
|
|
|
};
|
|
|
|
|
|
+#elif defined(BOARD_ESP32_S3_ALEKSEI)
|
|
|
+
|
|
|
+/*
|
|
|
+ * Reference mapping taken from allexoK/AI-on-the-edge-device,
|
|
|
+ * branch esp32s3-test, BOARD_ESP32_S3_ALEKSEI.
|
|
|
+ *
|
|
|
+ * The build enables Octal PSRAM. Camera, SDMMC, W5500, UART0, battery ADC,
|
|
|
+ * power-control rails and the board LEDs account for the remaining GPIOs.
|
|
|
+ * GPIO12 is the on-board four-LED WS2812 chain; camera D4 is GPIO47.
|
|
|
+ *
|
|
|
+ * No general-purpose user pin is exposed. This is a conservative software
|
|
|
+ * profile for the dedicated board, not proof that a different ESP32-S3
|
|
|
+ * carrier or module revision has the same wiring.
|
|
|
+ */
|
|
|
+static const gpio_num_t kReservedPins[] = {
|
|
|
+ /* Strapping pins, battery ADC, UART / I2C and camera signals. */
|
|
|
+ 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,
|
|
|
+
|
|
|
+ /* USB Serial/JTAG and Octal Flash/PSRAM connections. */
|
|
|
+ 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,
|
|
|
+
|
|
|
+ /* W5500, SDMMC, UART0, power rails, strapping and camera/flash LED. */
|
|
|
+ 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,
|
|
|
+ GPIO_NUM_47, GPIO_NUM_48
|
|
|
+};
|
|
|
+
|
|
|
+static const GpioBoardProfile kBoardProfile = {
|
|
|
+ "allexoK ESP32-S3-POE-A-CAM+ (Octal PSRAM, no user GPIOs)",
|
|
|
+ NULL, 0U,
|
|
|
+ kReservedPins, sizeof(kReservedPins) / sizeof(kReservedPins[0]),
|
|
|
+ GPIO_NUM_48,
|
|
|
+ GPIO_MAX_USER_CHANNELS
|
|
|
+};
|
|
|
+
|
|
|
#elif defined(BOARD_FREENOVE_ESP32S3)
|
|
|
|
|
|
/*
|