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-C3-FH4 How to use gpio12 - 17 #480

Open
cyhuajuan opened this issue Sep 15, 2024 · 5 comments
Open

ESP32-C3-FH4 How to use gpio12 - 17 #480

cyhuajuan opened this issue Sep 15, 2024 · 5 comments

Comments

@cyhuajuan
Copy link

I know it's not recommended, but I need to use it.

@ivmarkov
Copy link
Collaborator

Then just use it? esp-idf-* does not differentiate between the individual c3 variants.

@cyhuajuan
Copy link
Author

Then just use it? esp-idf-* does not differentiate between the individual c3 variants.

Using PinDriver::input(peripherals.pins.gpio14) will cause an infinite reboot.

@ivmarkov
Copy link
Collaborator

Then just use it? esp-idf-* does not differentiate between the individual c3 variants.

Using PinDriver::input(peripherals.pins.gpio14) will cause an infinite reboot.

OK. Show me how you would use gpio14 with ESP IDF C calls (or unsafe calls into esp_idf_sys) and then we can think how to implement this with PinDriver.

In other words, is what you asking for even possible, with ESP IDF, let alone with its Rust wrappers?

@cyhuajuan
Copy link
Author

Then just use it? esp-idf-* does not differentiate between the individual c3 variants.

Using PinDriver::input(peripherals.pins.gpio14) will cause an infinite reboot.

OK. Show me how you would use gpio14 with ESP IDF C calls (or unsafe calls into esp_idf_sys) and then we can think how to implement this with PinDriver.

In other words, is what you asking for even possible, with ESP IDF, let alone with its Rust wrappers?

I'm also experiencing infinite reboots with esp_idf_sys. As a newcomer, I understand that the datasheet states it's not recommended. I believe there should be a way to use it, so I've raised this issue to inquire.

@ivmarkov
Copy link
Collaborator

You might have better luck asking in the Matrix channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants