Commit Graph

84 Commits

Author SHA1 Message Date
Song Ruo Jing ee588b3aad fix(gpio): oe control by register only take effect when func sel is GPIO 2025-11-24 11:41:26 +08:00
Song Ruo Jing 9589ab5361 feat(gpio): add IO hold support for Deep-sleep for ESP32-P4 ECO5 2025-11-13 11:36:15 +08:00
Chen Chen 52a378272f fix(i2c/gpio): Add error checks to the i2c driver (Backport v5.5)
Add more checks to i2c driver, as well as fixed some GPIO issues
together with it.
2025-10-17 15:12:51 +08:00
Song Ruo Jing ab60739814 fix(ci): add ci test for gpio etm test cases 2025-08-13 20:41:31 +08:00
Olivér Remény 4571d2756a fix(gpio): Avoid error message when calling reset on an input only pin.
The `gpio_reset_pin` function attempted to enable internal pullup on pins which does not have one. This change adds a guard to `gpio_reset_pin` for calling `gpio_pullup_en` - the same guard that makes `gpio_pullup_en` print the error.
2025-08-13 20:29:19 +08:00
Song Ruo Jing 7b52c11661 test(gpio,gpio_ext,ppa): test with malloc from psram by default 2025-05-19 21:53:10 +08:00
Song Ruo Jing 6994be3acd fix(gpio): add some detailed error log for gpio_pullup_en and gpio_pulldown_en 2025-04-18 19:03:16 +08:00
Song Ruo Jing ec5176e95a fix(gpio): IO7 is not a LP IO anymore on C5 ECO2 chip 2025-04-18 19:03:08 +08:00
Chen Jichang c34b4eb882 feat(esp32h4): enable ESP32H4 ci build 2025-03-28 14:41:28 +08:00
Song Ruo Jing cbf7a66030 feat(gpio): gpio_reset_pin should do IO reservation revoke
Closes https://github.com/espressif/esp-idf/issues/15598
2025-03-20 14:56:16 +08:00
Song Ruo Jing 8f74c54a8a refactor(gpio): simplified gpio_reset_pin function to not call gpio_configure
Closes https://github.com/espressif/esp-idf/pull/15569
2025-03-20 14:56:16 +08:00
igor.udot daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
gaoxu 7e54886a4e feat(esp32h21): move gpio intr source to gpio_ll.h 2025-02-24 17:32:01 +08:00
gaoxu 51ad6cfab0 feat(esp32h21): support RTC_IO and hysteresis on ESP32H21 2025-02-24 17:31:55 +08:00
gaoxu d3acbe15aa feat(esp32h21): refactor gpio_ll to use io_mux_struct 2025-02-24 17:25:58 +08:00
gaoxu 760f134d84 feat(esp32h21): support GPIO on esp32h21 2025-02-24 17:24:16 +08:00
Song Ruo Jing 53d8b70e8b fix(gpio): fix IO output enable control
oen_sel and oen_inv_sel fields from func_out_sel_cfg register
2025-02-20 19:49:28 +08:00
Song Ruo Jing 1d6bcb86ba fix(gpio): removed unnecessary step when routing input signal to a pin 2025-02-20 18:54:19 +08:00
wuzhenghui 51205a8fd8 fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management 2025-02-19 16:02:25 +08:00
Song Ruo Jing a6ac2bb322 refactor(gpio): improve gpio_get_io_config API 2025-02-10 21:44:51 +08:00
Song Ruo Jing 3a8d065908 refactor(gpio): improve gpio_iomux_in/out API 2025-02-10 21:44:07 +08:00
gaoxu 5ef4f20778 feat(esp32h21): disable unsupported build test 2025-02-06 15:47:51 +08:00
Song Ruo Jing 52c0278361 feat(gpio): add gpio_config_as_analog API 2025-01-08 21:58:12 +08:00
Song Ruo Jing 5b75572f23 fix(gpio): fix 8/16-bit gpio, rtc/lp_io register access 2025-01-08 16:49:34 +08:00
Song Ruo Jing 3fde2017cd refactor(rtcio): update comments for rtc_io header file
Closes https://github.com/espressif/esp-idf/issues/13735
2025-01-08 16:49:34 +08:00
gaoxu 25731d0c1e feat(esp32h21): finnal introduce hello world support 2024-12-30 20:14:40 +08:00
Marius Vikhammer d8de8c6e40 Merge branch 'bugfix/enable_additional_lp_io_wakeup' into 'master'
fix(lp_io): enable setting edge type wakeup sources for targets that support this

