Commit Graph

2621 Commits

Author SHA1 Message Date
Wan Lei
f92b18053a Merge branch 'feature/esp32p4_hp_spi_support' into 'master'
Feature/esp32p4 hp spi master driver support

Closes IDF-7502

See merge request espressif/esp-idf!24963
2023-10-09 18:37:35 +08:00
Gao Xu
d52040a86d Merge branch 'esp32p4/add_uart_support' into 'master'
UART: Add uart support for ESP32P4

Closes IDF-6511 and IDF-7506

See merge request espressif/esp-idf!25388
2023-10-09 18:11:10 +08:00
IhorNehrutsa
9ced54699e feat(ledc): add ledc_find_suitable_duty_resolution helper function
Helper function to find the maximum possible duty resolution in bits
for ledc_timer_config()

Merges https://github.com/espressif/esp-idf/pull/11810
2023-10-09 12:46:46 +08:00
wanlei
eb75aa462e feat(spi_master): p4 enable test and examples 2023-10-08 14:45:52 +08:00
wanlei
00fcdce725 feat(spi_master): p4 add master driver supported 2023-10-08 14:45:12 +08:00
gaoxu
bc2a6bd730 feat(uart): spilt LP and HP uart set_baudrate function 2023-10-08 10:10:02 +08:00
gaoxu
4f24f805cc feat(uart): add LP-UART GPIO support 2023-10-08 10:10:02 +08:00
gaoxu
4541ad134d feat(uart): add RCC atomic block to uart/lp-uart peripheral 2023-10-08 10:10:02 +08:00
gaoxu
c7afa0dcef feat(uart): uart(hp,lp) support on esp32p4 2023-10-08 10:10:00 +08:00
laokaiyao
c018dc9d77 refactor(hal): avoid float type in hal 2023-10-07 19:01:04 +08:00
Song Ruo Jing
66821f699c refactor(ledc): move related kconfig and linker.lf to its own folder 2023-10-02 07:32:16 +00:00
Song Ruo Jing
f5f44e2ce5 fix(ledc): always allocate memory from internal ram 2023-10-02 07:32:16 +00:00
Song Ruo Jing
821f7b0498 fix(ledc): fix ledc driver 100% duty cycle configuration
Update ledc duty cycle value range in doxygen.
Fix duty configuration error at 100% duty cycle for ESP32.
Improve LEDC API doxygen.

Closes https://github.com/espressif/esp-idf/pull/11516
Closes https://github.com/espressif/esp-idf/issues/12083
2023-10-02 07:32:16 +00:00
laokaiyao
e1039f9ce2 fix(i2s_platform): merge the i2s platform acquire API 2023-09-28 15:03:27 +08:00
laokaiyao
72a0746e62 refactor(apll): move the apll soc caps to clk_tree_ll 2023-09-28 15:03:27 +08:00
laokaiyao
0b0f25c30d feat(i2s): supported getting the tx sync count and specify interrupt flags 2023-09-28 15:03:27 +08:00
laokaiyao
cf889f3c6d feat(i2s): support i2s on esp32p4 2023-09-28 15:03:27 +08:00
morris
9e9eb0bf9d Merge branch 'bugfix/rmt_pm_lock_type' into 'master'
fix(rmt): use ESP_PM_CPU_FREQ_MAX for RMT for non-dma channel

Closes IDFGH-11122

See merge request espressif/esp-idf!26220
2023-09-27 16:52:42 +08:00
Kevin (Lao Kaiyao)
cf54ebc9c1 Merge branch 'feature/support_parlio_tx_on_p4' into 'master'
feat(parlio_tx): supported parlio tx on p4

Closes IDF-7472

See merge request espressif/esp-idf!25365
2023-09-27 12:33:34 +08:00
morris
985b8ca948 fix(rmt): fixed unstable transfer during DFS
Closes https://github.com/espressif/esp-idf/issues/12292
2023-09-26 17:01:06 +08:00
laokaiyao
ff7a11e539 feat(ana_cmpr): supported etm in analog comparator example 2023-09-25 19:57:34 +08:00
laokaiyao
bf2a5653a9 feat(ana_cmpr): supported analog comparator etm function on p4 2023-09-25 19:57:34 +08:00
laokaiyao
a989ce4ab1 feat(ana_cmpr): supported analog comparator on esp32p4 2023-09-25 19:57:34 +08:00
morris
0fe1114673 Merge branch 'bugfix/shared_intr_memory_location' into 'master'
fix(intr): always allocate memory from internal ram

Closes IDFGH-11099

See merge request espressif/esp-idf!26090
2023-09-25 15:36:36 +08:00
Armando (Dou Yiwen)
b58a2ea6a6 Merge branch 'feature/support_cache_p4' into 'master'
cache: support cache driver on esp32p4

Closes IDF-7516

See merge request espressif/esp-idf!25490
2023-09-25 15:21:46 +08:00
C.S.M
923fcc25b6 Merge branch 'contrib/github_pr_11344' into 'master'
[Usb Serial JTAG] printing to console could sometimes skip bytes (GitHub PR)

Closes IDFGH-10069

See merge request espressif/esp-idf!23964
2023-09-25 10:50:32 +08:00
laokaiyao
28a45e20b8 feat(parlio_tx): supported parlio tx on p4 2023-09-25 10:42:30 +08:00
Cao Sen Miao
467a28f791 fix(usb_serial_jtag): Clean-up usb_serial_jtag lose byte fix, Closes https://github.com/espressif/esp-idf/pull/11344 2023-09-24 17:45:22 +08:00
C.S.M
c16b76f949 Merge branch 'bugfix/temp_clk_gate' into 'master'
fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together

Closes WIFIBUG-110

See merge request espressif/esp-idf!25992
2023-09-22 16:32:40 +08:00
morris
3dc13d58a1 fix(intr): always allocate memory from internal ram
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-22 15:13:35 +08:00
Armando
32db81a6d6 change(rmt): update cache_hal_get_cache_line_size accordingly 2023-09-22 14:19:41 +08:00
Chen Yu Dong
ac17132bb4 Merge branch 'ci/move_build_test_rules_files_folder' into 'master'
fix(ci): change build-test-rules files folder

