-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add WT32-SC01 PLUS support #9284
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 all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
a41d668
WT32-SC01 PLUS support
c4801725870 3011529
Merge branch 'master' into master
c4801725870 f89754a
Update pins_arduino.h
c4801725870 67dd3b3
Update variants/wt32-sc01-plus/pins_arduino.h
c4801725870 3758574
ADD(tinyuf2 things): Added tinyuf2 bins
c4801725870 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
Binary file not shown.
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,10 @@ | ||
# ESP-IDF Partition Table | ||
# Name, Type, SubType, Offset, Size, Flags | ||
# bootloader.bin,, 0x1000, 32K | ||
# partition table,, 0x8000, 4K | ||
nvs, data, nvs, 0x9000, 20K, | ||
otadata, data, ota, 0xe000, 8K, | ||
ota_0, 0, ota_0, 0x10000, 2048K, | ||
ota_1, 0, ota_1, 0x210000, 2048K, | ||
uf2, app, factory,0x410000, 256K, | ||
ffat, data, fat, 0x450000, 3776K, |
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,65 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
/** | ||
* Variant: WT32-SC01 PLUS | ||
* Vendor: Wireless-Tag | ||
* Url: http://www.wireless-tag.com/portfolio/wt32-eth01/ | ||
*/ | ||
|
||
#include <stdint.h> | ||
|
||
#define USB_VID 0x303A | ||
#define USB_PID 0x80D0 | ||
#define USB_MANUFACTURER "PANLEE" | ||
#define USB_PRODUCT "SC01PLUS" | ||
#define USB_SERIAL "" | ||
//GENERAL I/O | ||
static const uint8_t BOOT_0 = 0; | ||
static const uint8_t IO1 = 10; | ||
static const uint8_t IO2 = 11; | ||
static const uint8_t IO3 = 12; | ||
static const uint8_t IO4 = 13; | ||
static const uint8_t IO5 = 14; | ||
static const uint8_t IO6 = 21; | ||
//RS485 | ||
static const uint8_t TX = 42; | ||
static const uint8_t RX = 1; | ||
static const uint8_t RTS = 2; | ||
//TOUCHSCREEN | ||
static const uint8_t BL_PWM = 45; //BACKLIGHT PWM | ||
static const uint8_t LCD_RESET = 4; //LCD RESET, MULTIPLEXED WITH TOUCH RESET | ||
static const uint8_t LCD_RS = 0; //COMMAND/DATA | ||
static const uint8_t LCD_WR = 47; //WRITE CLOCK | ||
static const uint8_t LCD_TE = 48; //FRAME SYNC | ||
static const uint8_t LCD_DB0 = 9; | ||
static const uint8_t LCD_DB1 = 46; | ||
static const uint8_t LCD_DB2 = 3; | ||
static const uint8_t LCD_DB3 = 8; | ||
static const uint8_t LCD_DB4 = 18; | ||
static const uint8_t LCD_DB5 = 17; | ||
static const uint8_t LCD_DB6 = 16; | ||
static const uint8_t LCD_DB7 = 15; | ||
|
||
//SPEAKER | ||
static const uint8_t LRCK = 35; | ||
static const uint8_t BCLK = 36; | ||
static const uint8_t DOUT = 37; | ||
|
||
|
||
//TOUCHSCREEN DIGITIZER | ||
static const uint8_t TP_INT = 7; | ||
static const uint8_t SDA = 6; | ||
static const uint8_t SCL = 5; | ||
static const uint8_t RST = 4; | ||
//MICRO SD CARD | ||
static const uint8_t SD_CS = 41; | ||
static const uint8_t SD_DI = 40; //MOSI | ||
static const uint8_t SD_DO = 38; //MISO | ||
static const uint8_t SD_CLK = 39; | ||
static const uint8_t SS = 41; | ||
static const uint8_t MOSI = 40; | ||
static const uint8_t MISO = 38; | ||
static const uint8_t SCK = 39; | ||
|
||
#endif /* Pins_Arduino_h */ |
Binary file not shown.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are missing the
tinyuf2.bin
file in the variant folder.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I updated it. Also I am not sure how to squash commits, sorry about that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. No need to squash commits ;)