Skip to content

Add esp32egpio module - control ESPs GPIOS through EGPIO framework#1261

Draft
CrashOverride2 wants to merge 1 commit intoopenvehicles:masterfrom
CrashOverride2:esp32io
Draft

Add esp32egpio module - control ESPs GPIOS through EGPIO framework#1261
CrashOverride2 wants to merge 1 commit intoopenvehicles:masterfrom
CrashOverride2:esp32io

Conversation

@CrashOverride2
Copy link
Copy Markdown
Contributor

Add a new esp32egpio module to control the ESP32’s native GPIOs using the existing, well-integrated, and easy-to-use EGPIO framework.

This is primarily intended for external OVMS-based modules and serves as an addendum to @zbchristian’s work.

It has been running flawlessly to control an additional heater in a friend’s car, and I thought it might be useful for the project as well.

@dexterbg
Copy link
Copy Markdown
Member

LGTM. Only thing I'd recommend is to assert at most one of the two EGPIO modules is enabled, to assist users configuring their own build. I think the Kconfig syntax provides mutual exclusion (IIRC), another option could be to change the type of EGPIO subsystem to a selection of none / MAX7317 / native or similar.

@CrashOverride2
Copy link
Copy Markdown
Contributor Author

The idea of switching the GPIO framework is an even better one. I will definitely take a look at it so that it becomes easier and more logical for the user to configure.

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