8000 /esp32/boards: Add LOLIN_S3_PRO board definition. · micropython/micropython@85f6bcf · GitHub
[go: up one dir, main page]

Skip to content

Commit 85f6bcf

Browse files
committed
/esp32/boards: Add LOLIN_S3_PRO board definition.
Signed-off-by: Matt Trentini <matt.trentini@gmail.com>
1 parent 076e071 commit 85f6bcf

File tree

7 files changed

+75
-0
lines changed

7 files changed

+75
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"deploy": [
3+
"../deploy.md"
4+
],
5+
"deploy_options": {
6+
"flash_offset": "0"
7+
},
8+
"docs": "",
9+
"features": [
10+
"BLE",
11+
"Battery Charging",
12+
"External Flash",
13+
"External RAM",
14+
"Feather",
15+
"JST-SH",
16+
"RGB LED",
17+
"USB-C",
18+
"WiFi"
19+
],
20+
"images": [
21+
"lolin_s3_pro.jpg"
22+
],
23+
"mcu": "esp32s3",
24+
"product": "S3 Pro",
25+
"thumbnail": "",
26+
"url": "https://www.wemos.cc/en/latest/s3/s3_pro.html",
27+
"vendor": "Wemos"
28+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The following files are firmware for the Wemos Lolin S3 Pro.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include("$(PORT_DIR)/boards/manifest.py")
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
set(IDF_TARGET esp32s3)
2+
3+
set(SDKCONFIG_DEFAULTS
4+
boards/sdkconfig.base
5+
boards/sdkconfig.usb
6+
boards/sdkconfig.ble
7+
boards/sdkconfig.240mhz
8+
boards/sdkconfig.spiram_oct
9+
boards/LOLIN_S3_PRO/sdkconfig.board
10+
)
11+
12+
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#define MICROPY_HW_BOARD_NAME "LOLIN_S3_PRO"
2+
#define MICROPY_HW_MCU_NAME "ESP32S3"
3+
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "LolinS3Pro"
4+
5+
#define MICROPY_HW_I2C0_SCL (10)
6+
#define MICROPY_HW_I2C0_SDA (9)
7+
8+
#define MICROPY_HW_SPI1_MOSI (11)
9+
#define MICROPY_HW_SPI1_MISO (13)
10+
#define MICROPY_HW_SPI1_SCK (12)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
BOOT,GPIO0
2+
RGB_LED,GPIO38
3+
I2C_SCL,GPIO10
4+
I2C_SDA,GPIO9
5+
SPI_CS,GPIO46
6+
SPI_MOSI,GPIO11
7+
SPI_SCK,GPIO12
8+
SPI_MISO,GPIO13
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
2+
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
3+
4+
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
5+
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=
6+
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
7+
CONFIG_SPIRAM_MEMTEST=
8+
CONFIG_PARTITION_TABLE_CUSTOM=y
9+
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-16MiB.csv"
10+
11+
CONFIG_LWIP_LOCAL_HOSTNAME="LolinS3Pro"
12+
13+
CONFIG_TINYUSB_DESC_MANUFACTURER_STRING="Wemos"
14+
CONFIG_TINYUSB_DESC_PRODUCT_STRING="Lolin S3 Pro"
15+
CONFIG_TINYUSB_DESC_SERIAL_STRING="_s3p_"

0 commit comments

Comments
 (0)
0