Song Ruo Jing
ca3f313938
feat(isp_dvp): add SC030IOT camera support to dvp_isp_dsi example
2025-07-02 17:46:46 +08:00
Song Ruo Jing
a46990ff5e
fix(uart): fix nmea0183 example wrong knots to m/s unit conversion
...
Closes https://github.com/espressif/esp-idf/issues/15695
2025-05-27 14:15:33 +08:00
Song Ruo Jing
ec373b51b8
fix(uart): correct C3/S3 module enable porcedure to avoid undesired line noise
2025-05-27 14:15:33 +08:00
Song Ruo Jing
3b3ae85bbe
fix(sleep): uart suspend/flush should also check if port is enabled on esp32
2025-05-27 14:15:33 +08:00
Song Ruo Jing
16fced715f
docs(uart): improve set/get baud rate API docs
...
Closes https://github.com/espressif/esp-idf/issues/15449
2025-05-27 14:15:33 +08:00
Song Ruo Jing
1084a1e14c
fix(uart): fixed coverity ininitialized scalar variable in uart_tcgetattr
2025-05-27 14:15:33 +08:00
Song Ruo Jing
253c69da08
fix(dedic_gpio): fix calloc to heap_caps_calloc
2025-05-27 14:15:33 +08:00
Song Ruo Jing
bb52e53ede
fix(uart): eliminate garbled data on UART TX/RX line in sleep
2025-05-27 14:15:33 +08:00
Song Ruo Jing
60f5828a4a
feat(uart): add pin release process to uart driver
2025-05-27 14:15:29 +08:00
Song Ruo Jing
c3e4134b0c
feat(gpio): gpio_reset_pin should do IO reservation revoke
...
Closes https://github.com/espressif/esp-idf/issues/15598
2025-05-20 15:30:26 +08:00
Song Ruo Jing
8f231272f6
fix(gpio): fix IO output enable control
...
oen_sel and oen_inv_sel fields from func_out_sel_cfg register
2025-05-20 15:30:26 +08:00
Song Ruo Jing
9ed617fb17
fix(gpio): removed unnecessary step when routing input signal to a pin
2025-05-20 15:30:26 +08:00
Song Ruo Jing
f61b453a25
fix(gpio): fix 8/16-bit gpio, rtc/lp_io register access
2025-05-20 15:30:26 +08:00
Song Ruo Jing
6cffc5c994
fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32
...
Closes https://github.com/espressif/esp-idf/issues/14931
2025-05-20 15:30:14 +08:00
Song Ruo Jing
ac883027c3
fix(ledc): fix race condition in ledc_fade_stop causing assert failure
...
Closes https://github.com/espressif/esp-idf/issues/15580
2025-03-27 20:16:53 +08:00
Song Ruo Jing
e774dbfd0f
fix(uart): LP UART does not have the pre-divider for its clock source
...
Closes https://github.com/espressif/esp-idf/issues/15427
2025-03-10 15:29:09 +08:00
Song Ruo Jing
d8c1d9f603
fix(gpio): fix bad bit shift operation and OOB (h2) in io_mux.c
2025-03-07 21:16:18 +08:00
Song Ruo Jing
3d08efd83a
refactor(uart): increase test app memory leak tolerance
2025-03-07 21:15:51 +08:00
Song Ruo Jing
9f08e5e9d8
fix(ppa): fix ppa srm potentially get blocked when scaling to YUV420
...
YUV420 requires scale_x_frag, scale_y_frag be even
2025-03-07 21:04:49 +08:00
Song Ruo Jing
9004e5009a
fix(dma2d): dma2d_force_end should not crash when rx channel is idle
2025-03-07 21:04:49 +08:00
Song Ruo Jing
24747868dd
docs(uart): aligned the config order in the programming guide with examples
...
Closes https://github.com/espressif/esp-idf/issues/13182
2025-03-07 21:01:16 +08:00
Song Ruo Jing
602393dfea
fix(uart): enlarged task stack size for uart_async_rxtxtasks example
...
Meanwhile, added CI pytest for some UART examples
Closes https://github.com/espressif/esp-idf/issues/15363
2025-03-07 21:01:16 +08:00
Song Ruo Jing
9aaa4f9e9c
fix(ledc): overflowed integer argument in ledc_hal_clear_left_off_fade_param
2025-03-07 20:33:01 +08:00
Song Ruo Jing
bea4615d0c
docs(ledc): add notes for ledc_set_fade_with_time API reference
...
Closes https://github.com/espressif/esp-idf/issues/15085
2025-03-07 17:22:40 +08:00
Song Ruo Jing
b2dbcd7804
fix(ledc): left-off gamma ram registers should be cleared
...
Hardware reads in (range_number+1) fade parameter registers, which could
cause output waveform error.
2025-03-07 17:22:39 +08:00
Song Ruo Jing
351e11ebd2
fix(ledc): updated docs for esp32h2 eco5 bugfix
2025-03-07 17:22:39 +08:00
Song Ruo Jing
ed46ec4433
fix(gpio): fix esp_rom_gpio_connect_out_signal for gpio num over 31 on esp32/s2
...
Closes https://github.com/espressif/esp-idf/issues/15209
2025-02-11 16:05:11 +08:00
Song Ruo Jing
6cb64d7025
feat(heap): add a MALLOC_CAP_SIMD flag
...
MALLOC_CAP_SIMD can be used to allocate memory to be used for SIMD instructions
2025-02-08 16:28:41 +08:00
Song Ruo Jing
131330034a
fix(uart): allow same pin for tx and rx in uart_set_pin
...
Closes https://github.com/espressif/esp-idf/issues/14787
2025-01-08 20:38:11 +08:00
Song Ruo Jing
f693485ad0
fix(uart): fix race condition with the use of UART_SELECT_READ_NOTIF
...
UART_SELECT_READ_NOTIF needs to be sent after received data got processed
to avoid the potential race condition
2025-01-08 19:44:36 +08:00
Song Ruo Jing
31d7a2056c
fix(ledc): fix ledc_get_freq calculation err due to overflow
...
Closes https://github.com/espressif/esp-idf/pull/14882
2024-12-26 19:12:07 +08:00
Song Ruo Jing
706b5b483e
fix(isp): isp_dvp raw->rgb needs a workaround
2024-12-26 12:12:17 +08:00
Song Ruo Jing
274321d82c
fix(isp): isp demosaic module should never be disabled for non-raw8 output format
2024-12-26 12:12:17 +08:00
Song Ruo Jing
2830a44495
feat(dvp_isp_dsi_example): add an example shows DVP-ISP-DSI combination
2024-12-26 12:11:21 +08:00
Song Ruo Jing
7167b04e6e
fix(uart): fix 8/16-bit uart register access
2024-12-25 15:32:06 +08:00
Song Ruo Jing
77e88f98cd
fix(esp_system): still gate hp periph clk on core/system reset for power saving
...
Leaving only hp periph clk source should not be gated on core/system reset
2024-12-12 21:03:37 +08:00
Song Ruo Jing
192f01c65f
fix(esp_system): hp periph clk should not be gated on core/system reset
2024-12-12 21:03:37 +08:00
Song Ruo Jing
cfcedfe42d
feat(uart): support uart sleep retention on C5/C61
2024-12-03 17:17:14 +08:00
Song Ruo Jing
43175ff671
fix(uart_vfs): read() now aligned to POSIX defined behavior
...
- For blocking mode, block until data available
- Return with the bytes available in the file at the time,
it should not block until reaching the requested size
And read() should not realy return on the newline character
Closes https://github.com/espressif/esp-idf/issues/14155
2024-12-03 16:32:01 +08:00
Song Ruo Jing
623351e791
fix(clk): add an inevitable kconfig option to be selected to use rc32k
2024-12-02 11:15:17 +08:00
Song Ruo Jing
33103306a6
feat(ledc): added a multi device test for testing ledc output in sleep
2024-10-30 14:06:42 +08:00
Song Ruo Jing
92d335548f
Merge branch 'feature/ledc_sleep_retention_support' into 'master'
...
feat(ledc): support ledc sleep mode selection
Closes IDFGH-12713, IDF-9740, IDF-9769, IDF-9909, IDF-10372, IDF-10394, IDF-8472, and IDFCI-2450
See merge request espressif/esp-idf!34097
2024-10-24 11:43:11 +08:00
Song Ruo Jing
b9480d807c
Merge branch 'bugfix/ppa_srm_scaled_size_oob' into 'master'
...
fix(ppa): fix a few minor issues for ppa srm and blend driver
Closes IDF-10774
See merge request espressif/esp-idf!34303
2024-10-23 12:12:46 +08:00
Song Ruo Jing
7a516554a6
feat(ledc): Add sleep retention support for C5/C61
2024-10-22 17:55:53 +08:00
Song Ruo Jing
4a90deb227
feat(ledc): support ledc sleep mode selection
...
Support LEDC sleep retention on C6/H2/P4
2024-10-22 17:54:32 +08:00
Song Ruo Jing
b949e9e729
fix(ci): enlarge ledc test memory leak size
...
7fdcedffd3 increased pcnt memory leak in release sdkconfig.
pcnt is used as testbench for ledc test cases.
2024-10-22 17:43:28 +08:00
Song Ruo Jing
dc15243a64
refactor(uart): minor update on uart retention feature
2024-10-22 17:43:28 +08:00
Song Ruo Jing
debd424b43
fix(sleep): ESP_SLEEP_DIG_USE_RC_FAST_MODE cannot maintain RC_FAST in sleep
...
Introduced in eab98765
2024-10-22 17:43:28 +08:00
Song Ruo Jing
ea0383805f
fix(ppa): fix a few minor issues for ppa srm and blend driver
...
1. The smallest scale size can be 1/16, not 1/15
2. Fix potential heap corruption if scale to a smaller size (OOB)
3. Fix mismatching writeback and invalidate data size if in_bg/fg_buffer and out_buffer
are the same one and L2 cacheline size is larger than L1 cacheline size
2024-10-21 14:51:07 +08:00
Song Ruo Jing
ed91ad56da
Merge branch 'refactor/pll_pd_in_sleep_logic' into 'master'
...
fix(clk): rtc_clk_cpu_freq_set_xtal will always disable CPU's PLL
See merge request espressif/esp-idf!34241
2024-10-18 14:12:15 +08:00
Song Ruo Jing
7c0b1dc98c
fix(clk): rtc_clk_cpu_freq_set_xtal will always disable CPU's PLL
...
Align C6/H2/C5/C61 rtc_clk_cpu_freq_set_xtal behavior to other chips
For PMU supported chips, powering down CPU PLL in sleep will be done by PMU, not sleep code
2024-10-17 12:41:15 +08:00
Song Ruo Jing
67a87a5fcd
fix(pmu): enable all func clock icg during retention
...
This should only increase a tiny amount of the power consumption in the retention process,
but save debug time since some module register read/write relies not only APB but also func clock.
2024-10-17 12:41:15 +08:00
Song Ruo Jing
ec50cb177c
Merge branch 'feature/gdma_retention_support_p4_c5_c61' into 'master'
...
feat(gdma): add retention support for esp32p4, esp32c5, esp32c61
Closes IDF-9225, IDF-9929, and IDF-10380
See merge request espressif/esp-idf!33733
2024-09-24 16:31:13 +08:00
Song Ruo Jing
6afbc06666
feat(gdma): add retention support for esp32p4, esp32c5, esp32c61
2024-09-24 12:33:41 +08:00
Song Ruo Jing
8da1b8bba7
Merge branch 'contrib/github_pr_14393' into 'master'
...
strerror for clearer Error detection (GitHub PR)
Closes IDFGH-13496
See merge request espressif/esp-idf!32914
2024-09-23 20:47:08 +08:00
Song Ruo Jing
2cef80666b
Merge branch 'feature/gpio_add_direction' into 'master'
...
feat(gpio): allow appending mode to IOs
See merge request espressif/esp-idf!33181
2024-09-12 18:20:11 +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
832e08c82f
Merge branch 'feature/esp32c61_lp_io_support' into 'master'
...
feat(lp_io): Add LP_IO support for ESP32C61
Closes IDF-9317
See merge request espressif/esp-idf!33013
2024-09-11 14:45:54 +08:00
Song Ruo Jing
9994f493ed
feat(lp_io): Add LP_IO support for ESP32C61
2024-09-10 20:50:31 +08:00
Song Ruo Jing
b6916ca304
Merge branch 'bugfix/custom_console_uart_pins_c5_c61' into 'master'
...
fix(uart): make custom console uart TX/RX pins same to the default console uart pins
See merge request espressif/esp-idf!33110
2024-09-02 21:26:56 +08:00
Song Ruo Jing
e1f27d04ed
fix(uart): enable ci target test for uart for c5
2024-09-02 15:24:29 +08:00
Song Ruo Jing
8e53e91ec9
fix(uart): make custom console uart pins same to the default console uart pins
2024-09-02 15:24:29 +08:00
Song Ruo Jing
315796f96c
Merge branch 'contrib/github_pr_14392' into 'master'
...
Update uart_select_example_main.c (GitHub PR)
Closes IDFGH-13497
See merge request espressif/esp-idf!32913
2024-08-28 12:15:41 +08:00
Song Ruo Jing
76102f3b0c
Merge branch 'bugfix/esp_ringbuf_32_bit_alignment' into 'master'
...
fix(ringbuf): allow xRingbufferCreateWithCaps to pass in non-32-bit aligned size
Closes DOC-7446
See merge request espressif/esp-idf!33081
2024-08-27 15:46:28 +08:00
Song Ruo Jing
1e6d843e65
fix(ringbuf): allow xRingbufferCreateWithCaps to pass in non-32-bit aligned size
2024-08-26 15:45:14 +08:00
Song Ruo Jing
c607544126
Merge branch 'feature/isp_gamma_correction_support' into 'master'
...
feat(isp): add gamma correction driver to ISP
Closes IDF-9988
See merge request espressif/esp-idf!32274
2024-08-22 12:09:31 +08:00
Song Ruo Jing
f2d131aae4
feat(isp): add gamma correction driver to ISP
2024-08-21 17:27:16 +08:00
Song Ruo Jing
7b510049fb
fix(ci): esp32 build failure due to bootloader size too large
2024-08-19 19:08:10 +08:00
Song Ruo Jing
15e20f0dfb
Merge branch 'ci/enable_esp32p4_gpio_uart_target_test' into 'master'
...
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process
Closes IDF-8968, IDF-8971, and IDF-9877
See merge request espressif/esp-idf!32510
2024-08-16 17:31:59 +08:00
Song Ruo Jing
860453df47
Merge branch 'bugfix/esp_rom_gpio_connect_out_signal_patch' into 'master'
...
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2
Closes IDFGH-11731 and IDFGH-13373
See merge request espressif/esp-idf!32816
2024-08-16 12:03:25 +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
Song Ruo Jing
2f92d863d8
fix(uart): eliminated potential glitch on TX at setup if TX signal is inversed
...
Closes https://github.com/espressif/esp-idf/issues/14285
2024-08-15 16:36:18 +08:00
Song Ruo Jing
ab4157b6cf
fix(gpio): patched esp_rom_gpio_connect_out_signal for esp32 and esp32s2
...
The original ROM function enabled output for the pad first, and then connected the signal
This could result in an undesired level change at the pad
Closes https://github.com/espressif/esp-idf/issues/12826
2024-08-15 16:36:18 +08:00
Song Ruo Jing
a6e8a9df17
Merge branch 'bugfix/uart_events_example_stask_overflow_s3' into 'master'
...
fix(uart): increased stack size for the task in uart_events example
See merge request espressif/esp-idf!32779
2024-08-14 12:12:59 +08:00
Song Ruo Jing
96a8265084
fix(uart): increased stack size for the task in uart_events example
...
The example cannot run successfully on ESP32S3 due to task stack overflow
Introduced in a4e6f57a40
2024-08-12 16:14:47 +08:00
Song Ruo Jing
ac8295fd19
Merge branch 'feature/esp32c61_clock_support' into 'master'
...
feat(clk): Add basic clock support for esp32c61
Closes IDF-9249
See merge request espressif/esp-idf!32244
2024-08-01 21:31:32 +08:00
Song Ruo Jing
6db52ffe12
remove(clk): rc32k is removed as a clk source option for lp_slow_clk on C5/C61
2024-07-31 22:41:23 +08:00
Song Ruo Jing
335d39b869
feat(clk): Add basic clock support for esp32c61
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-07-31 22:41:22 +08:00
Song Ruo Jing
adb1a81729
Merge branch 'feature/esp32c61_regi2c_support' into 'master'
...
feat(regi2c): support REGI2C for ESP32C61
Closes IDF-9276
See merge request espressif/esp-idf!31980
2024-07-29 11:52:41 +08:00
Song Ruo Jing
71d37f9ea8
fix(ci): wrap sleep related code with porper caps for ble throughput_app
2024-07-24 15:45:21 +08:00
Song Ruo Jing
3aa27ae960
refactor(regi2c): add LL function to control analog i2c master clock
2024-07-24 12:26:59 +08:00
Song Ruo Jing
75cf388b99
feat(soc): add modem register header files for ESP32C61
2024-07-24 12:17:11 +08:00
Song Ruo Jing
2e59d3e0ad
Merge branch 'bugfix/uart_config_t_size' into 'master'
...
fix(uart): fix uart_config_t structure size difference in C and C++
See merge request espressif/esp-idf!31971
2024-07-10 15:19:28 +08:00
Song Ruo Jing
a3362348ac
Merge branch 'bugfix/ppa_buffer_writeback_invalidate_fix2' into 'master'
...
fix(ppa): fix insufficient writeback/invalidate data length
See merge request espressif/esp-idf!31996
2024-07-10 12:16:40 +08:00
Song Ruo Jing
64c06cb327
fix(ppa): fix insufficient writeback/invalidate data length
2024-07-09 16:06:42 +08:00
Song Ruo Jing
f24d529c70
fix(uart): fix uart_config_t structure size difference in C and C++
2024-07-08 20:17:27 +08:00
Song Ruo Jing
4e5b8f9b38
Merge branch 'bugfix/ledc_mem_pd' into 'master'
...
fix(ledc): clear ledc_mem_force_pd when LEDC peripheral is in use C5
Closes IDF-10250, IDF-9100, IDF-8969, and IDF-10333
See merge request espressif/esp-idf!31850
2024-07-08 15:20:56 +08:00
Song Ruo Jing
51a7f7895c
feat(ledc): add esp_gpio_reserve to ledc driver
2024-07-05 15:11:57 +08:00
Song Ruo Jing
4cd74f51db
fix(ledc): clear ledc_mem_force_pd when LEDC peripheral is in use
...
And enable target test for C5 and P4
2024-07-05 15:11:57 +08:00
Song Ruo Jing
e5dbbf467c
Merge branch 'feature/esp32c5_clock_support' into 'master'
...
feat(clk): Add basic clock support for esp32c5 mp
Closes IDF-8642 and IDF-9009
See merge request espressif/esp-idf!31514
2024-06-26 19:27:51 +08:00
Song Ruo Jing
40f3bc2e57
feat(clk): Add basic clock support for esp32c5 mp
...
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-06-26 14:26:34 +08:00
Song Ruo Jing
794160fb48
Merge branch 'test/enable_build_test_ledc_esp32c5' into 'master'
...
test(ledc): enable build test on esp32c5
Closes IDFCI-2204
See merge request espressif/esp-idf!31574
2024-06-18 17:28:27 +08:00
Song Ruo Jing
b4b1906d2c
Merge branch 'feature/esp32c5_regi2c_support' into 'master'
...
feat(regi2c): support REGI2C for ESP32C5 MP
Closes IDF-8824
See merge request espressif/esp-idf!31411
2024-06-17 11:10:26 +08:00
Song Ruo Jing
330c57cb45
feat(modem): add modem register header files for ESP32C5 MP
2024-06-14 20:26:58 +08:00
Song Ruo Jing
3d7cce3d6a
Merge branch 'feature/esp32c5_xtal_support' into 'master'
...
feat(clk): support ESP32C5 XTAL 40M/48M selection
Closes IDF-8943
See merge request espressif/esp-idf!31409
2024-06-12 00:18:50 +08:00
Song Ruo Jing
ac6101bf4e
feat(clk): support ESP32C5 XTAL 40M/48M selection
2024-06-11 17:42:43 +08:00
Song Ruo Jing
745ca1a4eb
Merge branch 'feature/ppa_add_test_cases' into 'master'
...
feat(ppa): add test cases to test PPA data correctness
See merge request espressif/esp-idf!31331
2024-06-06 20:29:56 +08:00
Song Ruo Jing
fb7afe607e
feat(ppa): add test cases to test PPA data correctness
2024-06-06 18:10:53 +08:00
Song Ruo Jing
2d8c719fbb
Merge branch 'feature/support_uart_sleep_retention' into 'master'
...
feat(uart): support uart module sleep retention
Closes IDF-8457
See merge request espressif/esp-idf!26729
2024-06-03 20:05:54 +08:00