Commit Graph

299 Commits

Author SHA1 Message Date
wuzhenghui
797efb1dd3 ci: add pd_vddsdio in lightsleep UT tests
- Add pd_vddsdio in lightsleep UT tests to ensure proper functionality
2023-07-14 21:21:23 +08:00
morris
682e5ae450 Merge branch 'feature/esp_gdma_ops' into 'master'
feat(esp_gdma): add hal interface for common operations

Closes IDF-7809

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

Closes IDFGH-10569

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

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

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

Closes IDF-7406

See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
Cao Sen Miao
53dee1abe0 feat(temperature_sensor_test): Add test for temperature sensor and phy 2023-07-07 10:15:07 +08:00
Song Ruo Jing
4985caa38f refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps 2023-07-05 11:47:51 +08:00
morris
f0c07f82b5 fix(test): check call graph for hal component 2023-07-05 09:09:01 +08:00
Chen Ji Chang
01d70a8ff7 Merge branch 'feature/use_esp_rom_delay_us_to_test_the_accuracy_of_gptimer' into 'master'
gptimer: replace vTaskDelay with esp_rom_delay_us in test_apps

Closes IDF-7308

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

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

Changes made in this commit include:
- Replacing vTaskDelay with esp_rom_delay_us
- Adjusting delta values for various timer tests
2023-06-28 11:50:26 +08:00
Lou Tianhao
7fd74057a3 example: bringup light sleep example for esp32h2 2023-06-26 21:05:16 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

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

Closes IDFGH-10293

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

Closes https://github.com/espressif/esp-idf/issues/11554
2023-06-14 18:12:01 +08:00
morris
f38945ea18 Merge branch 'feature/trim_the_build_of_test_apps_of_esp_adc' into 'master'
Trim the build components

Closes IDF-7459

See merge request espressif/esp-idf!24143
2023-06-13 17:36:09 +08:00
Chen Jichang
6c9cf5c352 driver:Trim the build components
Trim the build components to decrease the load of Gitlab server.
2023-06-13 14:24:44 +08:00
morris
88600bd91b driver: minor code clean up to pass coverity scan test 2023-06-10 16:21:12 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
morris
1703a0a5e9 doc: explain why RMT encoder may result in more data transmitting
Closes https://github.com/espressif/esp-idf/issues/11468
2023-05-26 13:37:11 +08:00
laokaiyao
ffb40a89d9 adc_cali: supported channel compensation of adc calibration on esp32c6 2023-05-23 22:44:25 +08:00
Cao Sen Miao
faa10947a8 temperature_sensor: Apply new-shared interface in temperature sensor driver 2023-05-18 15:00:36 +08:00
C.S.M
50b4d5c6be Merge branch 'ci/move_timer_into_unity' into 'master'
spi_flash: migrate spi_flash UT to pytest component test app

Closes IDF-6730

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

Closes IDFCI-1700

See merge request espressif/esp-idf!23505
2023-05-15 17:37:29 +08:00
Cao Sen Miao
0f83970368 ci: Delete ccomp_timer in IDF(witch has been moved to component manager) 2023-05-15 14:58:51 +08:00
Adam Múdry
fa16ed3898 CI: sdcard tests fail fix 2023-05-10 16:48:03 +02:00
morris
5680d28b0e mcpwm: fix bldc example force output level inverted
set_force_level can only set the generator level before the deadtime module.
if the deadtime module enables the inverter, then the real output level is inverted accordingly
2023-05-10 19:17:21 +08:00
morris
72d0f5b35b mcpwm: can't apply the same delay module to multiple generators
This is a hardware limitation, one delay module can only be used by one generator at one time.

Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-09 16:41:47 +08:00
morris
6f749ae038 Merge branch 'test/enlarge_gptimer_test_threshold' into 'master'
gptimer: enlarge test threshold

Closes IDFCI-1702

See merge request espressif/esp-idf!23511
2023-05-04 18:40:22 +08:00
Darian Leung
03ce2fbaf0 driver: Fix ana_cmpr negative enum comparison
The C17 standard (sec 6.7.2.2) indicates that the underlying type of an enum is
implementation defined (i.e., can be signed or unsigned). Thus, comparing
"-1 >= some_enum" where "some_enum" is always 0 or largert can return true if
the compiler uses unsigned for enums.

This commit fixes the following issues with ana_cmpr:

- Fixed incorrect comparison in ana_cmpr_del_unit() that relied on enums being
signed, thus would always return true.
- Fixed incorrect expected argument in the "ana_cmpr_unit_install_uninstall"
test. This was not picked up due to the incorrect enum comparison above.
2023-04-28 14:52:50 +08:00
morris
36c134bdc3 gptimer: enlarge test threshold 2023-04-28 11:43:50 +08:00
Song Ruo Jing
e2a5c092f7 Merge branch 'refactor/rename_to_esp_clk_tree_prefix' into 'master'
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx

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

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

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

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

Closes IDF-7163

See merge request espressif/esp-idf!23036
2023-04-24 10:15:10 +08:00
laokaiyao
49f16eefbb esp32h4: checked all the corner stuffs of the removal 2023-04-23 12:03:07 +00:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
wanlei
b519eed230 spi_flash: fix config SPI_FLASH_SHARE_SPI1_BUS dependency 2023-04-21 18:57:06 +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
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
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
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
laokaiyao
efff406950 i2s: fixed tdm multi dev test on h2 2023-04-11 01:48:05 +00: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