esp32/boards/GENERIC_S3_SPIRAM_OCT: Add ESP32S3 board with Octal SPIRAM.
This commit is contained in:
parent
bb77c1d5a3
commit
1290329415
18
ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/board.json
Normal file
18
ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/board.json
Normal file
@ -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
ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/mpconfigboard.cmake
Normal file
11
ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/mpconfigboard.cmake
Normal file
@ -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
ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/mpconfigboard.h
Normal file
10
ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/mpconfigboard.h
Normal file
@ -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
ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/sdkconfig.board
Normal file
12
ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/sdkconfig.board
Normal file
@ -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
ports/esp32/boards/sdkconfig.spiram_oct
Normal file
3
ports/esp32/boards/sdkconfig.spiram_oct
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user