-
Notifications
You must be signed in to change notification settings - Fork 740
Adding esp32s3 XIAO pinout #808
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 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| idf_component_register(SRCS take_picture.c | ||
| idf_component_register(SRCS take_picture.c camera_pinout.h | ||
| PRIV_INCLUDE_DIRS . | ||
| PRIV_REQUIRES nvs_flash esp_psram) | ||
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,102 @@ | ||
| // WROVER-KIT PIN Map | ||
| #ifdef BOARD_WROVER_KIT | ||
|
|
||
| #define CAM_PIN_PWDN -1 //power down is not used | ||
| #define CAM_PIN_RESET -1 //software reset will be performed | ||
| #define CAM_PIN_XCLK 21 | ||
| #define CAM_PIN_SIOD 26 | ||
| #define CAM_PIN_SIOC 27 | ||
|
|
||
| #define CAM_PIN_D7 35 | ||
| #define CAM_PIN_D6 34 | ||
| #define CAM_PIN_D5 39 | ||
| #define CAM_PIN_D4 36 | ||
| #define CAM_PIN_D3 19 | ||
| #define CAM_PIN_D2 18 | ||
| #define CAM_PIN_D1 5 | ||
| #define CAM_PIN_D0 4 | ||
| #define CAM_PIN_VSYNC 25 | ||
| #define CAM_PIN_HREF 23 | ||
| #define CAM_PIN_PCLK 22 | ||
|
|
||
| #endif | ||
|
|
||
| // ESP32Cam (AiThinker) PIN Map | ||
| #ifdef BOARD_ESP32CAM_AITHINKER | ||
|
|
||
| #define CAM_PIN_PWDN 32 | ||
| #define CAM_PIN_RESET -1 //software reset will be performed | ||
| #define CAM_PIN_XCLK 0 | ||
| #define CAM_PIN_SIOD 26 | ||
| #define CAM_PIN_SIOC 27 | ||
|
|
||
| #define CAM_PIN_D7 35 | ||
| #define CAM_PIN_D6 34 | ||
| #define CAM_PIN_D5 39 | ||
| #define CAM_PIN_D4 36 | ||
| #define CAM_PIN_D3 21 | ||
| #define CAM_PIN_D2 19 | ||
| #define CAM_PIN_D1 18 | ||
| #define CAM_PIN_D0 5 | ||
| #define CAM_PIN_VSYNC 25 | ||
| #define CAM_PIN_HREF 23 | ||
| #define CAM_PIN_PCLK 22 | ||
|
|
||
| #endif | ||
| // ESP32S3 (WROOM) PIN Map | ||
| #ifdef BOARD_ESP32S3_WROOM | ||
| #define CAM_PIN_PWDN 38 | ||
| #define CAM_PIN_RESET -1 //software reset will be performed | ||
| #define CAM_PIN_VSYNC 6 | ||
| #define CAM_PIN_HREF 7 | ||
| #define CAM_PIN_PCLK 13 | ||
| #define CAM_PIN_XCLK 15 | ||
| #define CAM_PIN_SIOD 4 | ||
| #define CAM_PIN_SIOC 5 | ||
| #define CAM_PIN_D0 11 | ||
| #define CAM_PIN_D1 9 | ||
| #define CAM_PIN_D2 8 | ||
| #define CAM_PIN_D3 10 | ||
| #define CAM_PIN_D4 12 | ||
| #define CAM_PIN_D5 18 | ||
| #define CAM_PIN_D6 17 | ||
| #define CAM_PIN_D7 16 | ||
| #endif | ||
| // ESP32S3 (GOOUU TECH) | ||
| #ifdef BOARD_ESP32S3_GOOUUU | ||
| #define CAM_PIN_PWDN -1 | ||
| #define CAM_PIN_RESET -1 //software reset will be performed | ||
| #define CAM_PIN_VSYNC 6 | ||
| #define CAM_PIN_HREF 7 | ||
| #define CAM_PIN_PCLK 13 | ||
| #define CAM_PIN_XCLK 15 | ||
| #define CAM_PIN_SIOD 4 | ||
| #define CAM_PIN_SIOC 5 | ||
| #define CAM_PIN_D0 11 | ||
| #define CAM_PIN_D1 9 | ||
| #define CAM_PIN_D2 8 | ||
| #define CAM_PIN_D3 10 | ||
| #define CAM_PIN_D4 12 | ||
| #define CAM_PIN_D5 18 | ||
| #define CAM_PIN_D6 17 | ||
| #define CAM_PIN_D7 16 | ||
| #endif | ||
| // ESP32S3 (XIAO) | ||
| #ifdef BOARD_ESP32S3_XIAO | ||
| #define CAM_PIN_PWDN -1 | ||
| #define CAM_PIN_RESET -1 //software reset will be performed | ||
| #define CAM_PIN_VSYNC 38 | ||
| #define CAM_PIN_HREF 47 | ||
| #define CAM_PIN_PCLK 13 | ||
| #define CAM_PIN_XCLK 10 | ||
| #define CAM_PIN_SIOD 40 | ||
| #define CAM_PIN_SIOC 39 | ||
| #define CAM_PIN_D0 15 | ||
| #define CAM_PIN_D1 17 | ||
| #define CAM_PIN_D2 18 | ||
| #define CAM_PIN_D3 16 | ||
| #define CAM_PIN_D4 14 | ||
| #define CAM_PIN_D5 12 | ||
| #define CAM_PIN_D6 11 | ||
| #define CAM_PIN_D7 48 | ||
| #endif |
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
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.