See merge request espressif/esp-idf!35122
2024-12-26 10:41:23 +08:00
Song Ruo Jing c749ec66f6 fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32
Closes https://github.com/espressif/esp-idf/issues/14931
2024-12-18 22:38:25 +08:00
Ihor Nehrutsa 4d9d164541 feat(gpio): Add gpio_get_io_config()
Signed-off-by: IhorNehrutsa <Ihor.Nehrutsa@gmail.com>
2024-12-18 22:38:25 +08:00
Marius Vikhammer c35f188efb fix(lp_io): allow edge wakeup types for LP-IO on chips which support it 2024-12-17 10:00:48 +08:00
Alexey Lapshin 888b5f7e8d feat(newlib): add picolibc support 2024-12-02 21:35:56 +07:00
wanckl a50c095df1 fix(esp_driver_gpio): esp32c61 gpio number update 22 -> 25 2024-11-08 10:36:20 +08:00
morris 1c1198cf4a feat(dedic_gpio): enable pad input for the input signal
previously, we asked the user to enable the gpio direction before
initialize the dedicated GPIO.

Now the dedicated GPIO driver will help enable the input/output path
according to the in_en and out_en flags.
2024-10-14 11:35:16 +08:00
morris 611fb654ce refactor(lcd): clean up GPIO initialization 2024-10-10 16:01:05 +08:00
morris 7e4ce003a5 refactor(rmt): deprecate io_loop_back
when initialize the GPIO for RMT peripehral, driver won't overwrite the
previous GPIO settings. Just append different modes to the GPIO.
2024-09-23 13:33:44 +08:00
Song Ruo Jing e1d3d830ce refactor(gpio): public some IO configuration functions
This allows different peripheral drivers to act on the same IO.
2024-09-11 18:07:46 +08:00
Song Ruo Jing 9994f493ed feat(lp_io): Add LP_IO support for ESP32C61 2024-09-10 20:50:31 +08:00
wanckl 4e095f4b9f ci(esp32c61): enable c61 generic target test 2024-09-02 19:26:12 +08:00
Lou Tianhao 980ec70d0a feat(esp_hw_support): support pmu init and sleep for esp32c5
fix(ci): add efuse header in pmu_sleep
2024-08-28 10:44:08 +08:00
gaoxu 004f27efda feat(gpio): support hysteresis filter on C61 2024-08-22 11:24:03 +08:00
Song Ruo Jing 706935f468 fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process 2024-08-15 21:54:21 +08:00
Song Ruo Jing 1171c3c281 fix(ci): enable gpio, uart target tests on esp32p4 2024-08-15 21:54:21 +08:00
Chen Jichang 2fafecdc2e feat(dedic_gpio): support dedic gpio on esp32c61 2024-08-08 14:00:19 +08:00
Wu Zheng Hui 9ef5712f35 Merge branch 'doc/update_gpio_deep_sleep_hold_en_api_guide' into 'master'
docs(gpio): update gpio_deep_sleep_hold_en API usage notes

Closes ESPCS-952

See merge request espressif/esp-idf!31962
2024-08-01 16:58:34 +08:00
wuzhenghui 66fa61f353 docs(gpio): update gpio_deep_sleep_hold_en API usage notes 2024-08-01 10:37:23 +08:00
Chen Jichang 38b1fe9b11 feat(glitch_filter): add support for esp32c5 2024-07-17 17:56:45 +08:00
Chen Jichang 9b94afdd38 feat(dedic_gpio): add support for esp32c5 2024-07-17 17:56:43 +08:00
wanlei 3cf069c7d8 feat(esp32c61): disable unsupported build test 2024-07-16 16:06:19 +08:00
morris 863344f769 feat(etm): support etm driver on esp32c5 2024-07-12 10:53:12 +08:00
gaoxu 27aeec9667 ci(gpio): re-enable C5 gpio and rtcio test 2024-07-11 09:46:58 +08:00