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

Add support for using ESP32 pins to identify board for configuration. #147

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

CoD-Segfault
Copy link
Contributor

Adding initial support for using GPIO pin-based board variant detection. This will allow different boards to be identified and configuration be made without needing to use the config file on the SD card. This uses GPIO13 to identify whether it is a ESP32 A or B, and GPIO25, 26, 32, and 33 to create an identification byte. This will allow for up to 15 variants (1-15) to be detected, with the pulldowns creating a default configuration (0) that falls back on the config file as it has been functioning.

As we have already discussed, more work will need to be done to parameterize the device string for the CSV header.

@JosephHewitt JosephHewitt merged commit e1ea9e1 into JosephHewitt:main Apr 10, 2024
1 check passed
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.

2 participants