-
Notifications
You must be signed in to change notification settings - Fork 7.6k
I have added support for the DFRobot Romeo ESP32-S3 board. #8195
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
7 commits
Select commit
Hold shift + click to select a range
10eeb24
add dfrobot romeo esp32S3
fary99 0846351
add dfrobot romeo esp32s3
fary99 7c342d7
Merge branch 'master' into master
fary99 9752620
Update pins_arduino.h
fary99 9fa4ea2
Update pins_arduino.h
fary99 aa160f0
Update pins_arduino.h
fary99 93db440
Update pins_arduino.h
fary99 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
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
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
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,85 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
|
||
|
||
|
||
#define EXTERNAL_NUM_INTERRUPTS 46 | ||
#define NUM_DIGITAL_PINS 48 | ||
#define NUM_ANALOG_INPUTS 20 | ||
|
||
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1) | ||
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1) | ||
#define digitalPinHasPWM(p) (p < 46) | ||
|
||
|
||
static const uint8_t TX = 43; | ||
static const uint8_t RX = 44; | ||
|
||
static const uint8_t SDA = 1; | ||
static const uint8_t SCL = 2; | ||
|
||
|
||
static const uint8_t MOSI = 15; | ||
static const uint8_t MISO = 16; | ||
static const uint8_t SCK = 17; | ||
static const uint8_t SS = 18; | ||
|
||
#define GDI_DISPLAY_FPC_INTERFACE | ||
#ifdef GDI_DISPLAY_FPC_INTERFACE | ||
|
||
#define GDI_BLK 21 | ||
#define GDI_SPI_SCLK SCK | ||
#define GDI_SPI_MOSI MOSI | ||
#define GDI_SPI_MISO MISO | ||
#define GDI_DC 3 | ||
#define GDI_RES 38 | ||
#define GDI_CS 18 | ||
#define GDI_SDCS 0 | ||
#define GDI_FCS 7 | ||
#define GDI_TCS 12 | ||
#define GDI_SCL SCL | ||
#define GDI_SDA SDA | ||
#define GDI_INT 13 | ||
#define GDI_BUSY_TE 14 | ||
|
||
fary99 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
#endif /* GDI_DISPLAY_FPC_INTERFACE */ | ||
|
||
// CAM | ||
#define CAM_DVP_INTERFACE | ||
#ifdef CAM_DVP_INTERFACE | ||
|
||
#define CAM_D5 4 | ||
#define CAM_PCLK 5 | ||
#define CAM_VSYNC 6 | ||
#define CAM_D6 7 | ||
#define CAM_D7 8 | ||
#define CAM_D8 46 | ||
#define CAM_D9 48 | ||
#define CAM_XMCLK 45 | ||
#define CAM_D2 39 | ||
#define CAM_D3 40 | ||
#define CAM_D4 41 | ||
#define CAM_HREF 42 | ||
#define CAM_SCL SCL | ||
#define CAM_SDA SDA | ||
|
||
#endif /* CAM_DVP_INTERFACE */ | ||
|
||
// Motor | ||
#define MOTOR_INTERFACE | ||
#ifdef MOTOR_INTERFACE | ||
|
||
#define M1_EN 12 | ||
#define M1_PH 13 | ||
#define M2_EN 14 | ||
#define M2_PH 21 | ||
#define M3_EN 9 | ||
#define M3_PH 10 | ||
#define M4_EN 47 | ||
#define M4_PH 11 | ||
|
||
#endif | ||
|
||
#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.