See merge request espressif/esp-idf!26076
2023-09-22 11:28:48 +08:00
morris
3093384045 Merge branch 'feature/pcnt_replace_periph_func_with_new_ll' into 'master'
feat(pcnt): replace periph_module func with new ll func

Closes IDF-8225

See merge request espressif/esp-idf!25935
2023-09-21 21:57:14 +08:00
Song Ruo Jing
98abcbabea Merge branch 'feature/esp32p4_lp_io_support' into 'master'
feat(lp_io): Add support for ESP32P4

Closes IDF-7815

See merge request espressif/esp-idf!25991
2023-09-21 15:20:13 +08:00
Cao Sen Miao
3265bab95f fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together 2023-09-21 12:19:12 +08:00
laokaiyao
dd4072a80c refactor(hal): use hal utils to calculate clock division 2023-09-20 23:33:25 +08:00
morris
8d17265bb7 Merge branch 'feature/support_rmt_esp32p4' into 'master'
RMT driver support on ESP32-P4

Closes IDF-7476 and IDF-7730

See merge request espressif/esp-idf!25680
2023-09-20 23:11:11 +08:00
Song Ruo Jing
2d458a3f93 feat(lp_io): Add support for ESP32P4 2023-09-20 19:39:41 +08:00
Chen Yudong
2e11919f70 fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
Planck (Lu Zeyu)
59f8008e22 feat(pcnt): replace periph_module func with new ll func 2023-09-20 15:06:04 +08:00
morris
6bb05cccdd feat(rmt): add driver support for esp32p4
including DMA feature
2023-09-19 12:54:14 +08:00
Chip Weinberger
a7436ac82c [Usb Serial JTAG] printing to console could sometimes skip bytes 2023-09-18 18:41:15 +08:00
Darian Leung
287bdc5e61 fix(test_apps): Trim builds of component test apps
Some component test apps do not use the "set(COMPONENTS main)" command in their
project level "CMakeLists.txt", thus leading to their builds pulling in all
ESP-IDF components.

This commit trims the build of multiple component test apps:

- Add "set(COMPONENTS main ...)" to project level "CMakeLists.txt"
- Add missing "PRIV_REQUIRES" in some "main" component "CMakeLists.txt"

Also removed repeated configuraiton options in legacy_i2c_driver/sdkconfig.ci.defaults
as they are already specified in legacy_i2c_driver/sdkconfig.defaults
2023-09-18 17:16:37 +08:00
morris
3234ee3f9e refactor(mcpwm): add RCC related LL functions 2023-09-15 13:33:01 +08:00
Planck (Lu Zeyu)
255d499884 fix(ll): fix cpp compile error
Merges https://github.com/espressif/esp-idf/pull/12093

fix(ll): remove FLAG_ATTR macro

Such kind of operator overload will not work because C++ thinks such overload is ambiguous and it still prefer the built-in one which accepts and returns integer. Manually force type conversion seems to be unavoidable.
2023-09-14 14:48:12 +08:00
morris
47e499de52 feat(mcpwm): clean up MCPWM ETM driver 2023-09-11 16:53:34 +08:00
Chen Jichang
7638235311 feat(mcpwm): MCPWM event comparator driver
In esp32p4, the MCPWM has a new feature, mainly ETM-oriented.
Each operator has two event comparators, can generate an event
when the count value of the timer that operator connects is equal
to the value of event comparator.
2023-09-11 16:53:34 +08:00
morris
3e5906aa1b Merge branch 'feature/modify_mcpwm_clock_pre_scale' into 'master'
feat(mcpwm): Set group clock prescale dynamically

See merge request espressif/esp-idf!25117
2023-09-09 08:30:56 +08:00
Chen Jichang
fc80d3e568 feat(mcpwm): Set group clock prescale dynamically
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-08 11:57:29 +08:00
C.S.M
61920d0360 Merge branch 'bugfix/i2c_probe_continue' into 'master'
fix(i2c_master): Fix I2C new master cannot continously probe

See merge request espressif/esp-idf!25761
2023-09-06 17:23:48 +08:00
morris
e8847a176f refactor(intr): add namespace for intr_cpu_id_t
previously the intr_types.h doesn't have a namespace,
it has the risk of introduing conflict in user's project.
2023-09-06 09:50:41 +08:00
Cao Sen Miao
c7740b4c2b fix(i2c_master): Fix I2C new master cannot continously probe 2023-09-05 12:27:18 +08:00
morris
3b0c0ae4d4 Merge branch 'feature/specify_rmt_intr_priority' into 'master'
feat(rmt): specify interrupt priority

Closes IDF-7955

See merge request espressif/esp-idf!25596
2023-09-02 11:38:46 +08:00
Planck (Lu Zeyu)
80fa5da9e8 feat(rmt): specify interrupt priority 2023-09-01 11:30:41 +08:00
Cao Sen Miao
6e3e923290 fix(i2c_master): Fix issue that i2c master probe device failed,
Closes https://github.com/espressif/esp-idf/issues/12159
2023-09-01 10:00:46 +08:00
Song Ruo Jing
91aab6bda0 Merge branch 'feature/add_uart_iram_safe_check' into 'master'
feat(uart): Add sdkconfig.ci.iram_safe test for UART driver

See merge request espressif/esp-idf!25618
2023-08-31 12:57:46 +08:00
Song Ruo Jing
767698b90d feat(uart): Add sdkconfig.ci.iram_safe test for UART driver 2023-08-30 11:30:03 +08:00
morris
47bb157cab refactor(twai): add reset and clock control to twai LL layer 2023-08-29 22:19:57 +08:00
Wan Lei
cff1631ac7 Merge branch 'fix/fixed_polling_api_lock_logic' into 'master'
fix(spi_master): fixed polling_start break common resouce when error

See merge request espressif/esp-idf!25593
2023-08-29 15:21:24 +08:00
wanlei
f7068bd937 fix(spi_master): fixed polling_start break common resouce when error 2023-08-28 18:18:38 +08:00
morris
4a45479336 refactor(lp_periph): move enable and reset control to LL driver 2023-08-28 05:17:56 +00:00
Armando (Dou Yiwen)
d4d6241db0 Merge branch 'feature/esp32p4_build_test' into 'master'
ci: enable ci build stage on esp32p4

Closes IDF-7524 and IDF-7525

