-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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-S3 ROM not provide gpio_input_get_high and gpio_output_set_high function? (IDFGH-8773) #10205
Comments
ROM functions are usually not considered public. It's common that some function exists on ESP32 but disappears in the future chips. Can we know the reason why use the ROM functions instead of using the GPIO driver API like |
In fact, in this project, we use a script to parse and convert the function definition of gpio.h into micropython method. Since these two functions only have definitions and no actual function bodies, an error will be reported during the linking stage. But esp32 rom has provide this so just wanna make sure this is not support or missing, if not support in esp32-s3 we will solve this error in another way. Related issue: here |
@imliubo Yes, in fact, the ROM code of the S3 also contains the functions |
Hi @gm-jiang ,
So this need update idf or something?Then we use this two function with esp32-s3?
If ESP32-C2/C3/H2(MP) not support i think remove the definitions from gpio.h is better, but this is your guys decision. For us just want build no error. |
Answers checklist.
IDF version.
v4.4.2(1b16ef6) and v5.1-dev-1264-g1c84cfde14d
Operating System used.
Linux
How did you build your project?
Command line with CMake
If you are using Windows, please specify command line type.
No response
What is the expected behavior?
build success.
What is the actual behavior?
undefined reference to ‘gpio_output_set_high' and ‘gpio_input_get_high’.
Is this not support or missing?
Steps to reproduce.
...
Build or installation Logs.
More Information.
The text was updated successfully, but these errors were encountered: