-
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
etboard pinmap upload #4748
etboard pinmap upload #4748
Conversation
You will need to add it to boards.txt as well. |
variants/ET_Board/pins_arduino.h
Outdated
@@ -0,0 +1,20 @@ | |||
// #include "pinmap.h" | |||
|
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.
please check variants/esp32/pins_arduino.h
for proper pin header. You need to have a few defines plus proper declaration of I2C, SPI and ADC pins. You can leave the Dx pins as defines.
variants/ET_Board/pins_arduino.h
Outdated
static const uint8_t MISO = 31; | ||
static const uint8_t SCK = 30; | ||
|
||
static const uint8_t A0 36 // BUILTIN_Potentiometer |
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.
you have forgotten the equal sign and period at the end. This will not compile :)
static const uint8_t A0 = 36;
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.
thank you for your advice.
I want to add a device.
Device name is ET_Board.