File tree 6 files changed +89
-0
lines changed
ports/esp32/boards/XIAO_ESP32S3 6 files changed +89
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "deploy" : [
3
+ " ../deploy_s3.md"
4
+ ],
5
+ "docs" : " " ,
6
+ "features" : [
7
+ " SPIRAM" ,
8
+ " USB-C" ,
9
+ " WiFi" ,
10
+ " BLE"
11
+ ],
12
+ "features_non_filterable" : [
13
+ ],
14
+ "id" : " xiao" ,
15
+ "images" : [
16
+ " xiao_esp32s3.jpg"
17
+ ],
18
+ "mcu" : " esp32s3" ,
19
+ "product" : " XIAO-ESP32S3" ,
20
+ "thumbnail" : " " ,
21
+ "url" : " https://wiki.seeedstudio.com/xiao_esp32s3_getting_started/" ,
22
+ "vendor" : " Seeed Studio"
23
+ }
Original file line number Diff line number Diff line change
1
+ include ("$(PORT_DIR)/boards/manifest.py" )
2
+ freeze ("modules" )
Original file line number Diff line number Diff line change
1
+ # XIAO ESP32 S3 MicroPython Helper Library
2
+
3
+ from micropython import const
4
+ from machine import Pin
5
+
6
+ # Pin Assignments
7
+
8
+ # SPI
9
+ SP
10000
I_MOSI = const (9 )
10
+ SPI_MISO = const (8 )
11
+ SPI_CLK = const (7 )
12
+
13
+ # I2C
14
+ I2C_SDA = const (5 )
15
+ I2C_SCL = const (6 )
16
+
17
+ # LED
18
+ LED = const (21 )
19
+
20
+ # Helper methods for built in sensors
21
+
22
+ led = Pin (LED , Pin .OUT , value = 0 )
Original file line number Diff line number Diff line change
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_sx
9
+ boards/XIAO_ESP32S3/sdkconfig.board
10
+ )
11
+
12
+ set (MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR} /manifest.py)
Original file line number Diff line number Diff line change
1
+ #define MICROPY_HW_BOARD_NAME "XIAO-ESP32S3"
2
+ #define MICROPY_HW_MCU_NAME "ESP32-S3-FN8"
3
+ #define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "XIAO-ESP32S3"
4
+
5
+ #define MICROPY_PY_MACHINE_DAC (0)
6
+
7
+ #define MICROPY_HW_I2C0_SCL (6)
8
+ #define MICROPY_HW_I2C0_SDA (5)
9
+
10
+ #define MICROPY_HW_SPI1_MOSI (9)
11
+ #define MICROPY_HW_SPI1_MISO (8)
12
+ #define MICROPY_HW_SPI1_SCK (7)
Original file line number Diff line number Diff line change
1
+ CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
2
+ CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
3
+ CONFIG_ESPTOOLPY_AFTER_NORESET=y
4
+
5
+ CONFIG_ESPTOOLPY_FLASHSIZE_4MB=
6
+ CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
7
+ CONFIG_ESPTOOLPY_FLASHSIZE_16MB=
8
+ CONFIG_PARTITION_TABLE_CUSTOM=y
9
+ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MiB.csv"
10
+
11
+ CONFIG_LWIP_LOCAL_HOSTNAME="XIAO-ESP32S3"
12
+
13
+ CONFIG_TINYUSB_DESC_CUSTOM_VID=0x2886
14
+ CONFIG_TINYUSB_DESC_CUSTOM_PID=0x8056
15
+ CONFIG_TINYUSB_DESC_BCD_DEVICE=0x0100
16
+ CONFIG_TINYUSB_DESC_MANUFACTURER_STRING="Seeed Studio"
17
+ CONFIG_TINYUSB_DESC_PRODUCT_STRING="XIAO ESP32S3"
18
+ CONFIG_TINYUSB_DESC_SERIAL_STRING="XIAO ESP32S3"
You can’t perform that action at this time.
0 commit comments