esp-idf/components/driver/test_apps
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
..
analog_comparator driver: Fix ana_cmpr negative enum comparison 2023-05-08 17:11:52 +08:00
components spi_slave: add multi board test case for spi slave hd append mode 2023-03-21 11:30:17 +08:00
dac_test_apps ci: update test apps to use run_all_single_board_cases 2023-03-10 14:27:09 +08:00
gpio gpio: Re-enable gpio usb pins test cases on esp32h2 2023-03-09 17:21:43 +08:00
gpio_extensions gptimer: fix race condition between start and stop 2023-03-10 23:27:29 +08:00
gptimer ci: update test apps to use run_all_single_board_cases 2023-03-10 14:27:09 +08:00
i2s_test_apps i2s: fixed tdm multi dev test on h2 2023-04-26 18:55:36 +08:00
ledc 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
legacy_adc_driver ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
legacy_mcpwm_driver ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
legacy_pcnt_driver ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
legacy_rmt_driver ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
legacy_rtc_temp_driver TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
legacy_timer_driver 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
mcpwm ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
parlio ci: update test apps to use run_all_single_board_cases 2023-03-10 14:27:09 +08:00
pulse_cnt ci: update test apps to use run_all_single_board_cases 2023-03-10 14:27:09 +08:00
rmt rmt: define RMT_ENCODING_RESET in rmt_encode_state_t 2023-04-17 21:28:45 +08:00
rs485 esp32h2: add build test 2023-01-17 10:29:04 +08:00
sdio sdio: test_sdio add unity sync signals 2023-04-26 11:11:59 +08:00
spi Merge branch 'refactor/rename_to_esp_clk_tree_prefix_v5.1' into 'release/v5.1' 2023-04-28 17:11:46 +08:00
temperature_sensor temperature_sensor: Implement temperature monitor interrupt feature on ESP32H2/ESP32C6 2023-03-03 10:38:40 +08:00
touch_sensor_v1 ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
touch_sensor_v2 ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
twai ci: update driver tests to use run_all_single_board_cases() 2023-03-28 17:05:50 +08:00
uart esp32h2: add build test 2023-01-17 10:29:04 +08:00