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
morris
2d52334e5d
gptimer: fix race condition between start and stop
...
Added state transition in gptimer_start/stop functions.
So that it's not possible to make a stopped timer continue to run
because of race condition.
2023-03-10 23:27:29 +08:00
Marius Vikhammer
0be8e03907
ci: update test apps to use run_all_single_board_cases
2023-03-10 14:27:09 +08:00
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
Song Ruo Jing
5c5cfbc7c7
gpio: Re-enable gpio usb pins test cases on esp32h2
2023-03-09 17:21:43 +08:00
Gustavo Henrique Nihei
3cbac3dd1d
esp_system: Ensure TIMG0 clock is always enabled during normal operation
...
If the TimerGroup 0 clock is disabled and then reenabled, the watchdog
registers (Flashboot protection included) will be re-enabled, and some
seconds later, will trigger an unintended reset.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2023-03-06 04:58:11 +00:00
morris
117279ebe1
Merge branch 'test/gptimer_late_alarm' into 'master'
...
gptimer: test late alarm
Closes IDFGH-9522
See merge request espressif/esp-idf!22572
2023-03-06 12:22:22 +08:00
laokaiyao
40f1709a1f
Revert "i2s: guarantee safety of memcpy from being interrupted by uart logging"
...
This reverts commit 646fd5e15a
.
2023-03-05 14:10:12 +00:00
laokaiyao
754aa7d128
sdm: adopt clock tree
2023-03-05 14:10:12 +00:00
morris
004c1713b6
gptimer: test late alarm
...
Closes https://github.com/espressif/esp-idf/issues/10877
2023-03-05 13:59:23 +00:00
Wu Zheng Hui
2066977b48
Merge branch 'feature/bringup_esp32c6_deepsleep_support_master' into 'master'
...
esp32c6: bringup deepsleep examples
Closes IDF-6051, IDF-6052, IDF-5349, IDF-5924, and WIFI-5352
See merge request espressif/esp-idf!22300
2023-03-03 23:53:10 +08:00
C.S.M
679dae70cd
Merge branch 'feature/temperature_intr' into 'master'
...
temperature sensor: Add high/low value threshold interrupt support
Closes IDF-5786
See merge request espressif/esp-idf!22331
2023-03-03 15:31:23 +08:00
Wan Lei
40ca80397c
Merge branch 'test/add_spi_slave_freq_test' into 'master'
...
spi: add spi multiple config test
Closes IDF-5882
See merge request espressif/esp-idf!20125
2023-03-03 12:54:32 +08:00
Cao Sen Miao
840ff4f865
temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6
2023-03-03 10:38:40 +08:00
Song Ruo Jing
51777a6862
gpio: Fix io hold functionality on esp32c6 and esp32h2
2023-03-02 18:10:10 +08:00
wuzhenghui
9eae151f7c
esp32c6: bringup deepsleep examples
2023-03-02 15:06:05 +08:00
Song Ruo Jing
0558d40c81
Merge branch 'contrib/github_pr_10856' into 'master'
...
Correct typo in referenced function name (GitHub PR)
Closes IDFGH-9496
See merge request espressif/esp-idf!22537
2023-03-01 18:39:11 +08:00
morris
14555a19db
Merge branch 'feature/parlio_driver' into 'master'
...
Parallel IO TX driver && LED Matrix example
Closes IDF-6607
See merge request espressif/esp-idf!22163
2023-03-01 17:08:16 +08:00
Bradley McFadden
6a21403cba
uart: Correct typo in referenced function name
...
The functions `uart_enable_pattern_det_intr` have been renamed to `uart_enable_pattern_det_baud_intr`, but a reference to these functions in the programming guide was not updated.
Merges https://github.com/espressif/esp-idf/pull/10856
2023-03-01 12:19:07 +08:00
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00:00
morris
d9f82baca7
driver: fix typo "destroy"
2023-03-01 00:43:14 +00:00
Song Ruo Jing
eab8abd877
ledc: Fix improper fade parameters for one-time duty set
...
Valid step and cycle values starts from 1.
scale = 0 indicates no change in duty for this linear fade.
2023-02-28 20:13:52 +08:00
Wan Lei
c2d090d174
Merge branch 'test/h2_mcpwm_fix_legacy_test' into 'master'
...
mcpwm: fix h2 mcpwm legacy test
Closes IDF-6812
See merge request espressif/esp-idf!22510
2023-02-28 16:42:17 +08:00
wanlei
08ecf47dd4
mcpwm: fix h2 mcpwm legacy test
2023-02-28 11:31:15 +08:00
wanlei
e5810924f2
spi: formate test_spi_param.c
2023-02-27 15:40:24 +08:00
Song Ruo Jing
1a66459b44
usb_serial_jtag: Improve the code for the issue of usb cdc device unable to work during sleep
...
1. Remove RTC_CLOCK_BBPLL_POWER_ON_WITH_USB Kconfig option
During sleep, BBPLL clock always gets disabled
esp_restart does not disable BBPLL clock, so that first stage bootloader log can be printed
2. Add a new Kconfig option PM_NO_AUTO_LS_ON_USJ_CONNECTED
When this option is selected, IDF will constantly monitor USB CDC port connection status.
As long as it gets connected to a HOST, automatic light-sleep will not happen.
Closes https://github.com/espressif/esp-idf/issues/8507
2023-02-27 12:10:49 +08:00
wanlei
d8ac58b4d4
spi: add high freq test on different spi config
2023-02-27 11:27:57 +08:00
wanlei
cdd610cadc
spi_slave: fix io re-config issue
2023-02-27 11:27:57 +08:00
morris
8538f16361
Merge branch 'bugfix/gpio_glitch_filter_test' into 'master'
...
driver: improve gpio glitch filter test
Closes IDFCI-1621 and IDFCI-1622
See merge request espressif/esp-idf!22477
2023-02-24 18:13:41 +08:00
Darian
57b6be22a7
Merge branch 'bugfix/twai_listen_only_errata' into 'master'
...
TWAI: Add errata workaround for listen only mode
Closes IDFGH-7602
See merge request espressif/esp-idf!22479
2023-02-24 16:12:05 +08:00
Kevin (Lao Kaiyao)
5dc7cd6c54
Merge branch 'bugfix/fix_i2s_pcnt_target_test_on_h2' into 'master'
...
Test: Fixed target test of I2S and PCNT on H2
Closes IDF-6811, IDF-6814, IDFCI-1623, and IDFCI-1627
See merge request espressif/esp-idf!22478
2023-02-24 16:03:48 +08:00
Wan Lei
cf146d4b31
Merge branch 'bugfix/fix_spi_master_iram_safe_env' into 'master'
...
spi_master: fix whole master driver iram safe enviroenment
Closes IDF-6848
See merge request espressif/esp-idf!22401
2023-02-24 14:54:03 +08:00
Armando (Dou Yiwen)
4452a3cf3e
Merge branch 'feature/support_h2_adc' into 'master'
...
adc: support adc h2
Closes IDF-6124, IDF-6214, IDF-6543, IDF-6215, IDF-6664, and IDF-6695
See merge request espressif/esp-idf!22205
2023-02-24 14:28:33 +08:00
morris
fdac2589bb
driver: improve gpio glitch filter test
...
on esp32c6 and esp32h2, CPU frequency is 2x of IO MUX clock source.
There is a possiblity for a too short glitch pulse can't trigger GPIO
interrupt.
2023-02-24 11:05:59 +08:00
wanlei
f11c44e55b
spi_master: fix master driver iram safe enviroenment
2023-02-24 10:46:06 +08:00
wanlei
aff223276f
spi_slave: fix issue iram flag bind with iram config
...
bus flag`ESP_INTR_FLAG_IRAM` bind with `CONFIG_SPI_SLAVE_ISR_IN_IRAM`
2023-02-24 10:38:44 +08:00
C.S.M
b184b9a153
Merge branch 'bugfix/usb_serial_driver_block' into 'master'
...
usb_serial_jtag: Fix bug of blocking TX xfer when using driver
Closes IDF-5390 and IDFGH-8776
See merge request espressif/esp-idf!22412
2023-02-24 10:22:08 +08:00
Cao Sen Miao
720b8d9c1a
usb_serial_jtag: Fix bug of blocking TX xfer when using driver,
...
Merges https://github.com/espressif/esp-idf/pull/10208
2023-02-23 17:45:39 +08:00
laokaiyao
646fd5e15a
i2s: guarantee safety of memcpy from being interrupted by uart logging
2023-02-23 15:11:13 +08:00
laokaiyao
71905d9cbf
i2s_test: fix unsupported sample rate on h2
2023-02-23 15:11:13 +08:00
laokaiyao
53658e56d6
pcnt_test: fix the error pin on h2
2023-02-23 15:11:13 +08:00
Darian Leung
72becf31e4
twai: Add errata workaround for listen only mode
...
This commit adds a workaround for the TWAI listen only mode errata which is
present on the ESP32, ESP32-S2, ESP32-S3, and ESP32-C3. twai_get_status_info()
has also been updated to account for the fact that TEC/REC are frozen in
listen only mode.
Errata Description:
When the TWAI controller is put into listen only mode, it should not influence
the TWAI bus in any way (i.e., should never send a dominant bit). However,
on the targets listed above, the TWAI controller will send dominant bits in an
error frame (i.e., active error frame), even if the controller is set to listen
only mode.
Workaround:
We can force the TWAI controller into the error passive state on startup (by
setting the REC to >= 128). Since the TEC/REC are frozen in listen only mode,
the TWAI controller will remain error passive and only send recessive bits
(i.e., passive error frames), thus will not influence the TWAI bus.
Closes https://github.com/espressif/esp-idf/issues/9157
2023-02-23 12:50:06 +08:00
Armando
486c765a93
adc: remove adc_hal_conf.h
...
Macros inside adc_hal_conf.h are moved to adc_ll.h
2023-02-23 11:48:31 +08:00
Armando
5653018cd1
esp_adc: support selecting clock source for oneshot driver
2023-02-23 11:48:31 +08:00
Armando
d0e4d36fb6
esp_adc: support h2 oneshot mode and continuous mode
2023-02-23 11:48:31 +08:00
Chip Weinberger
c39be8bc76
[USB Serial/JTAG Driver] use time-limited blocking for TX
2023-02-22 14:28:08 +08:00
laokaiyao
26f5441e0e
i2s: support bytes_read / bytes_written to be NULL
2023-02-22 02:44:53 +00:00
laokaiyao
7397b3f750
i2s: support preload data
...
Closes https://github.com/espressif/esp-idf/issues/8471
2023-02-22 02:44:53 +00:00
Wan Lei
66cda021d0
Merge branch 'feature/h2_gpio_hysteresis_support' into 'master'
...
gpio: h2 support input hysteresis filter
Closes IDF-6653
See merge request espressif/esp-idf!22263
2023-02-21 17:27:56 +08:00
Song Ruo Jing
987fd3208a
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32h2
Closes IDF-6265 and IDF-5973
See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Wan Lei
cf5387fc76
Merge branch 'feature/h2_twai_support' into 'master'
...
twai: h2 support twai driver
Closes IDF-6217 and IDF-6673
See merge request espressif/esp-idf!22174
2023-02-21 11:43:51 +08:00
wanlei
c9bcec9212
gpio: h2 support input hysteresis filter
2023-02-20 19:34:48 +08:00
Song Ruo Jing
2c2a62e323
clk_tree: Add basic clock support for esp32h2
...
- 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 for esp32h2
2023-02-20 17:15:02 +08:00
morris
10d0cc6e16
Merge branch 'bugfix/rmt_buffer_allocation' into 'master'
...
legacy rmt driver: fix wrong buffer allocation
See merge request espressif/esp-idf!22367
2023-02-20 15:02:13 +08:00
Omar Chebib
5e5343d429
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-02-17 11:22:25 +08:00
wanlei
fdeeced62c
twai: h2 support twai driver
2023-02-16 16:34:23 +08:00
morris
195f6b99ad
rmt: expose private API to get channel ID
...
Closes https://github.com/espressif/esp-idf/issues/10596
2023-02-16 11:37:25 +08:00
Armando (Dou Yiwen)
76989b504a
Merge branch 'refactor/move_isr_core_id_enum_to_g1' into 'master'
...
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
See merge request espressif/esp-idf!22182
2023-02-16 11:02:56 +08:00
Armando
b96c370ab8
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components
2023-02-15 19:52:06 +08:00
Wan Lei
814df0ea28
Merge branch 'bugfix/fix_h4_spi_file_missing' into 'master'
...
spi: fix spi support on h4 after diver/cmakelist refactored
See merge request espressif/esp-idf!22358
2023-02-15 18:41:49 +08:00
C.S.M
8ba96ab873
Merge branch 'feature/esp32h2_target_test' into 'master'
...
esp32h2(ci): ESP32H2 enable target stage test
See merge request espressif/esp-idf!22084
2023-02-15 12:34:13 +08:00
C.S.M
a2ed523f97
Merge branch 'bugfix/mcpwm_config_name' into 'master'
...
mcpwm: modify wrong config name
See merge request espressif/esp-idf!22348
2023-02-15 12:21:48 +08:00
wanlei
217e36bec0
spi: fix spi support on h4 after diver/cmakelist refactored
2023-02-15 12:12:22 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
morris
0a25c48d89
rmt: fix rmt buffer allocation issue
2023-02-14 14:05:12 +08:00
morris
e0c98da169
Merge branch 'feature/glitch_filter_h2' into 'master'
...
gpio: support glitch filter on esp32h2
Closes IDF-6286
See merge request espressif/esp-idf!22273
2023-02-14 13:07:44 +08:00
Cao Sen Miao
8cc6a535b2
mcpwm: modify wrong config name
2023-02-14 11:12:08 +08:00
C.S.M
9092b93966
Merge branch 'feature/temp_sensor_esp32h2' into 'master'
...
temperature_sensor: Add support for esp32h2
Closes IDF-6229
See merge request espressif/esp-idf!22291
2023-02-13 10:24:31 +08:00
morris
a3f887a1fe
gpio: support glitch filter on esp32h2
2023-02-11 23:01:01 +08:00
jingli
28c7620cba
sleep: fix gpio wakeup not working properly in some cases
...
Before this fix, when we call esp_pm_configure after gpio_wakeup_enable,
the configuration of GPIO in sleep state in gpio_wakeup_enable will be
overwritten by esp_pm_configure.
2023-02-11 01:06:18 +00:00
jingli
557a1ed1a5
soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH
...
all esp chips support this feature
2023-02-11 01:06:18 +00:00
morris
1626766abf
rmt: simplify rmt source clock configure with clk_tree API
...
Also decrease the payload size for testing the multi-channel behaviour.
2023-02-10 18:24:27 +08:00
Cao Sen Miao
bbbe569e03
temperature_sensor: Add support for esp32h2
2023-02-10 16:36:56 +08:00
Wan Lei
005e4c7e0b
Merge branch 'feature/spi_h2_support' into 'master'
...
SPI: Support master, slave, slave_hd driver for H2
Closes IDF-6245, IDF-6246, IDF-6247, and IDF-6696
See merge request espressif/esp-idf!22048
2023-02-09 11:04:46 +08:00
Song Ruo Jing
1addacb93d
Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency' into 'master'
...
uart: Fix TX side concurrency issues
Closes IDF-6201 and IDF-6086
See merge request espressif/esp-idf!21604
2023-02-09 10:58:17 +08:00
morris
044a114e66
gptimer: unify clock setting with clk_tree API
2023-02-08 16:30:47 +08:00
Song Ruo Jing
b69f983525
uart: Fix two TX concurrency issues
...
1. Concurrency might cause ESP_ERR_TIMEOUT when calling uart_wait_tx_done
2. Concurrency might cause RTS line being de-assreted during tx transmission for rs485 mode
2023-02-08 14:24:43 +08:00
wanlei
5300bd3b2f
spi: support H2 spi master, slave, slave_hd driver
2023-02-08 11:38:45 +08:00
Armando
d233f3535d
flash_mmap: migrate to use esp_mmap driver
2023-02-07 20:23:52 +08:00
Armando
d6844051fc
esp_mm: new virtual memory mapping apis via mmu
2023-02-07 20:23:52 +08:00
Kevin (Lao Kaiyao)
421e5e6416
Merge branch 'refactor/pack_driver_source_files' into 'master'
...
components/driver: pack peripherals
See merge request espressif/esp-idf!22173
2023-02-07 10:20:57 +08:00
wanlei
6ec9802eb7
spi_master: fix clock source RC_FAST usage
2023-02-06 12:41:17 +08:00
Song Ruo Jing
b72d759290
uart: Add support for esp32h2
2023-02-06 00:48:04 +08:00
morris
15b9352f60
mcpwm: support esp32h2
2023-02-02 19:05:31 +08:00
laokaiyao
f27cd67c00
driver: pack peripherals
2023-02-02 18:19:58 +08:00
Kevin (Lao Kaiyao)
6cef87fea3
Merge branch 'feature/support_i2c_on_h2' into 'master'
...
i2c: support i2c on esp32h2
Closes IDF-6233 and IDF-6689
See merge request espressif/esp-idf!21982
2023-02-02 15:18:37 +08:00
Jiang Guang Ming
851c10aded
Merge branch 'bugfix/fix_typo_naming_of_flash_multi' into 'master'
...
ci: fix typos tag naming of all flash_multi
See merge request espressif/esp-idf!22181
2023-02-01 23:46:34 +08:00
Wu Zheng Hui
33ae2e1073
Merge branch 'feature/bringup_esp32c6_light_sleep_pd_cpu' into 'master'
...
esp32c6: support light_sleep (Stage 1: support CPU power down)
See merge request espressif/esp-idf!21985
2023-02-01 14:11:15 +08:00
laokaiyao
330149f3a6
i2c: support i2c on esp32h2
2023-02-01 11:23:11 +08:00
jiangguangming
b0fa18d290
ci: fix typos tag naming of all flash_multi
2023-02-01 08:46:48 +08:00
Li Shuai
68594abe05
sleep: light sleep supported for esp32c6
2023-01-31 22:12:58 +08:00
Li Shuai
0f6cda1dd3
Power Management: support DFS
2023-01-31 22:12:27 +08:00
morris
fd2b9d98d7
Merge branch 'bugfix/gdma_m2m_share_consumer_id' into 'master'
...
gdma: prevent mutli-channels connect to the same peripheral
Closes IDFGH-9182
See merge request espressif/esp-idf!22100
2023-01-31 19:48:24 +08:00
Wan Lei
e6ed62d18a
Merge branch 'feature/spi_isr_pin_to_core' into 'master'
...
spi: add feature to assign core_id of spi isr registered
Closes IDF-6371
See merge request espressif/esp-idf!21597
2023-01-31 15:57:33 +08:00
morris
dbca74f1ef
gdma: prevent mutli-channels connect to the same peripheral
...
1. add check in the gdma driver, to prevent multiple channels connecting
to the same peripheral
2. memory copy DMA ID will occupy the peripheral's DMA ID on some ESP
targets (e.g. esp32c3/s3). We should search for a free one when
install async memcpy driver.
Closes https://github.com/espressif/esp-idf/issues/10575
2023-01-31 15:18:19 +08:00
Song Ruo Jing
ad55230b0a
ledc: Add support for esp32h2; Refactor ledc driver clock source selection related code
...
LEDC examples and test cases are supported on ESP32H2.
Switch to use general clock IDs for ledc_clk_cfg_t enum values.
Deprecate LEDC_USE_RTC8M_CLK.
2023-01-30 19:19:34 +08:00
wanlei
713dc06661
spi: add feature to modify core_id of spi isr regstered
2023-01-30 16:14:02 +08:00
morris
774a05399b
soc: fix wrong APB_CLK_FREQ value on esp32c6
2023-01-28 06:33:23 +00:00
Darian
ac1c550c52
Merge branch 'bugfix/rmt_tx_synchronization_tests' into 'master'
...
driver(RMT): Fix RMT TX multi channel test
See merge request espressif/esp-idf!22051
2023-01-19 19:19:40 +08:00
Kevin (Lao Kaiyao)
668e125dd4
Merge branch 'feature/support_i2s_on_h2' into 'master'
...
i2s: support i2s on esp32h2
Closes IDF-6219 and IDF-6700
See merge request espressif/esp-idf!21948
2023-01-19 10:47:33 +08:00
Wan Lei
e7c520e849
Merge branch 'feature/add_spi_ckl_source_selectable' into 'master'
...
spi_master: add feature spi periph clk source selectable
Closes IDF-6289
See merge request espressif/esp-idf!21324
2023-01-19 00:54:24 +08:00
laokaiyao
c79187fdeb
i2s: support i2s on esp32h2
2023-01-18 18:42:56 +08:00
Armando (Dou Yiwen)
9f3fd2802f
Merge branch 'feature/sdio_slave_c6' into 'master'
...
sdio: c6 support
Closes IDF-5809
See merge request espressif/esp-idf!21486
2023-01-18 16:42:32 +08:00
Song Ruo Jing
9db3865cb7
Merge branch 'feature/esp32h2_gpio_support' into 'master'
...
gpio: Add support for esp32h2
Closes IDF-6227, IDF-6388, IDF-6403, and IDF-6676
See merge request espressif/esp-idf!21986
2023-01-18 16:24:13 +08:00
Darian Leung
1834d8ac39
driver(RMT): Fix RMT TX multi channel test
...
This commit multiple issues with the following RMT TX tests:
- rmt_multi_channels_trans_no_dma
- rmt_multi_channels_trans_with_dma
The following issues are fixed:
- Channel stop times are now tested using TEST_ASSERT_INT64_WITHIN(). The
previous method did not account for the case where channel 1 finished before
channel 0
- Increased synchronous stop time delta for esp32-c6
- Increased main task stack size to prevent stack overflow onesp32-s3
2023-01-18 16:09:47 +08:00
wanlei
184145817c
spi_master: add feature spi periph clk source selectable
2023-01-18 15:40:12 +08:00
Song Ruo Jing
4c8fdc31f9
gpio: Add support for esp32h2
2023-01-18 11:41:12 +08:00
morris
b589fff0af
rmt: support esp32h2
2023-01-18 11:40:35 +08:00
Song Ruo Jing
dcf3fcaec6
lp_io: Enable esp32c6 lp_io unit tests
2023-01-18 11:23:52 +08:00
Armando
f1de9faa71
sdio: c6 support
2023-01-18 02:34:46 +00:00
Armando
38551239fd
essl: update essl component in driver test
2023-01-18 02:34:46 +00:00
Kevin (Lao Kaiyao)
87ae8f8762
Merge branch 'bugfix/pcnt_sdm_test_on_h2' into 'master'
...
fix pcnt sdm pre-commit failure
See merge request espressif/esp-idf!22067
2023-01-17 20:40:36 +08:00
Kevin (Lao Kaiyao)
5d61788032
Merge branch 'bugfix/i2s_fix_incorrect_sclk_in_legacy_driver' into 'master'
...
i2s: fix incorrect sclk in legacy driver
See merge request espressif/esp-idf!21997
2023-01-17 15:34:06 +08:00
laokaiyao
58bde0f665
fix pcnt sdm pre-commit failure
2023-01-17 15:28:27 +08:00
C.S.M
01913f6d01
Merge branch 'feature/esp32h2_build_test' into 'master'
...
ESP32H2 (CI): enable CI build stage test on esp32h2
Closes IDF-6263 and IDF-6264
See merge request espressif/esp-idf!21954
2023-01-17 13:28:11 +08:00
Kevin (Lao Kaiyao)
c5af31fa19
Merge branch 'feature/support_pcnt_on_h2' into 'master'
...
pcnt: support pcnt on esp32h2
Closes IDF-6221 and IDF-6669
See merge request espressif/esp-idf!21950
2023-01-17 12:20:00 +08:00
Kevin (Lao Kaiyao)
235b1163af
Merge branch 'feature/support_sdm_on_h2' into 'master'
...
sdm: support sdm on esp32h2
Closes IDF-6220 and IDF-6699
See merge request espressif/esp-idf!21955
2023-01-17 12:16:23 +08:00
laokaiyao
3908f4c84d
i2s_test: fix output half sample rate failure
2023-01-17 11:37:22 +08:00
laokaiyao
c25fc7d242
i2s: fix incorrect sclk in legacy driver
2023-01-17 11:34:25 +08:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
morris
bcc307cf7b
Merge branch 'feature/rmt_no_light_sleep_lock' into 'master'
...
rmt: avoid auto light sleep when use xtal as the clock source
See merge request espressif/esp-idf!21831
2023-01-14 00:08:55 +08:00
laokaiyao
482a26e284
sdm: support sdm on esp32h2
2023-01-13 16:55:51 +08:00
laokaiyao
2730186561
pcnt: support pcnt on esp32h2
2023-01-13 16:11:50 +08:00
morris
ce84476870
gptimer: support esp32h2
2023-01-12 14:10:11 +00:00
Armando (Dou Yiwen)
d1b8da74d8
Merge branch 'refactor/improve_adc_power_maintanance' into 'master'
...
adc: improve adc power maintanance
Closes IDF-6114 and IDF-6318
See merge request espressif/esp-idf!21151
2023-01-12 20:30:36 +08:00
morris
c83d1db2ed
Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit' into 'master'
...
mcpwm: support not reset GPIO config at exit
Closes IDFGH-8916
See merge request espressif/esp-idf!21568
2023-01-12 13:20:47 +08:00
C.S.M
e96e7ecbee
Merge branch 'bugfix/fix_bunch_of_i2c_issues' into 'master'
...
I2C: Fix bunch of small issues
Closes IDFGH-8722 and IDFGH-8310
See merge request espressif/esp-idf!21891
2023-01-11 11:02:53 +08:00
Krzysztof Budzynski
738600d839
Merge branch 'docs/update_gpio_hold_en_description' into 'master'
...
docs: update description of gpio_hold_en()
See merge request espressif/esp-idf!21834
2023-01-10 15:50:05 +08:00
Armando
5be3c21cfc
adc: improve power logic
2023-01-09 17:10:04 +08:00
morris
5fb9866f0d
Merge branch 'feature/add_sdm_dac_example' into 'master'
...
sdm: add wave output example
Closes IDF-6636
See merge request espressif/esp-idf!21892
2023-01-09 15:30:30 +08:00
morris
dba66c100c
Merge branch 'feature/mcpwm_non_varg_version_api' into 'master'
...
mcpwm: support non-vararg version of generator functions
Closes IDFGH-9046
See merge request espressif/esp-idf!21872
2023-01-09 15:07:21 +08:00
Cao Sen Miao
467356cfcd
I2C: Fix issue that pointer would be NULL if calls i2c_param first,
...
Closes https://github.com/espressif/esp-idf/issues/10163
2023-01-09 10:18:03 +08:00
Linda
cdc12389d5
docs: update description of gpio_hold_en()
2023-01-07 13:57:02 +08:00
laokaiyao
6b631b68d1
sdm: correct concept duty to density
2023-01-06 17:01:48 +08:00
Song Ruo Jing
46f67092d0
ledc: Fix -Werror=maybe-uninitialized warning on glb_clk variable on specific kconfig options selected
...
Closes https://github.com/espressif/esp-idf/pull/9025
Closes https://github.com/espressif/esp-idf/issues/10322
2023-01-05 15:16:04 +08:00
Wan Lei
747214616c
Merge branch 'feature/add_api_spi_slave_trans_in_isr' into 'master'
...
spi_slave: add isr version api to add transaction in isr callback
Closes IDF-6199 and IDF-6049
See merge request espressif/esp-idf!20587
2023-01-05 12:46:01 +08:00
wanlei
120d54d700
test: formate test_spi_slave.c
2023-01-04 15:35:04 +08:00
wanlei
45c1dc424f
spi_slave: add spi 'spi_slave_queue_reset_isr' and add test
2023-01-04 15:35:04 +08:00
wanlei
6ae852f8b0
spi_slave: add api 'queue_trans_isr' and add a test case
2023-01-04 15:35:04 +08:00
wanlei
971eaa0c08
spi_slave: fix spi_slave_isr iram_safe and add test case for it
2023-01-04 15:35:04 +08:00
morris
781eb0c2ce
Merge branch 'doc/calarify_transmitted_symbols' into 'master'
...
rmt: clarify num_symbols in the tx done event data
Closes IDFGH-9026
See merge request espressif/esp-idf!21807
2023-01-04 14:50:37 +08:00
Song Ruo Jing
662df0da3b
ledc: Channel configuration requires the ledc core clock on to be effective. Therefore, a clock source is selected for the core clock since the peripheral initialization. Additionally, correct the usage of channel para_up and duty_start bits.
2023-01-03 15:16:00 +08:00
morris
592673b052
mcpwm: support non-varg version of generator functions
...
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-03 14:42:49 +08:00
Kevin (Lao Kaiyao)
42509fa0b3
Merge branch 'bugfix/i2s_pdm_dac_wrong_clock_freq' into 'master'
...
i2s_pdm: fix tx frequency limitation
Closes IDFGH-9010
See merge request espressif/esp-idf!21764
2022-12-30 10:16:03 +08:00
morris
cb7e957cc4
Merge branch 'feature/io_mux_use_pll80_c6' into 'master'
...
io_mux: support change clock source to PLL_F80M
Closes IDF-6342 and IDF-6345
See merge request espressif/esp-idf!21613
2022-12-29 22:06:52 +08:00
laokaiyao
943dcd2cd1
i2s_pdm: fix tx frequency limitation
...
Closes: https://github.com/espressif/esp-idf/issues/10420
2022-12-29 16:31:03 +08:00
laokaiyao
f95c2274b8
i2s: fix some typos
2022-12-29 16:31:03 +08:00
Michael (XIAO Xufeng)
c42fe6769a
Merge branch 'feat/codeowner_spi_flash_docs' into 'master'
...
docs/spi_flash: add peripherals to codowner of spi_flash doc pages
See merge request espressif/esp-idf!20311
2022-12-29 15:56:35 +08:00
morris
d5b4108085
gpio: combine sdm, glitch filter, fast gpio tests into one app
2022-12-29 14:46:16 +08:00
morris
ca1b182b25
glitch_filter: support derive clock source form IO MUX
2022-12-29 14:46:16 +08:00
morris
cbe297e5a0
sdm: support derive clock source from IO MUX
2022-12-29 14:46:16 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
morris
7c9e3b60c6
rmt: no auto light sleep if xtal is working as the clock source
2022-12-29 11:33:43 +08:00
Michael (XIAO Xufeng)
0fcd384677
docs: fix driver sphinx warnings
2022-12-29 00:59:04 +08:00
wuzhenghui
aa20825659
soc_caps: rename ESP_PD_DOMAIN_RTC8M to ESP_PD_DOMAIN_FOSC
2022-12-27 21:31:21 +08:00
Kevin (Lao Kaiyao)
4a86240b6e
Merge branch 'feature/support_adc_on_c6' into 'master'
...
adc: support adc on c6
Closes IDF-5310, IDF-5311, IDF-5917, and IDF-6567
See merge request espressif/esp-idf!21431
2022-12-27 21:01:43 +08:00
morris
011315a146
Merge branch 'feature/rmt_clock_rc_fast_c6' into 'master'
...
rmt: support PLL clock on esp32c6
Closes IDF-6341
See merge request espressif/esp-idf!21602
2022-12-27 12:53:56 +08:00
morris
080328a664
Merge branch 'feature/gptimer_rc_fast_c6' into 'master'
...
gptimer: support RC_FAST clock source
See merge request espressif/esp-idf!21601
2022-12-27 12:45:03 +08:00
morris
26467f63cd
doc: clarify num_symbols in the tx done event data
...
Closes https://github.com/espressif/esp-idf/issues/10435
2022-12-27 12:08:38 +08:00
morris
2f711d1e82
Merge branch 'contrib/github_pr_10331' into 'master'
...
rmt: adding loop_count to the config initializer (GitHub PR)
Closes IDFGH-8912
See merge request espressif/esp-idf!21560
2022-12-26 15:58:20 +08:00
morris
bc2a2d3cde
gptimer: support RC_FAST clock source
...
GPTimer on C6 supports RC_FAST as the clock source. The benefit of this
clock is that, the clock can sustain in light sleep.
Added a new API to return the real resolution of the timer handle.
2022-12-26 13:18:25 +08:00
laokaiyao
5333ac81bf
adc: support ADC on esp32c6 (driver/test/example)
2022-12-23 11:24:06 +08:00
laokaiyao
e27f3e3128
adc: support ADC on esp32c6 (hal)
2022-12-23 11:24:06 +08:00
Kevin (Lao Kaiyao)
42c6ae3522
Merge branch 'feature/support_rtcio_on_c6' into 'master'
...
rtcio: support rtcio on c6
Closes IDF-6027
See merge request espressif/esp-idf!21603
2022-12-23 10:56:49 +08:00
Darian Leung
acd88e3f5e
driver: Fix flakey gptimer tests by allowing larger count deltas
2022-12-22 17:57:00 +08:00
Song Ruo Jing
36cdf88a5b
Merge branch 'contrib/github_pr_10402' into 'master'
...
ledc: move callback to IRAM as it's called from an ISR (GitHub PR)
Closes IDFGH-8990
See merge request espressif/esp-idf!21711
2022-12-22 16:55:29 +08:00
Song Ruo Jing
5d300b9bc1
Merge branch 'refactor/ledc_unit_test' into 'master'
...
ledc: Move ledc unit test to test_apps pytest framework
Closes IDF-5502
See merge request espressif/esp-idf!21723
2022-12-22 15:24:47 +08:00
Song Ruo Jing
1a6e1aba3d
ledc: Add check for whether the registered callback is in iram in ledc_cb_register
2022-12-22 14:38:58 +08:00
laokaiyao
7a002ab7a6
rtcio: support rtcio on c6
2022-12-22 14:14:38 +08:00
Kevin (Lao Kaiyao)
7e29d113ae
Merge branch 'bugfix/add_unity_sig_sync_for_i2s_tdm_test' into 'master'
...
i2s_test: fixed rx_update stuck issue
Closes IDFCI-1527
See merge request espressif/esp-idf!21308
2022-12-22 11:27:52 +08:00
morris
32cd193ddf
rmt: support pll clock source on esp32c6
2022-12-22 11:25:54 +08:00
morris
c6e452a871
mcpwm: enable test on esp32c6
2022-12-22 11:17:38 +08:00
Chen Yu Dong
d3716c439d
Merge branch 'ci/add_generic_to_xtal_26mhz_runners' into 'master'
...
CI: add generic to xtal_26mhz jobs
See merge request espressif/esp-idf!21725
2022-12-22 10:56:25 +08:00
laokaiyao
705ddd221f
test more freq
2022-12-21 17:31:38 +08:00
Song Ruo Jing
774197b7d3
ledc: Move ledc unit test to test_apps pytest framework
...
Add ledc_hal_set_duty_start and ledc_hal_set_duty_int_part to IRAM
Fix test_ledc.c minor issues
2022-12-21 12:04:42 +08:00
Chen Yudong
b5eebc490f
CI: add generic to xtal_40mhz jobs
2022-12-21 11:53:38 +08:00
Song Ruo Jing
4e8eb6864e
pcnt: Re-enable legacy pcnt test for esp32c6 (ledc support completed)
2022-12-20 15:28:33 +08:00
Song Ruo Jing
8db902c57b
gpio: Refactor pytest_gpio to separate cases with labels, and update to use new IdfDut class in pytest_embedded_idf
2022-12-20 15:28:33 +08:00
laokaiyao
cd5f2c3d76
i2s_test: add unity signal for synchronization
2022-12-20 14:49:35 +08:00
Armando
ded528e188
adc: no longer support adc2 oneshot mode on esp32c3
...
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.
However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.
Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 02:06:03 +00:00
Song Ruo Jing
536d5827c0
gpio_filter: Fix test case fail on esp32c6 due to slow io_mux clock compare to 160MHz cpu clock.
2022-12-13 19:18:34 +08:00
Song Ruo Jing
19ee95e509
gptimer: Fix esp32c6 gptimer clock source, no APB, instead, is PLL_F80M_CLK
2022-12-13 19:18:34 +08:00
Song Ruo Jing
244d3caa97
i2s: Fix esp32c6 get I2S_CLK_SRC_PLL_160M clock frequency value wrong issue
2022-12-13 19:18:34 +08:00
Song Ruo Jing
182e937c5a
clk_tree: Add basic clock support for esp32c6
...
- 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 for esp32c6
2022-12-13 19:18:34 +08:00
morris
f0bea3ce51
mcpwm: support not reset GPIO config at exit
...
By default, the driver will reset the GPIO used by the MCPWM capture
channel at exit. But in some special use cases, the same gpio may also
be used by another device, which shares the same gpio configuration,
resetting the gpio is not expected.
Closes https://github.com/espressif/esp-idf/issues/10327
2022-12-12 17:50:06 +08:00
Nathan Phillips
6a7e8581e9
rmt: fix bad config initializer
...
Merges https://github.com/espressif/esp-idf/pull/10331
2022-12-12 15:32:20 +08:00
morris
7064b668c6
Merge branch 'feature/etm_api_update' into 'master'
...
etm: introduce config structure for event/task new functions
See merge request espressif/esp-idf!21483
2022-12-12 13:12:09 +08:00
morris
62f1cbca2c
gpio: support glitch filter
2022-12-09 11:33:42 +08:00
morris
2b9d3a37ee
twai: fix coverity warnings
2022-12-09 11:33:42 +08:00
Wan Lei
35a749a76e
Merge branch 'test/re-enable_unit-test' into 'master'
...
test: re-enable some test cases of spi for esp32c2 and c6
Closes IDF-5146
See merge request espressif/esp-idf!21052
2022-12-08 17:54:04 +08:00
Song Ruo Jing
9402ab427b
ledc: Add basic support for esp32c6
2022-12-07 18:40:50 +08:00
morris
5c06e9cf40
etm: update etm event task new API
2022-12-07 15:43:20 +08:00
wanlei
dd50bb2d50
test: enable multi-board test of spi for c6
2022-12-07 11:37:48 +08:00
wanlei
5c099a2a49
test: re-enable some test cases of spi for esp32c2
2022-12-07 11:37:48 +08:00
Wan Lei
6cc9380ac9
Merge branch 'bugfix/fix_slave_gpio_cs_mixed_with_iomux_bus' into 'master'
...
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin
See merge request espressif/esp-idf!21287
2022-12-01 20:09:11 +08:00
Wan Lei
226870dce3
Merge branch 'contrib/github_pr_10224' into 'master'
...
SPI_Master: Fix DMA rxbuf size calculation (GitHub PR)
Closes IDFGH-8793
See merge request espressif/esp-idf!21198
2022-12-01 10:43:18 +08:00
wanlei
0ffc813ac8
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin
2022-12-01 10:38:22 +08:00
Jakob Hasse
56acd2ee03
Merge branch 'feature/uart_new_critical_section_api' into 'master'
...
driver: added new critical section API to UART driver
See merge request espressif/esp-idf!19678
2022-11-30 19:53:44 +08:00
tgotic
36fcb4b3a1
SPI fix DMA rxbuf size calculation
...
(x+31)/8 doesn't round to 4 bytes (32 bits), e.g. (16+31)/8=47/8=5,
where ((x+31)/32)*4 does round to 4 bytes: (16+31)/32=(47/32)*4=1*4=4
2022-11-30 11:46:18 +08:00
Song Ruo Jing
56302544f6
Merge branch 'ci/enable_esp32c6_target_test_stage' into 'master'
...
CI: Enable esp32c6 target test stage
Closes IDF-5830 and IDF-5831
See merge request espressif/esp-idf!21010
2022-11-29 19:54:05 +08:00
Song Ruo Jing
1575b9e43a
ci: Disable all currently failed target tests for esp32c6
2022-11-28 12:09:08 +08:00
Song Ruo Jing
7466ddfa8c
ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py)
2022-11-28 11:58:30 +08:00
Song Ruo Jing
e13a4ad963
ci: Disable some unit-test-apps for esp32c6 to pass ci build stage
2022-11-28 11:58:30 +08:00
laokaiyao
502495dec1
i2s_test: update multi dev pytest script
2022-11-28 11:10:22 +08:00
Jakob Hasse
fd04374aa5
feat (driver) added new critical section API to UART driver
2022-11-25 18:11:35 +01:00
laokaiyao
888ca08cb2
uart: support examples and tests on esp32c6
2022-11-24 16:07:24 +08:00
Alexey Gerenkov
8c2ae2f9bd
Merge branch 'feature/universal_clang_toolchain_support' into 'master'
...
build: Adds support for universal Clang toolchain
Closes LLVM-79
See merge request espressif/esp-idf!20090
2022-11-24 03:09:46 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
morris
4186bd041c
gptimer: added etm example
2022-11-23 15:32:34 +08:00
morris
00b6ec28b2
gptimer: support etm event and task
2022-11-23 15:31:33 +08:00
morris
494516d5f3
gpio: support etm extension
2022-11-23 15:31:33 +08:00
Omar Chebib
7baa63cbc2
Merge branch 'staging/asm_dedic_gpio_example' into 'master'
...
Dedicated/Fast GPIO: add examples implementing software I2C, UART and SPI on RISC-V targets
Closes IDF-5936
See merge request espressif/esp-idf!20921
2022-11-23 14:19:01 +08:00
Cao Sen Miao
fb9d0d9f03
temperature_sensor: Add support on ESP32-C6 (No calibration)
2022-11-22 16:22:31 +08:00
Kevin (Lao Kaiyao)
4867928160
Merge branch 'bugfix/i2s_tdm_doubled_mclk' into 'master'
...
i2s: fixed double mclk in tdm mode
Closes IDFGH-8764 and IDFGH-8763
See merge request espressif/esp-idf!21138
2022-11-22 15:41:16 +08:00
Omar Chebib
623bffaab8
Dedicated GPIO: add examples implementing software I2C, UART and SPI on RISC-V targets.
...
Use dedicated GPIOs in examples to show how to emulate a UART, I2C and SPI bus.
(Using assembly and C)
2022-11-22 14:17:40 +08:00
Wan Lei
65c0b2b81a
Merge branch 'feature/c6_spi_master_driver_support' into 'master'
...
esp32c6: support spi master & slave driver
Closes IDF-5335 and IDF-5336
See merge request espressif/esp-idf!20877
2022-11-22 12:29:25 +08:00
Michael (XIAO Xufeng)
439a709c42
Merge branch 'feat/esp32s3_essl_sdmmc_host' into 'master'
...
essl: add support for ESP32-S3 SDMMC host
See merge request espressif/esp-idf!19325
2022-11-22 11:18:32 +08:00
laokaiyao
039af72058
i2s: fixed typo 'philip'
...
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-21 15:58:06 +08:00
laokaiyao
22531d2a9f
i2s: fixed tdm mclk doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-21 15:53:54 +08:00
Michael (XIAO Xufeng)
720b86a886
example/sdio: add support for ESP32-S3 as host (via SD)
2022-11-21 14:03:41 +08:00
morris
5bd99deb48
pcnt: support accumulate count value
...
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 10:15:19 +08:00
morris
dcaa753f37
Merge branch 'bugfix/legacy_rmt_resource_leak' into 'master'
...
rmt: fix memory leak in the legacy driver
Closes IDFGH-8732 and IDF-5941
See merge request espressif/esp-idf!21084
2022-11-20 16:55:39 +08:00
wanlei
3aeedc2ad3
spi: bringup c6 spi master & slave driver support
2022-11-18 15:54:14 +08:00
laokaiyao
3b4ec64f26
i2s: support on esp32c6
2022-11-17 11:04:39 +08:00
wanlei
ee4f4ac3e0
test: move sdio unit-test to test_apps
2022-11-16 11:22:31 +08:00
morris
6c8807e789
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-15 06:29:59 +00:00
Wan Lei
602884e668
Merge branch 'feature/_spi_slave_reset_trans_queue_api' into 'master'
...
spi_slave: add a private API to reset transaction queue
Closes IDF-5033
See merge request espressif/esp-idf!20825
2022-11-15 10:45:53 +08:00
Armando
ea0b839302
spi: limit esp32 dma workaround only on esp32
2022-11-14 16:01:48 +08:00
Armando
a7289587d3
spi_slave: add a test to internal api spi_slave_reset_trans_queue
2022-11-14 16:01:48 +08:00
Armando
3dc36f622c
spi_slave: add a private API to reset transaction queue
2022-11-14 16:01:48 +08:00
Song Ruo Jing
eae70a8513
Merge branch 'bugfix/wakeup_io_hold_unhold_in_sleep' into 'master'
...
gpio: Fix deep sleep wakeup IOs unable to unhold after wakeup
Closes IDF-6122
See merge request espressif/esp-idf!20823
2022-11-14 12:48:40 +08:00
Song Ruo Jing
d0a7dc3e9f
gpio: Fix IO hold function related problems
...
1. Fix deep sleep wakeup IOs can not be unhold issue
2. Correct hold related APIs' description
3. Fix gpio_force_hold_all API
docs: Add GPIO wakeup source to sleep_modes doc for ESP32C3 and C2
2022-11-11 20:39:04 +08:00
Song Ruo Jing
dd311381a4
rtcio: Add a test case to test RTCIO's hold ability after deep sleep wakeup
2022-11-11 20:39:04 +08:00
wanlei
76ddc2b8a7
test: move rs485 test to test_app
2022-11-11 16:59:40 +08:00
wanlei
fb7d8f49be
test: move uart test to test_app
2022-11-11 16:59:40 +08:00
Wan Lei
c09322430a
Merge branch 'test/move_gpspi_to_pytest_app' into 'master'
...
spi: move spi related unit test into itself pytest app
Closes IDF-5499 and IDFCI-1377
See merge request espressif/esp-idf!19341
2022-11-11 12:18:26 +08:00
Krzysztof Budzynski
acedae1313
Merge branch 'docs/fix-typo-touch-pad-esp32s2-esp32s3' into 'master'
...
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
Closes DOC-4065
See merge request espressif/esp-idf!20956
2022-11-10 19:24:04 +08:00
wanlei
45cf44e5c8
test: move 'driver/test/esp_serial_slave_link' to 'driver/test-apps/components' and make it be a component
2022-11-10 16:02:03 +08:00
wanlei
f31ecbb42b
test: move spi related unit-test into pytest app
2022-11-10 16:02:03 +08:00
wanlei
312bc6cb3a
test: make 'test_common_spi' as a components named 'test_utils_spi'
2022-11-10 15:51:29 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
C.S.M
86aa012c26
Merge branch 'feature/bringup_i2c_esp32c6' into 'master'
...
I2C: Add i2c support for ESP32C6
Closes IDF-5326 and IDF-5327
See merge request espressif/esp-idf!20905
2022-11-08 11:56:15 +08:00
morris
f69a53f56d
Merge branch 'feature/twai_bringup_esp32c6' into 'master'
...
TWAI: initial driver bring up on esp32c6 (TWAI0 only)
Closes IDF-5313 and IDF-5940
See merge request espressif/esp-idf!20735
2022-11-07 18:00:05 +08:00
morris
9f18a0bb5b
Merge branch 'doc/explain_ledc_callback_return_value' into 'master'
...
ledc: explain the callback return value
Closes IDFGH-8647
See merge request espressif/esp-idf!20916
2022-11-07 17:55:59 +08:00
Linda
5406c80d99
docs:fix a typo in touch_sensor.h of esp32s2 and esp32s3
2022-11-07 14:32:26 +08:00
Cao Sen Miao
803fc3fbe0
I2C: Add i2c support for ESP32C6
2022-11-07 14:12:53 +08:00
Kevin (Lao Kaiyao)
48b23b7c46
Merge branch 'feature/support_4_line_pdm_rx_on_esp32s3' into 'master'
...
i2s: support 4 line pdm rx on esp32s3
Closes IDF-6120
See merge request espressif/esp-idf!20753
2022-11-04 18:44:52 +08:00
morris
a83165fea0
twai: add initial version of driver component test
2022-11-04 17:40:29 +08:00
morris
a25123f703
twai: bringup on esp32c6
2022-11-04 17:40:29 +08:00
laokaiyao
fa9b022f68
i2s: support 4 line pdm rx on esp32s3
2022-11-04 15:46:34 +08:00
Ivan Grokhotkov
b14116ff95
Merge branch 'feature/partition_api_new_component_2' into 'master'
...
Storage: Partition APIs moved to the new component 'esp_partition'
Closes IDF-1234
See merge request espressif/esp-idf!20747
2022-11-04 14:59:08 +08:00
laokaiyao
2cccf3a804
dac: update API and file format aligning to the rule
2022-11-03 13:04:50 +08:00
morris
999a3d5e6b
ledc: explain the callback return value
...
Closes https://github.com/espressif/esp-idf/issues/10093
2022-11-03 11:01:47 +08:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
morris
51527b302a
Merge branch 'contrib/github_pr_10083' into 'master'
...
temperature_sensor: fix typo (github PR)
Closes IDFGH-8638
See merge request espressif/esp-idf!20887
2022-11-01 23:34:26 +08:00
Song Ruo Jing
be0fdfa176
soc: Add a soc cap, SOC_CLK_RC_FAST_D256_SUPPORTED, for whether the target has the RC_FAST_D256 clock
2022-11-01 11:23:26 +08:00
Song Ruo Jing
2557e24a28
ci: Enable esp32c6 example, test_apps, and unit tests CI build stage
2022-11-01 11:23:21 +08:00
Jonas Vanthornhout
d679ab3903
Fixed typo
2022-10-31 17:31:40 +01:00
morris
c25031212d
driver: test with non-isr freertos functions in the flash
2022-10-26 13:43:13 +08:00
laokaiyao
8ef9fd4623
dac: optimize the dma stratege
2022-10-25 17:14:59 +08:00
laokaiyao
f9f9a09dfb
dac: update unit-test docs and examples for driver-NG
2022-10-25 17:00:41 +08:00
laokaiyao
351a18415c
dac: driver-ng framework
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9777c9d5b1
dac: refactor to new api on esp32s2
2022-10-25 17:00:41 +08:00
Cao Sen Miao
9e4ff3d374
dac_dma: Support DAC_DMA on esp32s2
2022-10-25 17:00:41 +08:00
morris
4176cb68de
twai: remove deprecated code and add hint
...
name "CAN" has been deprecated for a long time, this commit just remove
it from the code base.
Please use "TWAI" driver instead.
2022-10-22 18:20:07 +08:00
morris
f997b81242
mcpwm: support esp32c6
2022-10-20 11:55:03 +08:00
morris
7b425cbcd7
mcpwm: new function to fetch capture resolution
2022-10-20 11:30:14 +08:00
morris
a22aa2d183
mcpwm: fix wrong return value in the legacy driver
...
For APIs that not return esp_err_t value, we can't use macros like
ESP_RETURN_ON_xxx
2022-10-20 11:30:14 +08:00
Song Ruo Jing
c8c9ce0a8b
Merge branch 'feature/esp32c6_gpio_support' into 'master'
...
gpio: bringup driver on esp32c6 FPGA
Closes IDF-5870 and IDF-5937
See merge request espressif/esp-idf!20364
2022-10-19 18:44:30 +08:00
morris
78dfb58295
mcpwm: update compare value on both tep and tez
...
Closes https://github.com/espressif/esp-idf/issues/9904
2022-10-18 06:29:53 +00:00
Song Ruo Jing
6d24e8bcf4
gpio: Add support for esp32c6
2022-10-18 12:38:36 +08:00
Armando (Dou Yiwen)
542bdea689
Merge branch 'feature/adc_calibration_on_c2' into 'master'
...
esp_adc: support adc calibration on esp32c2
Closes IDF-5203 and IDF-5899
See merge request espressif/esp-idf!20044
2022-10-18 10:50:59 +08:00
Armando
d592d983ce
esp_adc: added esp32c2 adc runners
2022-10-17 16:23:22 +08:00
Linda
837d29cca0
docs: update the description of uart_read_bytes
2022-10-14 15:55:40 +08:00
Armando
f905f6ab7c
esp_adc: add esp32c2 adc high/low test threshold and expected val
2022-10-13 21:03:51 +08:00
morris
9408e1372b
Merge branch 'bugfix/i2s_tx_auto_clear_not_totally_clean_the_buf' into 'master'
...
i2s: fix tx incomplete auto clear
Closes IDFGH-8416
See merge request espressif/esp-idf!20536
2022-10-12 18:15:49 +08:00
laokaiyao
be7c656f6e
i2s: fix tx incomplete auto clear
...
Closes: https://github.com/espressif/esp-idf/issues/9882
2022-10-11 16:57:05 +08:00
morris
a8eacd690c
Merge branch 'bugfix/allow_compare_equal_period' into 'master'
...
mcpwm: allow compare equals to period
See merge request espressif/esp-idf!20514
2022-10-11 16:53:27 +08:00
jingli
b903a2253b
esp_hw_support/sleep: fix current leakage when hold digital io during deep sleep
2022-10-11 12:11:28 +08:00
morris
ad376e2d99
mcpwm: allow compare equals to period
2022-10-11 11:25:33 +08:00
Michael (XIAO Xufeng)
9bc18ba480
Merge branch 'feat/sdio_slave_disable_hs' into 'master'
...
sdio_slave: allow disabling highspeed mode
Closes IDF-5994
See merge request espressif/esp-idf!20312
2022-10-01 01:52:47 +08:00
Michael (XIAO Xufeng)
507864c4f1
sdio_slave: allow disabling highspeed mode
2022-09-27 18:38:35 +08:00
morris
c91f693408
test: fix rmt iram case random failure
2022-09-27 18:03:21 +08:00
wuzhenghui
5115e31175
driver: Minor update for esp32c6
...
Leave TODO for esp_adc and legacy adc driver
HAL/SOC update for spi and i2s
2022-09-26 20:32:13 +08:00
Michael (XIAO Xufeng)
02a9de904a
essl: move from esp-idf component to extra component
2022-09-26 12:26:55 +08:00
Martin Vychodil
7d28abae4e
Merge branch 'feature/sdcard_custom_freq' into 'master'
...
[Storage] Enable SD card custom frequency setup
Closes IDFGH-7089
See merge request espressif/esp-idf!19038
2022-09-23 17:45:30 +08:00
Song Ruo Jing
82cbcf893a
Merge branch 'bugfix/fix_uart_fake_tx_done_temp_revert' into 'master'
...
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
See merge request espressif/esp-idf!20286
2022-09-23 15:53:45 +08:00
Wan Lei
e352382aa8
Merge branch 'feature/no_return_Q_from_isr_for_slave' into 'master'
...
spi_slave: add new flag SPI_SLAVE_NO_RETURN_RESULT to bypass return descriptor from ISR
Closes IDF-5971
See merge request espressif/esp-idf!20164
2022-09-23 10:34:07 +08:00
Song Ruo Jing
701e49278a
uart: Fix unwanted processing of TX_DONE interrupt immediately after calling uart_wait_tx_done()
...
In previous transmission(s), the TX_DONE interrupt raw bit may be raised, but never been cleared.
TX_DONE interrrupt status bit should be cleared before enabling it to check the new transmission.
Introduced in 4e09d147b11ed8a094b5858642c9f60d658ef656
2022-09-22 14:30:39 +08:00
morris
c99edc6715
mcpwm: make set_compare_value iram safe
...
Closes https://github.com/espressif/esp-idf/issues/9793
2022-09-21 13:37:49 +00:00
wanlei
ee6d3de128
spi_slave: add a flag SPI_SLAVE_NO_RETURN_RESULT to bypass return descriptor from ISR
...
if using this flag, driver willn't return the trans-done descriptor from ISR, so
`spi_slave_get_trans_result()` shouldn't be called.
besides, callback is the only way to know transaction status in that case, so a
`post_trans_cb` will be checked mandatory.
2022-09-21 11:56:27 +08:00
morris
c71bd0e4fa
rmt: disable rc_fast clock when it's used up
2022-09-17 04:56:49 +00:00
laokaiyao
af0c0bd8ce
i2s: fix the data lagging of slave role
...
Closes https://github.com/espressif/esp-idf/issues/9513
2022-09-16 18:45:02 +08:00
wangyuanze
4d0ac129b4
test: add i2s tdm full duplex multi device test app
2022-09-16 18:45:02 +08:00
Fu Hanxi
a42849f63c
Merge branch 'test/test_adc_on_dedicated_runners' into 'master'
...
ci: use adc dedicated test runners
See merge request espressif/esp-idf!19164
2022-09-16 15:58:36 +08:00
Armando
7be7a3e996
esp_adc: added comments to c3 test thresh, also sync to legacy tests
2022-09-16 03:21:29 +00:00
Armando
eee5085281
ci: use adc dedicated test runners for adc tests
2022-09-16 03:21:29 +00:00
laokaiyao
bae4944b90
i2s: bringup i2s on esp32c6
2022-09-15 20:03:39 +08:00
laokaiyao
7197e987cb
i2s: add XTAL clock source
2022-09-15 19:32:06 +08:00
morris
77ce37f235
Merge branch 'feature/check_mcpwm_sync_direction' into 'master'
...
mcpwm: check sync direction is valid
See merge request espressif/esp-idf!20134
2022-09-15 19:05:57 +08:00
morris
5f550b2a13
rmt,gptimer: don't support rc_fast clock source for c6 and h2
...
The RC_FAST clock source on ESP32C6 and ESP32H2 can't be calibrated.
Which makes it impossible to work stable for peripherals like timer, RMT
2022-09-14 14:40:28 +00:00
morris
1fc458b3f7
mcpwm: check sync direction is valid
2022-09-14 11:49:37 +08:00
Wan Lei
f7748beb4d
Merge branch 'bugfix/spi2_add_device_cs_more_than_3' into 'master'
...
spi_master: fix error when use `spi_bus_add_device` add more than 3 devices
Closes IDFGH-7288
See merge request espressif/esp-idf!19798
2022-09-14 10:33:37 +08:00
wanlei
241f182408
spi_master: add test for spi_bus_add_device() more than 3 device
...
1.add 6 devices freely to check master can mount 6 devices
2.replace each one by a real device to check they can work
2022-09-13 19:20:07 +08:00
Song Ruo Jing
0b048387bc
Merge branch 'test/move_rtcio_test_to_test_app' into 'master'
...
rtcio: Move unit test to gpio test_apps
Closes IDF-5618
See merge request espressif/esp-idf!19919
2022-09-13 14:33:42 +08:00
Kevin (Lao Kaiyao)
8880d38522
Merge branch 'bugfix/add_error_check_for_esptimer_in_touch_sensor' into 'master'
...
touch_sensor: add esp_timer error check
Closes IDF-5905
See merge request espressif/esp-idf!20072
2022-09-13 14:09:18 +08:00
wangyuanze
ad8d6cdedd
rtcio: Move rtcio test cases from unit-test-app to gpio test_app, and enable the tests for ESP32S3
2022-09-13 12:13:51 +08:00
morris
a1030307f1
gptimer: bringup driver on esp32c6
2022-09-13 10:50:58 +08:00
Martin Vychodil
56f2001317
sdmmc/sdspi: allow custom setup of SD card frequency
...
In order to allow flexible setup of SD card frequency, sdmmc_host_t.max_freq_khz is used as a limit
Closes https://github.com/espressif/arduino-esp32/issues/6225
2022-09-12 17:08:36 +02:00
Dai Zi Yan
3ca44d4d0f
Merge branch 'docs/update_get-started' into 'master'
...
docs: updated gpio and sync up line numbers
Closes DOC-3350 and DOC-3390
See merge request espressif/esp-idf!19959
2022-09-09 17:24:32 +08:00
Armando (Dou Yiwen)
2c2384e39c
Merge branch 'bugfix/fix_spi_bus_lock_concurrency_issue' into 'master'
...
spi_bus_lock: fix a concurrency bug
Closes IDFGH-6528
See merge request espressif/esp-idf!19925
2022-09-09 15:42:24 +08:00
laokaiyao
91c2928ff5
touch_sensor: add esp_timer error check
2022-09-09 14:59:42 +08:00
daiziyan
49aaea7509
docs: updated gpio and sync up line numbers
2022-09-09 02:39:35 +00:00
morris
6539aa2275
pcnt: support esp32c6
2022-09-08 18:26:04 +08:00
laokaiyao
586a14af63
touch_sensor: fixed timer period
2022-09-07 19:13:39 +08:00
Simon
c6610ec4c2
Merge branch 'bugfix/fix_the_duplicated_type_name_in_i2s' into 'master'
...
i2s: fix the duplicated type name in i2s
Closes IDF-5891
See merge request espressif/esp-idf!19960
2022-09-07 10:53:28 +08:00
Armando
3c8f6dd1cf
SPI_BUS_LOCK: fix a concurrency issue
...
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT; This `lock_bits` is the Bit 29-20 of the lock->status
1. spi_hdl_1:
acquire_end_core():
uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0
2. spi_hdl_2:
acquire_core:
uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`
3. spi_hdl_2:
`acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.
4. spi_hdl_2:
spi_device_polling_end(spi_hdl_2).
5. spi_hdl_1:
acquire_end_core:
status is 0, so it cleas the lock->acquiring_dev
6. spi_hdl_2:
spi_device_polling_end:
assert(handle == get_acquiring_dev(host)); Fail
Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-06 16:59:02 +08:00
laokaiyao
3bdcf2edf5
i2s: add notes for the read task of i2s basic examples
2022-09-06 10:29:30 +08:00
laokaiyao
648a75dbed
i2s: fixed the duplicated type name
2022-09-06 10:27:52 +08:00
laokaiyao
045b65e85d
touch_senser: fixed ci issue timer expired after it is deleted
2022-09-05 18:25:32 +08:00
Song Ruo Jing
0637ea91a3
Merge branch 'bugfix/fix_gpio_intr_lost' into 'master'
...
gpio: Fix interrupt lost issue
Closes IDFGH-5069
See merge request espressif/esp-idf!19625
2022-09-02 18:54:17 +08:00
Simon
e923c15859
Merge branch 'refactor/i2c_hal' into 'master'
...
I2C: Refactor i2c hal and ll(pre-MR of I2C driver-NG)
See merge request espressif/esp-idf!19750
2022-09-02 10:47:35 +08:00
Song Ruo Jing
61282cc5dd
gpio: Fix interrupt lost issue
...
In previous gpio default isr, interrupt status bits get cleared at the exit of the isr.
However, for edge-triggered interrupt type, the interrupt status bit should be cleared before entering the per-pin handlers to avoid any potential interrupt lost.
Closes https://github.com/espressif/esp-idf/pull/6853
2022-09-01 16:01:01 +08:00
Cao Sen Miao
31b88a4c88
I2C: Refactor i2c hal and ll
2022-09-01 15:53:59 +08:00
songruojing
9d515185d0
esp32c6: clean up existing soc files and header file inclusion in IDF to be compatible with the new chip
2022-09-01 12:28:06 +08:00
morris
82f2ad9b6d
Merge branch 'bugfix/propagate_isr_allocation_failure' into 'master'
...
Fix MCPWM multiplication overflow
Closes IDFGH-8151 and IDFGH-8155
See merge request espressif/esp-idf!19829
2022-09-01 10:44:15 +08:00
Song Ruo Jing
6a60ecf780
soc_caps: Introduce SOC_LEDC_SUPPORTED and SOC_I2C_SUPPORTED caps to IDF
...
Wrap the ledc, i2c source files with the new caps in CMakeLists and linker.lf.
This could avoid potential source file not found warning during linking time.
2022-08-31 20:43:22 +08:00
morris
731db1c873
mcpwm: fix multiplication overflow in converting us to compare ticks
...
Closes https://github.com/espressif/esp-idf/issues/9648
2022-08-31 17:38:29 +08:00
morris
a0d03a60cd
legacy_timer: propagate isr register failure
...
Closes https://github.com/espressif/esp-idf/issues/9651
2022-08-31 17:18:55 +08:00
Marius Vikhammer
dfaaefe2ce
Merge branch 'bugfix/uart_sclk_freq' into 'master'
...
uart: fixed sclk_freq not init warning when compiling with asserts disabled
Closes IDFGH-8144
See merge request espressif/esp-idf!19792
2022-08-30 16:24:38 +08:00
morris
1ca3fad458
Merge branch 'bugfix/gpio_ut_usj' into 'master'
...
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
See merge request espressif/esp-idf!19838
2022-08-30 14:09:45 +08:00
Gao Xu
0da21aca0d
Merge branch 'bugfix/fix_spi_hd_quad_issue_esp32c3' into 'master'
...
essl_spi: fix wrong dummy cycle under quad spi mode ant add a test to verify spi quad mod
Closes IDF-5182 and IDF-5181
See merge request espressif/esp-idf!18680
2022-08-30 10:53:11 +08:00
Song Ruo Jing
46886286c4
gpio: add a test case to test the ability of disabling USB D+ pin pull-up
2022-08-29 19:38:13 +08:00
Marius Vikhammer
b844df8c85
uart: fixed sclk_freq not init warning when compiling with asserts disabled
...
Closes https://github.com/espressif/esp-idf/issues/9642
2022-08-26 11:52:46 +08:00
morris
995b89fbb6
gptimer: add API to get captured count value
2022-08-25 17:55:19 +08:00
Omar Chebib
6f3c6dcd86
Merge branch 'bugfix/i2c_port_unsigned' into 'master'
...
I2C: i2c_port_t type is now an enumeration
Closes IDFGH-7433
See merge request espressif/esp-idf!18230
2022-08-25 17:25:51 +08:00
Wan Lei
c5b094a96f
Merge branch 'test/fix_sio_mode_multi_test_faile' into 'master'
...
spi_master: in unit test modify communication bringup flow to fix spi sio mode test failure
See merge request espressif/esp-idf!19712
2022-08-25 16:33:10 +08:00
morris
853a27b491
Merge branch 'refactor/migrate_adc_wifi_test_to_test_app' into 'master'
...
esp_adc: migrate adc wifi test to test app
Closes IDFCI-1405 and IDFCI-578
See merge request espressif/esp-idf!19736
2022-08-25 10:57:07 +08:00
Armando (Dou Yiwen)
335ca8a687
Merge branch 'refactor/use_esp_check_in_adc_legacy_driver' into 'master'
...
adc: use esp_check in adc_legacy.c
Closes IDF-3657
See merge request espressif/esp-idf!19727
2022-08-24 14:22:51 +08:00
wanlei
0f92a706ba
spi_master: change sio test communication bringup flow to fix testcase failure
...
test failed by slave obtain data incorrectly at the time before master started
2022-08-24 14:20:26 +08:00
Omar Chebib
f6ac350337
I2C: i2c_port_t type is now an enumeration
...
* Closes https://github.com/espressif/esp-idf/issues/9009
2022-08-24 10:51:09 +08:00
Armando
a8c0f1feb6
esp_adc: migrate adc wifi test to test app
2022-08-23 21:23:21 +08:00
Armando
eaf7fbf35a
adc: use esp_check in adc_legacy.c
2022-08-23 17:47:04 +08:00
wangyuanze
6ca1db3ef2
touch_sensor: fix touch_sensor_v1 filter issue
2022-08-23 07:34:51 +00:00
gaoxu
ec649b0a30
SPI: a test to verify the SPI halfduplex communicate on quad mod
2022-08-23 10:47:21 +08:00
Song Ruo Jing
72a15e3c7a
Merge branch 'bugfix/gpio_usb_pin_pupd' into 'master'
...
gpio: fix USB D+ pin cannot disable pullup
Closes IDFGH-7984
See merge request espressif/esp-idf!19191
2022-08-22 17:18:05 +08:00
Michael (XIAO Xufeng)
0a2e5a7774
Merge branch 'feat/support_esp32c2_uart' into 'master'
...
uart: update console docs about frequency for ESP32-C2, move frequency of clock sources out of HAL
Closes IDF-5424 and IDF-4332
See merge request espressif/esp-idf!19274
2022-08-22 14:24:26 +08:00
Song Ruo Jing
aae3c7ba08
Merge branch 'bugfix/fix_ledc_timer_update_usage' into 'master'
...
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
See merge request espressif/esp-idf!19637
2022-08-22 14:23:44 +08:00
Song Ruo Jing
0445c87459
ledc: Fix the usage of ledc_ls_timer_update and ledc_timer_rst
...
ledc_ls_timer_update is required only when CLK_DIV and DUTY_RES bits are changed.
Calling ledc_timer_rst while re-configure PWM frequency through ledc_set_freq can cause glitch in the signal
2022-08-19 19:07:46 +08:00
songruojing
01143bd732
gpio: fix USB D+ pin cannot disable pullup
...
Internally, disable usb serial jtag DP pin's pullup when calling gpio_ll_pullup_dis and rtcio_ll_pullup_disable
At usb serial jtag setup/install, re-enable DP pin's pullup
Closes https://github.com/espressif/esp-idf/issues/9495
2022-08-19 15:05:28 +08:00
wanlei
a462022205
spi_master:modify test case name for spi sio mode test
2022-08-18 20:17:15 +08:00
Wan Lei
60d794501f
Merge branch 'test/add_test_spi_sio_master_all' into 'master'
...
SPI Master: add sio multi-device test case for all chips
Closes IDF-4455
See merge request espressif/esp-idf!19249
2022-08-18 14:41:48 +08:00
Wan Lei
8226806295
Merge branch 'feature/reduce-overhead-of-xQueueSendFromISR' into 'master'
...
SPI Master: add callback feature to reducing overhead
Closes IDFGH-7584
See merge request espressif/esp-idf!18969
2022-08-18 11:02:17 +08:00
morris
31d4ab6e04
Merge branch 'bugfix/mcpwm_operator_naming_issue_with_cxx' into 'master'
...
mcpwm: don't use keyword operator
Closes IDFGH-8000
See merge request espressif/esp-idf!19581
2022-08-18 10:56:15 +08:00
morris
2cea860318
Merge branch 'contrib/github_pr_9491' into 'master'
...
[gpio] calloc in critical section (GitHub PR)
Closes IDFGH-7980
See merge request espressif/esp-idf!19380
2022-08-18 10:49:41 +08:00
wanlei
4757efe21d
spi_master: fix config check of both in&out phases used in half-duplex mode
...
Add a check in spi_master driver to prevent using both 'trans->length'
and 'trans->rxlength' on chips other than ESP32 and ESP32S2 which hardware
not support using both TX and RX phases in half-duplex mode
2022-08-17 15:52:08 +08:00
wanlei
6864f72ab7
test: add new spi-sio multi-board test for all chip
...
test sio master only, and splited into master input & output ability
slave device work on full duplex mode to provide input/output source only
2022-08-17 15:52:08 +08:00
wanlei
5726f3d8cb
spi_master: add check for 'post_cb' when flag 'SPI_DEVICE_NO_RETURN_RESULT' is set
...
There are two ways to know which transaction descriptor is finished,
by either calling `spi_device_get_trans_result`, or getting it from `post_cb`.
When `SPI_DEVICE_NO_RETURN_RESULT` is set, driver will not push finished
transaction descriptors into the queue. So you can't get it from
`spi_device_get_trans_result`. The only way to know this is via `post_cb`.
update document for function `spi_bus_add_device`
2022-08-17 15:08:06 +08:00
morris
2c5a866ea3
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-17 06:31:50 +00:00
Alex Lisitsyn
c78f126eed
driver: uart rs485 fix test sync issues and fail threshold
2022-08-16 13:10:13 +08:00
Michael (XIAO Xufeng)
746f4b814c
uart: move frequency of clock sources out of HAL
2022-08-15 18:55:43 +00:00
morris
1d4c08cef4
mcpwm: added enable/disable functions
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-15 14:46:56 +08:00
morris
970d4cab09
driver: add doc on how to unregister event callbacks
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-15 14:46:56 +08:00
morris
0d881fc9e0
driver: specify the interrupt priority
...
Closes https://github.com/espressif/esp-idf/issues/9520
2022-08-15 14:46:56 +08:00
meawoppl
677a0c438d
spi_master: added a device flag "SPI_DEVICE_NO_RETURN_RESULT"
...
Add this flag to select if returning done transaction descriptors from ISR.
You should get the finished transaction descriptor by the callback "post_cb"
if you using this flag, if not, same as the past.
Close https://github.com/espressif/esp-idf/pull/9141
2022-08-15 12:10:50 +08:00
morris
6f2ac1ce2a
rmt: add iram safe test
...
Closes https://github.com/espressif/esp-idf/issues/9487
2022-08-12 11:30:14 +08:00
morris
f24983a942
unity_utils: added helper function to disable cache and run user function
2022-08-12 11:29:52 +08:00
Martin Vychodil
d7e3072040
Merge branch 'fix/sdspi_no_cs' into 'master'
...
sdspi: Allow CS line to be set to GPIO_NUM_NC (-1)
Closes IDFGH-6175
See merge request espressif/esp-idf!19420
2022-08-11 20:17:26 +08:00
morris
6aa08af572
Merge branch 'bugfix/remove_format_warnings_in_driver' into 'master'
...
driver: remove -Wno-format flag
Closes IDF-5764
See merge request espressif/esp-idf!19401
2022-08-11 12:19:50 +08:00
Wang Yuan Ze
debf2c0b70
Merge branch 'test/move_touch_related_unit_tests_to_test_apps' into 'master'
...
test: move touch related unit tests to test apps
Closes IDFCI-1283, IDFCI-1156, and IDF-5766
See merge request espressif/esp-idf!19348
2022-08-09 23:15:18 +08:00
morris
ad59ae38d8
Merge branch 'bugfix/duplicate_i2s_test_case_name' into 'master'
...
i2s: fixed duplicated test case name
See merge request espressif/esp-idf!19442
2022-08-09 12:01:11 +08:00