Skip to content

Conversation

P-R-O-C-H-Y
Copy link
Member

@P-R-O-C-H-Y P-R-O-C-H-Y commented Aug 22, 2022

Description of Change

Added to some boards missing default pin declaration for SPI in pins_arduino.h + some I2C. Fixing SPI error in compilation.

Boards:
metro_esp-32
wt32-eth01

Tests scenarios

Variant wt32-eth01

Related links

Closes #7160

@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Aug 22, 2022
@P-R-O-C-H-Y P-R-O-C-H-Y added the Area: Libraries Issue is related to Library support. label Aug 22, 2022
@P-R-O-C-H-Y P-R-O-C-H-Y marked this pull request as draft August 22, 2022 11:12
@VojtechBartoska VojtechBartoska added this to the 2.0.5 milestone Aug 22, 2022
@me-no-dev
Copy link
Member

Why is this pr draft?

@P-R-O-C-H-Y
Copy link
Member Author

@me-no-dev Its still in progress. I cannot check if SCK etc. is defined, when it can be actually declared in pins_arduino.h
Need to think about that a bit maybe adding #define SPI_PINS_NOT_DECLARED to pins_arduino.h for boards, that have not these pins defined and checking that define in SPI.cpp.

@P-R-O-C-H-Y P-R-O-C-H-Y marked this pull request as ready for review August 29, 2022 11:58
@VojtechBartoska
Copy link
Contributor

@SuGlider Can you please help with review? Thanks you

@me-no-dev me-no-dev merged commit 8510734 into espressif:master Sep 14, 2022
@P-R-O-C-H-Y P-R-O-C-H-Y deleted the SPI-default-definition branch April 19, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Libraries Issue is related to Library support.
Projects
Development

Successfully merging this pull request may close these issues.

pins_arduino.h
4 participants