Skip to content

Commit

Permalink
Merge pull request #318 from adafruit/matrix_s3
Browse files Browse the repository at this point in the history
change matrixportal to s3 type
  • Loading branch information
hathach authored May 19, 2023
2 parents f32c5b7 + 6dda1bf commit a70bd87
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_esp32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- 'adafruit_feather_esp32s2_tft'
- 'adafruit_funhouse_esp32s2'
- 'adafruit_magtag_29gray'
- 'adafruit_matrixportal_s2'
- 'adafruit_metro_esp32s2'
- 'adafruit_qtpy_esp32s2'
- 'artisense_rd00'
Expand Down Expand Up @@ -70,6 +69,7 @@ jobs:
- 'adafruit_feather_esp32s3_nopsram'
- 'adafruit_feather_esp32s3_reverse_tft'
- 'adafruit_feather_esp32s3_tft'
- 'adafruit_matrixportal_s3'
- 'adafruit_qtpy_esp32s3'
- 'bpi_leaf_s3'
- 'bpi_picow_s3'
Expand Down
7 changes: 0 additions & 7 deletions ports/espressif/boards/adafruit_matrixportal_s2/sdkconfig

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Apply board specific content here
set(IDF_TARGET "esp32s2")
set(IDF_TARGET "esp32s3")
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
* THE SOFTWARE.
*/

#ifndef ADAFRUIT_MATRIXPORTAL_ESP32S2_H_
#define ADAFRUIT_MATRIXPORTAL_ESP32S2_H_
#ifndef ADAFRUIT_MATRIXPORTAL_ESP32S3_H_
#define ADAFRUIT_MATRIXPORTAL_ESP32S3_H_

//--------------------------------------------------------------------+
// Button
Expand All @@ -36,23 +36,22 @@

// GPIO that implement 1-bit memory with RC components which hold the
// pin value long enough for double reset detection.
#define PIN_DOUBLE_RESET_RC 2
#define PIN_DOUBLE_RESET_RC 1

//--------------------------------------------------------------------+
// LED
//--------------------------------------------------------------------+

// GPIO connected to Neopixel data
#define NEOPIXEL_PIN 1
#define NEOPIXEL_PIN 4

// Brightness percentage from 1 to 255
#define NEOPIXEL_BRIGHTNESS 0x10

// Number of neopixels
#define NEOPIXEL_NUMBER 1


// LED for indicator
// LED for indicator and writing flash
// If not defined neopixel will be use for flash writing instead
#define LED_PIN 13
#define LED_STATE_ON 1
Expand All @@ -65,11 +64,11 @@
#define USB_PID 0x0125

#define USB_MANUFACTURER "Adafruit"
#define USB_PRODUCT "MatrixPortal ESP32-S2"
#define USB_PRODUCT "MatrixPortal S3"

#define UF2_PRODUCT_NAME USB_MANUFACTURER " " USB_PRODUCT
#define UF2_BOARD_ID "ESP32S2-MatrixPortal-revA"
#define UF2_VOLUME_LABEL "MATRIXBOOT"
#define UF2_BOARD_ID "ESP32-S3-MatrixPortal-revB"
#define UF2_VOLUME_LABEL "MATRXS3BOOT"
#define UF2_INDEX_URL "https://www.adafruit.com/"

// Use favicon
Expand Down
7 changes: 7 additions & 0 deletions ports/espressif/boards/adafruit_matrixportal_s3/sdkconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Board Specific Config

# Partition Table
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-8MB.csv"

# Serial flasher config
CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y

0 comments on commit a70bd87

Please sign in to comment.