morris
1cbed4e2c1
fix(intr): always allocate memory from internal ram
...
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-25 15:41:15 +08:00
Chen Jichang
d8e5b2ac41
feat(mcpwm): Set group clock prescale dynamically
...
MCPWM group clock pre scale was originally fixed to 2, which is
inconvenient. Set group clock prescale dynamically. Now the maximum
resolution of the MCPWM timer is up to 160MHz(when the prescale set
to 1). And add a resulotion config for MCPWM capture.
2023-09-11 11:29:28 +08:00
Planck (Lu Zeyu)
3b9c57ac32
feat(rmt): specify interrupt priority
2023-09-04 13:12:02 +08:00
morris
8da2c57889
Merge branch 'feature/mcpwm_interrupt_prioity_v5.1' into 'release/v5.1'
...
feat(MCPWM): Support set interrupt priority(v5.1)
See merge request espressif/esp-idf!25573
2023-08-28 11:21:55 +08:00
morris
2a80451b24
Merge branch 'feature/add_mcpwm_carrier_clk_source_v5.1' into 'release/v5.1'
...
feat(MCPWM): Add mcpwm carrier clk source(v5.1)
See merge request espressif/esp-idf!25572
2023-08-28 11:11:04 +08:00
Chen Jichang
92cc9fca07
feat(pcnt): support set interrupt priority
2023-08-25 17:47:52 +08:00
Chen Jichang
d3aba34baa
feat(MCPWM): Support set interrupt priority
2023-08-25 17:41:31 +08:00
Chen Jichang
c240a1f46b
feat(MCPWM): Add mcpwm carrier clk source
...
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-25 17:34:58 +08:00
morris
ed6e997d4c
Merge branch 'feature/gptimer_interrupt_priority_v5.1' into 'release/v5.1'
...
feat(gptimer): support set interrupt priority (v5.1)
See merge request espressif/esp-idf!25199
2023-08-24 10:07:48 +08:00
morris
b68519cb17
feat(gptimer): support set interrupt priority
...
Related forum post: https://esp32.com/viewtopic.php?f=13&t=34959
2023-08-04 10:20:07 +08:00
Lou Tianhao
830a627362
remove(pm/deep_sleep): enable CI test for esp32h2 deepsleep
2023-08-03 16:46:55 +08:00
Song Ruo Jing
6768f098dc
change(driver/rtcio): Describe RTCIO CAPS with more accurate note
2023-08-03 16:46:55 +08:00
morris
9021fab579
Merge branch 'feature/use_esp_rom_delay_us_to_test_the_accuracy_of_gptimer_v5.1' into 'release/v5.1'
...
refactor(driver/gptimer): replace vTaskDelay with esp_rom_delay_us in test_apps(v5.1)
See merge request espressif/esp-idf!24724
2023-07-13 17:38:40 +08:00
Chen Jichang
649541e6e3
refactor(driver/gptimer): replace vTaskDelay
...
with esp_rom_delay_us in test_apps
This commit replaces vTaskDelay with esp_rom_delay_us in the gptimer
driver. The former function can introduce millisecond jitter due to
OS task switching, while the latter has less jitter because of the
polling delay. Therefore this commit reduces the delta values for
various timer tests.
Changes made in this commit include:
- Replacing vTaskDelay with esp_rom_delay_us
- Adjusting delta values for various timer tests
2023-07-13 11:29:39 +08:00
Jiang Jiang Jian
9fb1b59054
Merge branch 'bringup/esp32h2_light_sleep_for_rebase_backport_v5.1' into 'release/v5.1'
...
esp32h2: support light_sleep(backport v5.1)
See merge request espressif/esp-idf!24697
2023-07-12 13:39:49 +08:00
IhorNehrutsa
1d158ddd10
fix(ledc): fix frequency calculation
...
ledc.c: Fix frequency calculation.
Round int instead of truncate.
Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-11 15:22:34 +08:00
Lou Tianhao
2c9a2a76f7
example: bringup light sleep example for esp32h2
2023-07-11 13:58:08 +08:00
Cao Sen Miao
e493a99da2
temperature_sensor: Apply new-shared interface in temperature sensor driver
2023-07-10 11:16:09 +08:00
laokaiyao
e90a2d50c4
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-07-05 12:48:11 +08:00
morris
0814386710
Merge branch 'refactor/driver_ut_to_test_app_v5.1' into 'release/v5.1'
...
CI: Move all UT in driver to test_app(backport v5.1)
See merge request espressif/esp-idf!23708
2023-05-18 16:18:26 +08:00
Cao Sen Miao
df7a27e36d
CI: Move all UT in driver to test_app
2023-05-16 16:42:28 +08:00
morris
a7021c3e44
mcpwm: fix bldc example force output level inverted
...
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-12 14:40:10 +08:00
morris
cf5e2c3962
Merge branch 'doc/update_mcpwm_deadtime_v5.1' into 'release/v5.1'
...
MCPWM: don't allow to apply the same delay module to multiple generators (v5.1)
See merge request espressif/esp-idf!23663
2023-05-11 16:13:23 +08:00
morris
6b86fc7ad7
Merge branch 'test/enlarge_gptimer_test_threshold_v5.1' into 'release/v5.1'
...
gptimer: enlarge test threshold (v5.1)
See merge request espressif/esp-idf!23622
2023-05-10 10:39:45 +08:00
morris
7b93cf91aa
mcpwm: can't apply the same delay module to multiple generators
...
This is a hardware limitation, one delay module can only be used by one generator at one time.
Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-10 10:09:48 +08:00
Darian Leung
3948949019
driver: Fix ana_cmpr negative enum comparison
...
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.
This commit fixes the following issues with ana_cmpr:
- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-05-08 17:11:52 +08:00
morris
864f5532fa
gptimer: enlarge test threshold
2023-05-08 10:18:58 +08:00
morris
cbd210b431
Merge branch 'refactor/rename_to_esp_clk_tree_prefix_v5.1' into 'release/v5.1'
...
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx (v5.1)
See merge request espressif/esp-idf!23449
2023-04-28 17:11:46 +08:00
Jiang Jiang Jian
d89db7e4a7
Merge branch 'feature/spi_hal_move_out_iram_v5.1' into 'release/v5.1'
...
spi: change linker file to move spi hal out from iram (v5.1)
See merge request espressif/esp-idf!23448
2023-04-27 23:31:16 +08:00
Song Ruo Jing
202b18b5fa
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-27 11:11:18 +00:00
morris
3048251be0
Merge branch 'ci/pytest_case_tester_script_fix_v5.1' into 'release/v5.1'
...
ci: pytest automation script increase timeout time (v5.1)
See merge request espressif/esp-idf!23447
2023-04-27 17:35:51 +08:00
morris
2bc721739c
Merge branch 'bugfix/i2s_tdm_multi_dev_on_h2_v5.1' into 'release/v5.1'
...
i2s: fixed tdm multi dev test on h2 (v5.1)
See merge request espressif/esp-idf!23475
2023-04-27 13:20:03 +08:00
laokaiyao
0aad1efe15
i2s: fixed tdm multi dev test on h2
2023-04-26 18:55:36 +08:00
laokaiyao
87328d594f
esp32h4: checked all the corner stuffs of the removal
2023-04-26 18:53:12 +08:00
laokaiyao
954a6a2cff
esp32h4: removed esp32h4 related codes
2023-04-26 18:53:12 +08:00
wanlei
40b0dbae10
spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency
2023-04-26 11:15:30 +08:00
wanlei
ee4e5c014a
sdio: test_sdio add unity sync signals
2023-04-26 11:11:59 +08:00
morris
b5572b1db0
rmt: define RMT_ENCODING_RESET in rmt_encode_state_t
...
Closes https://github.com/espressif/esp-idf/issues/11200
2023-04-17 21:28:45 +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
morris
5d1a272b1c
rmt: calarify the meaning of mem_block_symbols in DMA and non-DMA mode
2023-03-30 11:09:13 +08:00
Marius Vikhammer
f627506f6b
ci: update driver tests to use run_all_single_board_cases()
2023-03-28 17:05:50 +08:00
wanlei
45d745f853
spi_slave: add multi board test case for spi slave hd append mode
2023-03-21 11:30:17 +08:00
laokaiyao
53584bb5a7
ana_cmpr: add programming guide
2023-03-17 14:35:55 +08:00
laokaiyao
24361f232d
ana_cmpr: add an example and test cases
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