Skip to content

Commit

Permalink
esp32/boards/GENERIC_S3_SPIRAM_OCT: Add ESP32S3 board with Octal SPIRAM.
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-M authored and dpgeorge committed Dec 19, 2022
1 parent bb77c1d commit 1290329
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
18 changes: 18 additions & 0 deletions ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/board.json
@@ -0,0 +1,18 @@
{
"deploy": [
"../deploy_s3.md"
],
"docs": "",
"features": [
"BLE",
"WiFi"
],
"images": [
"generic_s3.jpg"
],
"mcu": "esp32s3",
"product": "Generic ESP32-S3 (SPIRAM Octal)",
"thumbnail": "",
"url": "https://www.espressif.com/en/products/modules",
"vendor": "Espressif"
}
11 changes: 11 additions & 0 deletions ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/mpconfigboard.cmake
@@ -0,0 +1,11 @@
set(IDF_TARGET esp32s3)

set(SDKCONFIG_DEFAULTS
boards/sdkconfig.base
boards/sdkconfig.usb
boards/sdkconfig.ble
boards/sdkconfig.240mhz
boards/sdkconfig.spiram_sx
boards/sdkconfig.spiram_oct
boards/GENERIC_S3_SPIRAM_OCT/sdkconfig.board
)
10 changes: 10 additions & 0 deletions ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/mpconfigboard.h
@@ -0,0 +1,10 @@
#define MICROPY_HW_BOARD_NAME "ESP32S3 module (spiram octal)"
#define MICROPY_HW_MCU_NAME "ESP32S3"

#define MICROPY_PY_MACHINE_DAC (0)

// Enable UART REPL for modules that have an external USB-UART and don't use native USB.
#define MICROPY_HW_ENABLE_UART_REPL (1)

#define MICROPY_HW_I2C0_SCL (9)
#define MICROPY_HW_I2C0_SDA (8)
12 changes: 12 additions & 0 deletions ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/sdkconfig.board
@@ -0,0 +1,12 @@
CONFIG_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
CONFIG_ESPTOOLPY_AFTER_NORESET=y

CONFIG_SPIRAM_MEMTEST=

CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
3 changes: 3 additions & 0 deletions ports/esp32/boards/sdkconfig.spiram_oct
@@ -0,0 +1,3 @@
# MicroPython on ESP32-S2 and ESP32-PAD1_subscript_3, ESP IDF configuration with SPIRAM support in Octal mode
CONFIG_SPIRAM_MODE_QUAD=
CONFIG_SPIRAM_MODE_OCT=y

0 comments on commit 1290329

Please sign in to comment.