-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Add new uPesy boards as variant #8778
Conversation
tweak uPesy C3 Mini pinout tweak uPesy C3 basic pinout Add uPesy ESP32S3 pin variant Add uPesy ESP32S3 pin variant Tweak uPesy ESP32s3/C3 pinout variant
Look at existing boards. The way it is done has changed. You have to remove some not anymore needed entrys. |
|
||
#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 comment
The 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.
|
||
#define analogInputToDigitalPin(p) (((p)<NUM_ANALOG_INPUTS)?(analogChannelToDigitalPin(p)):-1) | ||
#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1) | ||
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS) |
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.
the above defines (lines 23-18) are no longer required and will be automatically provided by the base platform.
I don't understand why there is this error for each board:
|
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.
@uPesy PTAL on my comments. Thanks
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
It should be fine now |
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.
@uPesy Looks good now :) Lets wait for CI to pass and can be merged ;)
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.
Should be fine now
@P-R-O-C-H-Y I have correctly renamed the lines. Sorry for this small mistakes |
@P-R-O-C-H-Y I have fixed the mistakes. |
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.
Can be merged now :)
Description of Change
Add new uPesy ESP32 based devkit board in variant folder and in boards.txt :
Tests scenarios
Related links
(eg. Closes #number of issue)