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
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