Skip to content
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

Merged
merged 11 commits into from
Feb 23, 2021
Merged

etboard pinmap upload #4748

merged 11 commits into from
Feb 23, 2021

Conversation

ketri2484
Copy link
Contributor

I want to add a device.
Device name is ET_Board.

@lbernstone
Copy link
Contributor

You will need to add it to boards.txt as well.

@@ -0,0 +1,20 @@
// #include "pinmap.h"

Copy link
Member

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.

static const uint8_t MISO = 31;
static const uint8_t SCK = 30;

static const uint8_t A0 36 // BUILTIN_Potentiometer
Copy link
Member

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;

Copy link
Contributor Author

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.

@me-no-dev me-no-dev merged commit 419ba32 into espressif:master Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants