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

ESP32 not initializing if GPIO pin number > 31 #89

Closed
Di-rk opened this issue Jun 6, 2023 · 2 comments
Closed

ESP32 not initializing if GPIO pin number > 31 #89

Di-rk opened this issue Jun 6, 2023 · 2 comments

Comments

@Di-rk
Copy link

Di-rk commented Jun 6, 2023

Hi,
On the ESP32 platform the EVE does not initialize correctly if a GPIO number is higher than 31.
For example: on my board, the EVE_PDN pin is set to pin 33 on the ESP32.
This can be fixed by changing the "BIT" macro in the EVE_init_spi function to "BIT64".

RudolphRiedel added a commit that referenced this issue Jun 6, 2023
- ESP32: changed back a couple of {} to {0} as C and C++ are not the same thing...
@RudolphRiedel
Copy link
Owner

Thank you for the report!
After fixing it and doing the commit/push I actually tried it now with GPIO_NUM_35 for PD and it works.

@Di-rk
Copy link
Author

Di-rk commented Jun 7, 2023

Looks good, thanks!

@Di-rk Di-rk closed this as completed Jun 7, 2023
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

No branches or pull requests

2 participants