See merge request espressif/esp-idf!25343
2023-08-25 13:35:20 +08:00
C.S.M
0bb8c13acd Merge branch 'bugfix/usb_serial_jtag_write_return_val' into 'master'
bugfix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly

Closes IDFGH-10925 and IDFGH-10069

See merge request espressif/esp-idf!25492
2023-08-25 05:19:40 +08:00
morris
641fdabbf0 Merge branch 'feature/default_clock_source_can_leave_empty' into 'master'
feat(mcpwm): default clock source setting can leave empty

See merge request espressif/esp-idf!25478
2023-08-24 20:22:47 +08:00
Armando
6f412393b6 change(ci): add todo to p4 build test enable 2023-08-24 12:51:19 +08:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
Cao Sen Miao
c92615308c fix(usb_serial_jtag): Fix usb_serial_jtag wrong return value, vfs lose data randomly,
Closes https://github.com/espressif/esp-idf/issues/12119,
Closes https://github.com/espressif/esp-idf/pull/11344,
Closes https://github.com/espressif/esp-idf/issues/9318
Closes https://github.com/espressif/esp-idf/issues/11192
2023-08-24 11:59:20 +08:00
wanlei
f62b025f93 fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
Close https://github.com/espressif/esp-idf/issues/11845
2023-08-24 02:09:08 +00:00
Chen Ji Chang
9db2ffd4fb Merge branch 'fix/pcnt_zero_input_init' into 'master'
feat(PCNT): Add new api of clear signal

See merge request espressif/esp-idf!25372
2023-08-23 20:15:59 +08:00
morris
fa58d2c6b0 feat(mcpwm): default clock source setting can leave empty 2023-08-23 18:36:02 +08:00
morris
54febcae0e fix(adc): invalid assertion on the adc_unit 2023-08-23 18:36:02 +08:00
morris
3b50c716d8 Merge branch 'feature/gptimer_ll_enable_reset' into 'master'
HW-Support: Add Atomic Code Block for Reset and Clock Control

See merge request espressif/esp-idf!25401
2023-08-23 15:11:42 +08:00
morris
329bc7e5e9 Merge branch 'feature/mcpwm_interrupt_priority' into 'master'
feat(MCPWM): Support set interrupt priority

Closes IDF-7952

See merge request espressif/esp-idf!25364
2023-08-23 13:43:24 +08:00
Chen Jichang
d7d87813ad fix(PCNT): Add zero input gpio enable flag
The default zero input gpio num is 0. Users need to set it additionally
when not use zero input signal. It may become a breaking change.
Add an enable flag to avoid it.
2023-08-23 12:08:15 +08:00
Chen Jichang
713324ff9d feat(MCPWM): Support set interrupt priority 2023-08-23 10:44:34 +08:00
morris
71cf16ec01 feat(gptimer): use RCC atomic block to enable/reset peripheral 2023-08-22 17:05:35 +08:00
wanlei
1b7430e0a1 fix(ci): add timeout for i2c legacy multi_board test 2023-08-22 02:12:26 +00:00
C.S.M
0ccfb126df Merge branch 'bugfix/fix_i2c_master_issue' into 'master'
fix(i2c_master): Fix some issues on new i2c_master

Closes IDF-8034

See merge request espressif/esp-idf!25320
2023-08-17 10:13:48 +08:00
Kevin (Lao Kaiyao)
f629c4b7e9 Merge branch 'feature/i2s_support_mclk_input' into 'master'
feat(i2s): supported external clock source input

Closes IDF-7889

See merge request espressif/esp-idf!24942
2023-08-16 19:07:22 +08:00
Cao Sen Miao
0f8e60368c fix(i2c_master): Add doc for internal pull-ups 2023-08-16 18:05:10 +08:00
Cao Sen Miao
317da3ffaf fix(i2c_master): Fix some static issue checked by coverity 2023-08-16 10:43:18 +08:00
Chen Ji Chang
b39fd79cb8 Merge branch 'feature/add_mcpwm_carrier_clk_source' into 'master'
feat(MCPWM): Add mcpwm carrier clk source

Closes IDF-8029

See merge request espressif/esp-idf!25342
2023-08-15 18:04:08 +08:00
Chen Jichang
97d5db32ae feat(MCPWM): Add mcpwm carrier clk source
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-15 13:04:11 +08:00
Chen Jichang
eede3796c7 feat(pcnt): support set interrupt priority 2023-08-14 17:52:38 +08:00
laokaiyao
22bb5729a4 ci(i2s): add external clock input multi_dev test cases 2023-08-14 03:25:12 +00:00
laokaiyao
4b6d71447c feat(i2s): supported external clock source input 2023-08-14 03:25:12 +00:00
morris
26f438cf89 Merge branch 'feature/esp32p4_gpio_support' into 'master'
feat(gpio): add support for ESP32P4

Closes IDF-6509

See merge request espressif/esp-idf!24868
2023-08-11 11:49:51 +08:00
morris
84f9e5e8e5 Merge branch 'feature/esp32p4_pcnt_support' into 'master'
feat(pcnt): add support for ESP32P4

Closes IDF-7475

See merge request espressif/esp-idf!25149
2023-08-10 18:52:23 +08:00
Song Ruo Jing
be9afeac86 feat(gpio): add support for ESP32P4 2023-08-10 17:58:49 +08:00
C.S.M
96bf37ab78 Merge branch 'feature/i2c_master_new_driver' into 'master'
I2C: Add new i2c master impl APIs and i2c eeprom example

See merge request espressif/esp-idf!23592
2023-08-10 16:51:31 +08:00
Cao Sen Miao
4ef94fc0dc feat(i2c): Add new API and implementation for I2C driver 2023-08-10 11:55:54 +08:00
Armando
706d684418 feat(esp32p4): introduced new target esp32p4, supported hello_world 2023-08-09 19:33:25 +08:00
Chen Jichang
3fed3cf50e feat(pcnt): add support for ESP32P4 2023-08-09 14:41:22 +08:00
morris
bd8eaf7a38 Merge branch 'feature/esp32p4_mcpwm_support' into 'master'
feat(MCPWM): Add support for ESP32P4

Closes IDF-7493

