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