-
Hi @rgomezwap (and @Gordon) im embarrased because i cannot find an issue where the IDF GPIO Driver is not being used in the current version of jshardware.c . I had stated above that an older approach to access the HAL drivers was currently being used instead. But I must have been in another version or something. The current jshardware.c in the targets/esp32 folder is using functions such as gpio_set_direction and gpio_set_pull_mode, which are in the esp-idf component GPIO driver.
So apologies.As for the specific case you mention above with gpio_set_level() , i cant find that in the existing code base but it may be an issue if it does not look correct to you.
@rgomezwap … looking forward to seeing your code in an Espruino branch or whatever. The current code for c3 GPIO calls in jshardware.c are using HAL level calls and not the IDF GPIO library API. I would like to try and fix that. Will your s3 code use ifdefs for c2 and s3 in the same jshardware and are you using the gpio api ??