-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add our new board "cezerio dev ESP32C6" #10462
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 7 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
fd7c2ca
Add cezerio dev ESP32-C6
DogushC 0fb0b4b
Merge branch 'espressif:master' into master
DogushC 04ab7c0
Merge branch 'espressif:master' into master
DogushC 89e50a8
Modify pin number of cezerio dev ESP32C6
DogushC a9fd30e
Update boards.txt
DogushC eab0ebe
Update USB_PID
DogushC 6fd01bb
Merge branch 'espressif:master' into master
DogushC 657aff9
Update boards.txt
DogushC f159eb3
Update pins_arduino.h
DogushC 29c165a
Merge manually to solve conflicts
DogushC 3f25e1c
Resolve Conflicts
DogushC 590b079
Add cezerio dev ESP32-C6
DogushC 319b347
Modify pin number of cezerio dev ESP32C6
DogushC 013f0ca
Update boards.txt
DogushC 05ed4fd
Update USB_PID
DogushC 368148d
Update pins_arduino.h
DogushC 3fbb23a
Add cezerio dev ESP32C6
DogushC 46b5c90
Merge pull request #4 from cezer-io/Development
DogushC 99f6669
Update pins_arduino.h
DogushC d318ae4
Update pins_arduino.h
DogushC 9b0e9dc
Update pins_arduino.h
DogushC 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
#include <stdint.h> | ||
#include "soc/soc_caps.h" | ||
|
||
#define USB_VID 0x303A | ||
#define USB_PID 0x1001 | ||
#define USB_MANUFACTURER "RFtek Electronics" | ||
#define USB_PRODUCT "cezerio dev ESP32C6" | ||
#define USB_SERIAL "" | ||
|
||
#define PIN_RGB_LED 3 | ||
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino | ||
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + PIN_RGB_LED; | ||
#define BUILTIN_LED LED_BUILTIN // backward compatibility | ||
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN | ||
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbLedWrite() | ||
#define RGB_BUILTIN LED_BUILTIN | ||
#define RGBLED LED_BUILTIN | ||
#define RGB_BRIGHTNESS 64 | ||
|
||
static const uint8_t BUT_BUILTIN = 9; | ||
#define BUILTIN_BUT BUT_BUILTIN // backward compatibility | ||
#define BUT_BUILTIN BUT_BUILTIN // allow testing #ifdef BUT_BUILTIN | ||
#define BOOT BUT_BUILTIN | ||
|
||
static const uint8_t TX = 16; | ||
static const uint8_t RX = 17; | ||
|
||
static const uint8_t SDA = 8; | ||
static const uint8_t SCL = 7; | ||
|
||
static const uint8_t SS = 14; | ||
static const uint8_t MOSI = 22; | ||
static const uint8_t MISO = 23; | ||
static const uint8_t SCK = 21; | ||
|
||
static const uint8_t A0 = 0; | ||
static const uint8_t A1 = 1; | ||
static const uint8_t A2 = 2; | ||
static const uint8_t A3 = 3; | ||
static const uint8_t A4 = 4; | ||
static const uint8_t A5 = 5; | ||
static const uint8_t A6 = 6; | ||
|
||
static const uint8_t MATRIX = 18; | ||
|
||
static const uint8_t IMUSD = 8; | ||
static const uint8_t IMUSC = 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.