See merge request espressif/esp-idf!25029
2023-08-09 11:00:00 +08:00
morris
3e31826719 Merge branch 'bugfix/gptimer_hal_placement_wrong_condition' into 'master'
fix(gptimer): hal function placement under wrong condition

Closes IDFGH-10809

See merge request espressif/esp-idf!25237
2023-08-08 22:15:55 +08:00
Chen Jichang
72f66b6d1d feat(mcpwm): add support for ESP32P4 2023-08-08 18:12:58 +08:00
Darian Leung
9ed58bf564 feat(driver): updated drivers to use CreateWithCaps() API
This commit simplifies various drivers by using the ...CreateWithCaps() API
when creating driver objects in internal RAM.
2023-08-08 04:26:42 +00:00
morris
a662ec0a8d fix(gptimer): hal function placement under wrong condition
timer_hal_capture_and_get_counter_value
should be placed in the IRAM for speed optimization
because the default ISR handler is placed in the IRAM.

Closes https://github.com/espressif/esp-idf/issues/12021
2023-08-08 04:26:02 +00:00
morris
27eec5bb6f Merge branch 'feature/twai_linker_file' into 'master'
feat(twai): Add twai linker.lf to control the placement of driver and hal

Closes IDF-7806

See merge request espressif/esp-idf!25126
2023-08-07 15:21:37 +08:00
Planck (Lu Zeyu)
7469f34948 feat(twai): Add twai linker.lf to control the placement of driver and hal
- Replace TWAI_ISR_ATTR flag with linker.lf
- Use the linker.lf to control the placement of the driver functions
2023-08-07 10:21:47 +08:00
Armando
de68029de9 change(header): modify p4 headers issues from check_header_py 2023-08-04 14:13:59 +02:00
morris
a296532715 Merge branch 'bugfix/temperature_get_value_negative' into 'master'
bugfix(temperature_sensor): Fix issue that get the value is negative

See merge request espressif/esp-idf!25165
2023-08-04 15:24:11 +08:00
morris
c32cabc7f8 feat(gptimer): support set interrupt priority
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-03 19:16:37 +08:00
Cao Sen Miao
4ccbec93e2 bugfix(temperature_sensor): Fix issue that get the value is negative 2023-08-03 11:16:42 +08:00
Darian
84eedefca2 Merge branch 'refactor/freertos_port_types_usage' into 'master'
FreeRTOS: Remove usage of portXXX_TYPE

See merge request espressif/esp-idf!25107
2023-08-01 19:57:32 +08:00
Darian Leung
6fc935e584 refactor(freertos): Refactor usage of portBASE_TYPE to BaseType_t
portBASE_TYPE is an internal macro defined by the porting layer. This commit
changes all references to BaseType_t which is the official type exposed by
FreeRTOS.
2023-07-31 17:10:34 +02:00
Lou Tianhao
34b269fb03 remove(pm/deep_sleep): enable CI test for esp32h2 deepsleep 2023-07-27 12:11:35 +08:00
morris
ed36b91517 Merge branch 'feature/mcpwm_trigger_driver' into 'master'
feature(MCPWM): Add MCPWM trigger driver

Closes IDF-3613

See merge request espressif/esp-idf!24829
2023-07-25 18:50:57 +08:00
Chen Jichang
5ab755915b feature(MCPWM): Add MCPWM trigger driver and test
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
2023-07-25 14:44:41 +08:00
morris
57879e772d feat(gdma): support channel allocator on esp32p4
There's two GDMA groups on ESP32P4, one is connected to AHB bus,
and another one is connected AXI bus.
We now have two seperate APIs for allocating DMA channels,
depends on the bus type.
2023-07-19 18:18:07 +08:00
morris
ff4a1bb5cf Merge branch 'bugfix/fix_gpio_driver_calloc' into 'master'
fix(gpio): fix potential crash when processing gpio isr

Closes IDFGH-10644

See merge request espressif/esp-idf!24878
2023-07-19 15:09:02 +08:00
morris
b488cb70e7 Merge branch 'contrib/github_pr_11878' into 'master'
feat(mcpwm): Allow for pull up/down to be configurable on generators (GitHub PR)

Closes IDFGH-10647 and IDFGH-10646

See merge request espressif/esp-idf!24825
2023-07-19 15:01:27 +08:00
Song Ruo Jing
4ac2d436ea fix(gpio): fix potential crash when processing gpio isr
If CONFIG_SPIRAM_USE_MALLOC is enabled, and cache is disabled when GPIO ISR is triggered,
it would lead to Guru Meditation Error due to "Cache disabled but cached memory region accessed".

Closes https://github.com/espressif/esp-idf/issues/11876
2023-07-19 12:03:38 +08:00
morris
b589355a10 feat(mcpwm): support open drain output for generator IO
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 11:32:35 +08:00
Anne Brondijk
aa2c0a10c3 feat(mcpwm): Allow for pull up/down to be configurable on generators 2023-07-14 21:44:03 +02:00
wuzhenghui
797efb1dd3 ci: add pd_vddsdio in lightsleep UT tests
- Add pd_vddsdio in lightsleep UT tests to ensure proper functionality
2023-07-14 21:21:23 +08:00
morris
57651c5997 Merge branch 'bugfix/log-related-warnings' into 'master'
driver: fixed log related warnings in i2s and uart

See merge request espressif/esp-idf!24720
2023-07-13 18:09:56 +08:00
morris
6e9c386a27 Merge branch 'refactor/gpio_linker_file' into 'master'
refactor(gpio): Add gpio linker.lf to control the placement of driver and hal

Closes IDF-7805

See merge request espressif/esp-idf!24634
2023-07-13 17:17:50 +08:00
Zim Kalinowski
33e2985b95 driver: fixed log related warnings in i2s and uart 2023-07-12 15:50:06 +08:00
Sonika Rathi
571831b2ee UART: UART_SELECT_WRITE_NOTIF event added in UART driver
Closes https://github.com/espressif/esp-idf/issues/10986
2023-07-12 09:19:41 +02:00
Chen Jichang
cdd18fd232 refactor(gpio):add gpio linker.lf to control the placement of driver and hal
since the linker placement of the hal functions are controlled by the Kconfig in the driver component,
we should create the linker.lf in the driver component, not in the hal component.
2023-07-11 20:44:36 +08:00
morris
682e5ae450 Merge branch 'feature/esp_gdma_ops' into 'master'
feat(esp_gdma): add hal interface for common operations

Closes IDF-7809

See merge request espressif/esp-idf!24433
2023-07-11 10:40:42 +08:00
Song Ruo Jing
a9523b2cef Merge branch 'contrib/github_pr_11810' into 'master'
ledc.c: Fix frequency calculation. (GitHub PR)

Closes IDFGH-10569

See merge request espressif/esp-idf!24618
2023-07-11 10:32:58 +08:00
C.S.M
58e7cb600e Merge branch 'test/temperature_phy' into 'master'
temperature sensor: Add test for temperature sensor and phy

See merge request espressif/esp-idf!24317
2023-07-10 19:36:02 +08:00
morris
56a376c696 feat(esp_gdma): add hal interface for common operations
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
IhorNehrutsa
909d8b6db5 fix(ledc): fix frequency calculation
ledc.c: Fix frequency calculation.
Round int instead of truncate.

Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-10 11:45:09 +08:00
Song Ruo Jing
ea48030514 Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps

Closes IDF-7406

See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
Cao Sen Miao
53dee1abe0 feat(temperature_sensor_test): Add test for temperature sensor and phy 2023-07-07 10:15:07 +08:00
morris
81a641d437 feat(gptimer): add gptimer linker.lf to control the placement of driver and hal
since the linker placement of the hal functions are controlled by the Kconfig in the driver component,
we should create the linker.lf in the driver component, not in the hal component.
2023-07-05 12:09:00 +08:00
Song Ruo Jing
4985caa38f refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps 2023-07-05 11:47:51 +08:00
morris
f0c07f82b5 fix(test): check call graph for hal component 2023-07-05 09:09:01 +08:00
Sonika Rathi
cf7e743a9b Merge branch 'bugfix/wp_sdcard_polarity_support' into 'master'
Added support for write protection polarity for SDCard

Closes IDFGH-9892

See merge request espressif/esp-idf!24262
2023-06-29 14:59:22 +08:00
sonika.rathi
b8c3a3aeee Added support for write protection polarity for SDCard
Closes https://github.com/espressif/esp-idf/issues/11208
2023-06-28 13:20:36 +02:00
Chen Ji Chang
01d70a8ff7 Merge branch 'feature/use_esp_rom_delay_us_to_test_the_accuracy_of_gptimer' into 'master'
gptimer: replace vTaskDelay with esp_rom_delay_us in test_apps

Closes IDF-7308

See merge request espressif/esp-idf!24419
2023-06-28 16:15:31 +08:00
Chen Jichang
001a16ea6e refactor(driver/gptimer): replace vTaskDelay
with esp_rom_delay_us in test_apps

This commit replaces vTaskDelay with esp_rom_delay_us in the gptimer
driver. The former function can introduce millisecond jitter due to
OS task switching, while the latter has less jitter because of the
polling delay. Therefore this commit reduces the delta values for
various timer tests.

Changes made in this commit include:
- Replacing vTaskDelay with esp_rom_delay_us
- Adjusting delta values for various timer tests
2023-06-28 11:50:26 +08:00
Lou Tianhao
7fd74057a3 example: bringup light sleep example for esp32h2 2023-06-26 21:05:16 +08:00
Nebojsa Cvetkovic
9956bfac3e twai: twai_driver_install() returns error on interrupt allocation failure
This commit updates twai_driver_install() so that an error is returned when
esp_intr_alloc() fails, instead of aborting.

Closes https://github.com/espressif/esp-idf/pull/11494

