-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Add new uPesy boards as variant #8778
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 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
983ccb1
Add uPesy EDU ESP32 board variant
uPesy 197138b
Add uPesy ESP32C3 Basic board variant
uPesy 45d74dd
Add uPesy ESP32C3 Basic board variant
uPesy 5cfd599
Add uPesy ESP32C3 Mini board variant + some tweak
uPesy 103c518
Merge branch 'master' of https://github.com/uPesy/arduino-esp32
uPesy 26f5909
tweak uPesy C3 Mini pinout
uPesy 43e6197
add upesy esp32s3 config in boards.txt
uPesy 7e23a3e
remove some lines that causes errors
uPesy f28f3d5
respect case for build.variant in boards.txt
uPesy 9089ce7
Update variants/uPesy_edu_esp32/pins_arduino.h
uPesy 50732c3
Update variants/uPesy_esp32c3_mini/pins_arduino.h
uPesy 359aa41
Update variants/uPesy_esp32c3_basic/pins_arduino.h
uPesy 6ca5b93
Merge branch 'master' into master
uPesy 1061584
respect case for build.board in boards.txt
uPesy b175009
remove empty lines in boards.txt
uPesy 4418ab5
Merge branch 'master' into master
P-R-O-C-H-Y 6970fac
Merge branch 'master' into master
uPesy a0ec2f5
rename option https://github.com/espressif/arduino-esp32/pull/8778#di…
uPesy 55a9914
Merge branch 'master' of https://github.com/uPesy/arduino-esp32
uPesy 8ac5980
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
Next
Next commit
Add uPesy EDU ESP32 board variant
- Loading branch information
commit 983ccb11b30a293f86812fcbea74ac44058230e3
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,62 @@ | ||
#ifndef Pins_Arduino_h | ||
#define Pins_Arduino_h | ||
|
||
|
||
#include <stdint.h> | ||
|
||
#define EXTERNAL_NUM_INTERRUPTS 16 | ||
#define NUM_DIGITAL_PINS 40 | ||
#define NUM_ANALOG_INPUTS 16 | ||
|
||
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1) | ||
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1) | ||
#define digitalPinHasPWM(p) (p < 34) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the above defines (lines 7-13) are no longer required and will be automatically provided by the base platform. |
||
|
||
static const uint8_t TX = 1; | ||
static const uint8_t RX = 3; | ||
|
||
static const uint8_t SDA = 21; | ||
static const uint8_t SCL = 22; | ||
|
||
static const uint8_t SS = 5; | ||
static const uint8_t MOSI = 23; | ||
static const uint8_t MISO = 19; | ||
static const uint8_t SCK = 18; | ||
|
||
static const uint8_t A0 = 33; | ||
static const uint8_t A1 = 32; | ||
static const uint8_t A2 = 35; | ||
static const uint8_t A3 = 34; | ||
static const uint8_t A4 = 36; | ||
static const uint8_t A5 = 39; | ||
|
||
static const uint8_t LED_BUILTIN = 2; | ||
#define BUILTIN_LED LED_BUILTIN // backward compatibility | ||
#define LED_BUILTIN LED_BUILTIN | ||
|
||
#define PIN_WIRE_SDA SDA // backward compatibility | ||
#define PIN_WIRE_SCL SCL // backward compatibility | ||
|
||
static const uint8_t D0 = 3; | ||
static const uint8_t D1 = 1; | ||
static const uint8_t D2 = 26; | ||
static const uint8_t D3 = 25; | ||
static const uint8_t D4 = 17; | ||
static const uint8_t D5 = 16; | ||
static const uint8_t D6 = 27; | ||
static const uint8_t D7 = 14; | ||
static const uint8_t D8 = 12; | ||
static const uint8_t D9 = 13; | ||
static const uint8_t D10 = 5; | ||
static const uint8_t D11 = 23; | ||
static const uint8_t D12 = 19; | ||
static const uint8_t D13 = 18; | ||
|
||
#define PIN_SPI_SS SS // backward compatibility | ||
#define PIN_SPI_MOSI MOSI // backward compatibility | ||
#define PIN_SPI_MISO MISO // backward compatibility | ||
#define PIN_SPI_SCK SCK // backward compatibility | ||
|
||
#define PIN_A0 A0 // backward compatibility | ||
|
||
#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.