-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Added variant for Waveshare ESP32-S3-Zero #10241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1c1ed0f
Added variant for ESP32-S3-Zero
Y1hsiaochunnn 3f44add
Added variant for ESP32-S3-Zero
Y1hsiaochunnn cb3dba6
Fixed CI failures due to I2C and SPI pin definitions
Y1hsiaochunnn 932c0e7
Fixed custom partitions
Y1hsiaochunnn c1b5f32
Fix the partition without ota
Y1hsiaochunnn ce56dbc
Fix waveshare esp32-s3-zero partition table, add 4MB partition content
Y1hsiaochunnn d7e2e06
Fix waveshare esp32-s3-zero partition table, add 4MB partition content
Y1hsiaochunnn 30f2cfc
Merge remote-tracking branch 'origin/master'
Y1hsiaochunnn fec8dd0
Merge remote-tracking branch 'origin/master'
Y1hsiaochunnn b77cec1
Merge remote-tracking branch 'origin/master'
Y1hsiaochunnn f0d9fad
Update tools/partitions/max_app_4MB.csv
Y1hsiaochunnn 6b5e5bf
change boards.txt
Y1hsiaochunnn 2521a8a
Merge branch 'master' into master
P-R-O-C-H-Y File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Y1hsiaochunnn marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
nvs, data, nvs, 0x9000, 0x5000, | ||
otadata, data, ota, 0xe000, 0x2000, | ||
ota_0, app, ota_0, 0x10000, 0x1F0000, | ||
ota_1, app, ota_1, 0x200000, 0x1F0000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Name, Type, SubType, Offset, Size, Flags | ||
nvs, data, nvs, 0x9000, 0x5000, | ||
otadata, data, ota, 0xE000, 0x2000, | ||
app0, app, ota_0, 0x10000, 0x1F0000, | ||
app1, app, ota_1, 0x200000, 0x1F0000, | ||
coredump, data, coredump, 0x3F0000, 0x10000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
#define USB_VID 0x303a | ||
#define USB_PID 0x822B | ||
#define USB_MANUFACTURER "Waveshare" | ||
#define USB_PRODUCT "ESP32-S3-Zero" | ||
#define USB_SERIAL "" // Empty string for MAC address | ||
|
||
// Partial voltage measurement method | ||
#define WS_RGB 21 | ||
|
||
// Mapping based on the ESP32S3 data sheet - alternate for OUTPUT | ||
static const uint8_t OUTPUT_IO1 = 1; | ||
static const uint8_t OUTPUT_IO2 = 2; | ||
static const uint8_t OUTPUT_IO3 = 3; | ||
static const uint8_t OUTPUT_IO4 = 4; | ||
static const uint8_t OUTPUT_IO5 = 5; | ||
static const uint8_t OUTPUT_IO6 = 6; | ||
static const uint8_t OUTPUT_IO7 = 7; | ||
static const uint8_t OUTPUT_IO8 = 8; | ||
static const uint8_t OUTPUT_IO9 = 9; | ||
static const uint8_t OUTPUT_IO10 = 10; | ||
static const uint8_t OUTPUT_IO11 = 11; | ||
static const uint8_t OUTPUT_IO12 = 12; | ||
static const uint8_t OUTPUT_IO13 = 13; | ||
|
||
// Def for I2C that shares the IMU I2C pins | ||
static const uint8_t SDA = -1; | ||
static const uint8_t SCL = -1; | ||
|
||
// Mapping based on the ESP32S3 data sheet - alternate for SPI2 | ||
static const uint8_t SS = 34; // FSPICS0 | ||
static const uint8_t MOSI = 35; // FSPID | ||
static const uint8_t MISO = 37; // FSPIQ | ||
static const uint8_t SCK = 36; // FSPICLK | ||
|
||
// UART0 pins | ||
static const uint8_t TX = 43; | ||
static const uint8_t RX = 44; | ||
|
||
Y1hsiaochunnn marked this conversation as resolved.
Show resolved
Hide resolved
|
||
// Analog capable pins on the header | ||
static const uint8_t A0 = 1; | ||
static const uint8_t A1 = 2; | ||
static const uint8_t A2 = 3; | ||
static const uint8_t A3 = 4; | ||
static const uint8_t A4 = 5; | ||
static const uint8_t A5 = 6; | ||
static const uint8_t A6 = 7; | ||
|
||
// GPIO capable pins on the header | ||
static const uint8_t D0 = 7; | ||
static const uint8_t D1 = 6; | ||
static const uint8_t D2 = 5; | ||
static const uint8_t D3 = 4; | ||
static const uint8_t D4 = 3; | ||
static const uint8_t D5 = 2; | ||
static const uint8_t D6 = 1; | ||
static const uint8_t D7 = 44; | ||
static const uint8_t D8 = 43; | ||
static const uint8_t D9 = 40; | ||
static const uint8_t D10 = 39; | ||
static const uint8_t D11 = 38; | ||
static const uint8_t D12 = 37; | ||
static const uint8_t D13 = 36; | ||
static const uint8_t D14 = 35; | ||
static const uint8_t D15 = 34; | ||
static const uint8_t D16 = 33; | ||
|
||
// Touch input capable pins on the header | ||
static const uint8_t T1 = 1; | ||
static const uint8_t T2 = 2; | ||
static const uint8_t T3 = 3; | ||
static const uint8_t T4 = 4; | ||
static const uint8_t T5 = 5; | ||
static const uint8_t T6 = 6; | ||
static const uint8_t T7 = 7; | ||
|
||
#endif /* Pins_Arduino_h */ |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.