[darian@espressif.com: Refactored object allocation and free procedures]
[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2023-06-25 18:32:41 +08:00
laokaiyao
1b22591ea7 i2s: fixed i2s_ll compiling failure under C++ evironment
Closes: https://github.com/espressif/esp-idf/issues/11625
2023-06-23 11:41:43 +08:00
Song Ruo Jing
921713fff4 uart: Support LP_UART port with UART driver on esp32c6 2023-06-16 07:31:40 +00:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
morris
2a760522fa Merge branch 'feature/add_option_to_put_LEDC_into_IRAM' into 'master'
ledc:add option to put LEDC function into IRAM

Closes IDFGH-10293

See merge request espressif/esp-idf!24207
2023-06-15 13:36:06 +08:00
Chen Jichang
5150c578fd ledc:add option to put LEDC function into IRAM
The caches are disabled when reading/writing/erasing flash.
All CPUs should always execute code and access data from internal RAM.
Add an IRAM option to enhance the performance of LEDC.

Closes https://github.com/espressif/esp-idf/issues/11554
2023-06-14 18:12:01 +08:00
Armando (Dou Yiwen)
17a5d16256 Merge branch 'bugfix/fix_legacy_adc_continuous_driver_dma_descriptor_not_internal_issue' into 'master'
adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue

See merge request espressif/esp-idf!24213
2023-06-14 15:24:03 +08:00
morris
ba9de259e1 Merge branch 'bugfix/mcpwm_legacy_typo' into 'master'
mcpwm: fix typo in backward compatible macro name

See merge request espressif/esp-idf!24180
2023-06-14 11:37:48 +08:00
Armando
9c71c9ae74 adc: fixed legacy adc continuous driver dma descriptor not in internal ram issue 2023-06-13 18:56:26 +08:00
morris
f38945ea18 Merge branch 'feature/trim_the_build_of_test_apps_of_esp_adc' into 'master'
Trim the build components

Closes IDF-7459

See merge request espressif/esp-idf!24143
2023-06-13 17:36:09 +08:00
Chen Jichang
6c9cf5c352 driver:Trim the build components
Trim the build components to decrease the load of Gitlab server.
2023-06-13 14:24:44 +08:00
morris
c0b43be3bb mcpwm: fix typo in backward compatible macro name 2023-06-13 03:28:02 +00:00
morris
4865a07e3b adc: fix out of bound read
when SOC_ADC_PERIPH_NUM==1, the adc_unit should only be assigned with 0
2023-06-10 16:21:12 +08:00
morris
88600bd91b driver: minor code clean up to pass coverity scan test 2023-06-10 16:21:12 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Armando
97c30c7da6 adc: port gh pr to current adc continuous mode driver
DMA EOF may happens per multiple dma descriptors, instead of only one.

Closes https://github.com/espressif/esp-idf/pull/11500
2023-06-05 14:25:53 +08:00
Niklas Gürtler
2a8b9fb636 Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
Signed-off-by: Armando <douyiwen@espressif.com>
2023-06-05 12:24:14 +08:00
morris
9f4a296274 Merge branch 'bugfix/spi_master_assert_failure' into 'master'
spi_master: fix the assertion on a NULL desired_dev

Closes IDFGH-10273

See merge request espressif/esp-idf!23974
2023-05-31 17:46:04 +08:00
morris
c5f195c400 spi_master: fix the assertion on a NULL desired_dev
Closes https://github.com/espressif/esp-idf/issues/11536
2023-05-30 10:53:32 +00:00
morris
1703a0a5e9 doc: explain why RMT encoder may result in more data transmitting
Closes https://github.com/espressif/esp-idf/issues/11468
2023-05-26 13:37:11 +08:00
laokaiyao
ffb40a89d9 adc_cali: supported channel compensation of adc calibration on esp32c6 2023-05-23 22:44:25 +08:00
Wang Fang
b4a9078f98 docs: update the description for check_speed_hz 2023-05-23 11:44:47 +08:00
Armando (Dou Yiwen)
a938fe0beb Merge branch 'bugfix/fix_adc_continuous_driver_conv_frame_issue' into 'master'
adc: fixed adc continuous driver conv frame issue

Closes IDFGH-10109

See merge request espressif/esp-idf!23772
2023-05-22 14:44:28 +08:00
Armando
73791ff4e0 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
Closes https://github.com/espressif/esp-idf/issues/11385
2023-05-22 10:55:28 +08:00
Sudeep Mohanty
efe919275e Merge branch 'feature/add_support_for_lp_i2c' into 'master'
lp-i2c: Added support for LP I2C peripheral to LP core

Closes IDF-6833

See merge request espressif/esp-idf!22846
2023-05-19 23:35:11 +08:00
Adam Múdry
e5d0e3c676 Merge branch 'bugfix/sdmmc_driver_vtaskdelay_slowdown' into 'master'
sdmmc: incrementally increase delay of vTaskDelay

Closes IDF-7361

See merge request espressif/esp-idf!23765
2023-05-19 18:22:51 +08:00
Sudeep Mohanty
ec742abb25 lp-i2c: Added support for LP I2C peripheral to LP core
This commit adds support for the LP I2C peripheral driver to be used by
the LP core. An example is also added to demonstrate the usage of the LP
I2C peripheral from the LP core.
2023-05-19 07:27:51 +02:00
Cao Sen Miao
faa10947a8 temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-05-18 15:00:36 +08:00
Adam Múdry
f13c9f746f sdmmc: incrementally increase delay of vTaskDelay
Prevents unnecessary slowdown in polling functions
2023-05-18 05:33:25 +02:00
C.S.M
50b4d5c6be Merge branch 'ci/move_timer_into_unity' into 'master'
spi_flash: migrate spi_flash UT to pytest component test app

Closes IDF-6730

See merge request espressif/esp-idf!19709
2023-05-16 14:09:25 +08:00
Martin Vychodil
61e694d2f3 Merge branch 'fix/cd_input_sd_mode_fails' into 'master'
CI: sdcard tests fail fix

Closes IDFCI-1700

See merge request espressif/esp-idf!23505
2023-05-15 17:37:29 +08:00
Cao Sen Miao
0f83970368 ci: Delete ccomp_timer in IDF(witch has been moved to component manager) 2023-05-15 14:58:51 +08:00
Armando (Dou Yiwen)
ca2624e0eb Merge branch 'feature/sdmmc_host_timing_tuning' into 'master'
sdmmc: supported host timing tuning on esp32s3

Closes IDF-7240 and IDF-7250

See merge request espressif/esp-idf!23257
2023-05-12 18:00:41 +08:00
Armando
01a3d79b6f sdmmc: support tuning input delay on esp32s3 2023-05-11 12:25:22 +00:00
Armando
e7fcfa43e9 sdmmc: use clk_tree api inside 2023-05-11 12:25:22 +00:00
Adam Múdry
fa16ed3898 CI: sdcard tests fail fix 2023-05-10 16:48:03 +02:00
morris
5680d28b0e mcpwm: fix bldc example force output level inverted
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
Kevin (Lao Kaiyao)
9ee4c48f54 Merge branch 'bugfix/fix_several_bugs_in_i2s' into 'master'
i2s: fix several bugs in std and tdm mode

Closes IDF-7288

See merge request espressif/esp-idf!23465
2023-05-10 11:39:51 +08:00
laokaiyao
563b223ab7 i2s_std: enable left alignment as default 2023-05-09 17:53:53 +08:00
laokaiyao
bebcaad35f i2s_tdm: add check for slot mask 2023-05-09 17:53:53 +08:00
laokaiyao
382059699e i2s_std: fixed mclk check for 24-bit data 2023-05-09 17:51:33 +08:00
morris
72d0f5b35b mcpwm: can't apply the same delay module to multiple generators
This is a hardware limitation, one delay module can only be used by one generator at one time.

Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-09 16:41:47 +08:00
Kevin (Lao Kaiyao)
e9e5f1b90f Merge branch 'feature/add_default_config_for_i2s_pdm_dac_mode' into 'master'
i2s: public bclk_div and add a default config for PDM TX DAC

Closes IDF-7289

See merge request espressif/esp-idf!23466
2023-05-08 12:36:05 +08:00
Michael (XIAO Xufeng)
4e24516ee2 Merge branch 'feat/i2s_ng_stailq' into 'master'
driver: use STAILQ_NEXT instead empty to improve readability

See merge request espressif/esp-idf!23528
2023-05-06 22:30:23 +08:00
laokaiyao
bf8419fd6e i2s: public bclk_div and add a default config for PDM TX DAC 2023-05-06 14:19:48 +08:00
morris
eaa4ad502a Merge branch 'bugfix/check_filter_range' into 'master'
rmt: check filter and idle threashold

Closes IDFGH-9977

See merge request espressif/esp-idf!23518
2023-05-05 17:19:45 +08:00
Armando (Dou Yiwen)
313f8cdbb7 Merge branch 'bugfix/add_len_check_per_spi_master_transaction' into 'master'
spi master: added transaction length check to refuse longer than hardware supported length

Closes IDF-7236

See merge request espressif/esp-idf!23199
2023-05-05 16:25:05 +08:00
Xiao Xufeng
b24ce390c0 dac: use STQILA instead empty to improve readability 2023-05-05 01:18:49 +08:00
morris
6f749ae038 Merge branch 'test/enlarge_gptimer_test_threshold' into 'master'
gptimer: enlarge test threshold

Closes IDFCI-1702

See merge request espressif/esp-idf!23511
2023-05-04 18:40:22 +08:00
Armando
0e72940001 spi: added an API to get max transaction length and use in spi lcd driver 2023-05-04 11:37:23 +08:00
Armando
ea10aac4f0 spi: added transaction length check to refuse longer than hardware supported length 2023-05-04 11:37:23 +08:00
morris
9ae742eb85 rmt: check filter and idle threashold
Closes https://github.com/espressif/esp-idf/issues/11262
2023-04-29 06:51:35 +00:00
Darian
1a5249d7e7 Merge branch 'bugfix/ana_cmpr_negative_enum' into 'master'
driver: Fix ana_cmpr negative enum comparison and bad test

See merge request espressif/esp-idf!23508
2023-04-28 20:05:53 +08:00
Xiao Xufeng
7dd054fe6b i2s: use STAILQ_NEXT instead empty to improve readability 2023-04-28 18:49:10 +08:00
Darian Leung
03ce2fbaf0 driver: Fix ana_cmpr negative enum comparison
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.

This commit fixes the following issues with ana_cmpr:

- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-04-28 14:52:50 +08:00
morris
36c134bdc3 gptimer: enlarge test threshold 2023-04-28 11:43:50 +08:00
morris
af2085b789 rmt_onewire: refactor example with component manager
Closes https://github.com/espressif/esp-idf/issues/10790
2023-04-27 15:02:55 +08:00
Song Ruo Jing
e2a5c092f7 Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx

See merge request espressif/esp-idf!23362
2023-04-25 19:41:39 +08:00
Song Ruo Jing
a4e8960ab4 esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h 2023-04-25 14:12:06 +08:00
C.S.M
7d9d27a060 Merge branch 'refactor/driver_ut_to_test_app' into 'master'
CI: Move all UT in driver to test_app

See merge request espressif/esp-idf!23343
2023-04-25 14:10:11 +08:00
Cao Sen Miao
8882ba2ba1 CI: Move all UT in driver to test_app 2023-04-25 10:40:32 +08:00
Kevin (Lao Kaiyao)
6b5077f2d7 Merge branch 'refactor/remove_esp32h4_target' into 'master'
esp32h4: removed esp32h4 target (stage 2)

Closes IDF-7237, IDF-7238, and IDF-7239

See merge request espressif/esp-idf!23179
2023-04-24 23:34:19 +08:00
Wan Lei
06a40598bf Merge branch 'feature/spi_hal_move_out_iram' into 'master'
spi: change linker file to move spi hal out from iram

Closes IDF-7163

See merge request espressif/esp-idf!23036
2023-04-24 10:15:10 +08:00
laokaiyao
49f16eefbb esp32h4: checked all the corner stuffs of the removal 2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
Song Ruo Jing
6700630ccb Merge branch 'refactor/ledc_driver_refactor' into 'master'
ledc: Improvement made on the LEDC driver

See merge request espressif/esp-idf!22971
2023-04-23 16:43:52 +08:00
Hanno
8f1cf01ec8 i2c: introduce chip specific cmd register number
Merges https://github.com/espressif/esp-idf/pull/10811
2023-04-21 19:22:53 +08:00
wanlei
15e8c04f7b spi: change linker file let spi hal able to out from iram 2023-04-21 18:58:36 +08:00
wanlei
b519eed230 spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency 2023-04-21 18:57:06 +08:00
Song Ruo Jing
fcc6514dde ledc: Add an all-in-one HAL function to set fade parameters, and refactor ledc_ll_get_max_duty function 2023-04-21 16:40:54 +08:00
Song Ruo Jing
64aec54308 ledc: Add timer selection check to the driver, and leave space for future clk tree management 2023-04-21 16:40:54 +08:00
laokaiyao
b7053b46ef esp32h4: remove esp32h4 target from peripherals 2023-04-20 15:19:45 +08:00
Song Ruo Jing
9cfc9757b9 Merge branch 'bugfix/allow_no_specify_uart_clk_src' into 'master'
uart: Allow omitting source_clk parameter to uart_param_config

Closes IDF-6951

See merge request espressif/esp-idf!23208
2023-04-18 11:34:11 +08:00
morris
90c2786803 Merge branch 'bugfix/rmt_encode_state_init' into 'master'
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t

Closes IDFGH-9881 and IDFGH-9882

See merge request espressif/esp-idf!23222
2023-04-17 21:22:20 +08:00
Kevin (Lao Kaiyao)
96f2d215a2 Merge branch 'bugfix/i2s_output_wrong_freq_after_switch' into 'master'
i2s: workaround for inaccurate PLL frequency after switching

Closes IDF-6705 and IDFCI-1669

See merge request espressif/esp-idf!22975
2023-04-17 16:26:18 +08:00
Song Ruo Jing
3f2bed1f5c uart: Allow the users to not specify the source_clk in uart_config_t when calling uart_param_config 2023-04-17 15:43:06 +08:00
Wan Lei
029b56dc1c Merge branch 'ci/pytest_case_tester_script_fix' into 'master'
ci: pytest automation script increase timeout time

See merge request espressif/esp-idf!23201
2023-04-17 15:03:23 +08:00
morris
b19a3e3e56 rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 14:50:51 +08:00
Armando (Dou Yiwen)
ef64e4e5b3 Merge branch 'feature/emmc_example' into 'master'
SDMMC Host: added an example to communicate with an eMMC chip

Closes IDF-7157, IDF-4739, and IDFGH-6901

See merge request espressif/esp-idf!21760
2023-04-17 11:53:55 +08:00
laokaiyao
a143a85822 i2s: workaround for inacurate PLL frequency after switching 2023-04-17 03:15:55 +00:00
wanlei
ad1ba78129 sdio: test_sdio add unity sync signals 2023-04-17 10:51:46 +08:00
Armando
920ecff168 sdmmc: in/out phase adapted to esp32 and esp32s3 2023-04-14 18:18:54 +08:00
Ivan Grokhotkov
e9badf51c7 sdmmc: I/O phase adjustments
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
   with the TRM.
2. Choose input and output phases to satisfy typical timing
   requirements.
3. Move use_hold_reg setting into the host driver, since it is related
   to timing.

Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-14 18:18:54 +08:00
Kevin (Lao Kaiyao)
d635fc0f32 Merge branch 'bugfix/i2s_tdm_multi_dev_on_h2' into 'master'
i2s: fixed tdm multi dev test on h2

See merge request espressif/esp-idf!23054
2023-04-14 15:02:31 +08:00
Guillaume Souchere
48932ce910 Merge branch 'feature/heap-in-flash' into 'master'
heap: Add a configuration that places all the heap component in flash

Closes IDF-7143 and IDF-2853

See merge request espressif/esp-idf!23050
2023-04-13 14:38:15 +08:00
Guillaume Souchere
110aac240d heap: Add a configuration that places all the heap component and related functionalities in flash when enabled
Add test configuration to run all tests with heap component in the flash.
Add reference to this new configuration in performance section of the documentation.
2023-04-12 08:11:24 +02:00
Adam Múdry
381d0fe032 sdmmc: add vTaskDelay to loops to prevent potential WDT trigger
Also change timeout to 120 seconds in fatfs sdcard pytest to prevent failing during formatting.
2023-04-11 11:06:56 +00:00
Chip Weinberger
74d6215b7f [SDMMC] add reasonable timeouts to all while loops
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Chip Weinberger
a2aa9e3bef [SDMMC Mount] fix infinite loop when SD card is not responsive
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Michael (XIAO Xufeng)
bbcc52a620 Merge branch 'docs/sdio_slave_sending_seqdiag' into 'master'
sdio_slave: add some documentation about impl in the source code

See merge request espressif/esp-idf!17572
2023-04-11 10:25:34 +08:00
laokaiyao
efff406950 i2s: fixed tdm multi dev test on h2 2023-04-11 01:48:05 +00:00
Michael (XIAO Xufeng)
84fded4b08 sdio_slave: add some documentation about impl in the source code 2023-04-10 15:03:16 +08:00
laokaiyao
3e294f7ede i2s: fixed the test case I2S_thread_concurrent_safety_test 2023-04-07 14:29:21 +08:00
laokaiyao
f69b30d6ff i2s: fix interrupt flag of pdm rx mode
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-04-07 14:29:21 +08:00
Song Ruo Jing
5070e51dde ledc: Fix two bugs inside LEDC driver
1. Regression introduced when refactoring on clock sources selection (0d07f859).
   If channel configuration is called before timer configuration on C6, PWM signal may not be able to output.
2. Missing the improper fade parameter fix inside ledc_set_duty_and_update() function.
2023-04-06 12:37:33 +08:00
Zhang Xiao Yan
5d70620956 Merge branch 'docs/update_brief_of_uart_set_wakeup_threshold' into 'master'
update brief of uart_set_wakeup_threshold

See merge request espressif/esp-idf!22886
2023-03-31 17:28:16 +08:00
Linda
cafd3ab4c1 update brief of uart_set_wakeup_threshold 2023-03-31 10:58:02 +08:00
morris
5d1a272b1c rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode 2023-03-30 11:09:13 +08:00
morris
d82981c437 rmt: use gpio_num_t to define gpio number 2023-03-30 10:30:27 +08:00
Zim Kalinowski
e86864c621 Merge branch 'feature/unify_core_host_target_tests' into 'master'
ci: unify core host target tests

Closes IDF-6621, IDF-6622, IDF-6623, and IDF-6624

See merge request espressif/esp-idf!22944
2023-03-29 15:41:01 +08:00
Kevin (Lao Kaiyao)
7c5d65b82b Merge branch 'contrib/github_pr_10997' into 'master'
i2s: intrerrupt fix (GitHub PR)

Closes IDFGH-9650 and IDFGH-9654

See merge request espressif/esp-idf!22945
2023-03-28 18:35:01 +08:00
Marius Vikhammer
f627506f6b ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
dizcza
b44c89db9e i2s interrupt fix
Merges: https://github.com/espressif/esp-idf/pull/10997
2023-03-28 14:34:31 +08:00
Ivan Grokhotkov
7524f40b21
sdmmc: keep clock enabled for the duration of ACMD41
SD specification requires that card clock is not disabled until the
card is idle, following ACMD41 command.
2023-03-27 14:09:02 +02:00
wanlei
45d745f853 spi_slave: add multi board test case for spi slave hd append mode 2023-03-21 11:30:17 +08:00
wanlei
66ca403bc6 spi_slave: support spi slave hd append mode on chips other than s2 2023-03-21 11:30:17 +08:00
Kevin (Lao Kaiyao)
d659991bbb Merge branch 'feature/gpio_runtime_preserve' into 'master'
gpio: support runtime reserve

Closes IDF-6731

See merge request espressif/esp-idf!22223
2023-03-18 10:55:44 +08:00
laokaiyao
53584bb5a7 ana_cmpr: add programming guide 2023-03-17 14:35:55 +08:00
laokaiyao
c9f780dc2e gpio: support runtime preserve 2023-03-17 11:59:49 +08:00
laokaiyao
24361f232d ana_cmpr: add an example and test cases 2023-03-17 11:38:32 +08:00
laokaiyao
c634144ac8 ana_cmpr: designed driver layer 2023-03-17 11:38:32 +08:00
morris
11cdbf2da0 driver: added analog comparator driver 2023-03-17 11:38:32 +08:00
Marius Vikhammer
75591a8a13 Merge branch 'ci/driver_single_board' into 'master'
ci: update test apps to use run_all_single_board_cases

See merge request espressif/esp-idf!22669
2023-03-13 09:25:42 +08:00
Song Ruo Jing
3ec287eaa5 Merge branch 'feature/ledc_gamma_curve_support' into 'master'
ledc: Support gamma curve fade feature

Closes IDF-5811 and IDF-6236

See merge request espressif/esp-idf!22486
2023-03-12 07:54:08 +08:00