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
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
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
morris
f534247a00
driver: add parallel IO TX driver
2023-03-01 00:43:14 +00: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
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
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
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
laokaiyao
71905d9cbf
i2s_test: fix unsupported sample rate on h2
2023-02-23 15:11:13 +08:00