esp-idf/tools/mocks
Song Ruo Jing 61282cc5dd gpio: Fix interrupt lost issue
In previous gpio default isr, interrupt status bits get cleared at the exit of the isr.
However, for edge-triggered interrupt type, the interrupt status bit should be cleared before entering the per-pin handlers to avoid any potential interrupt lost.

Closes https://github.com/espressif/esp-idf/pull/6853
2022-09-01 16:01:01 +08:00
..
driver feat (driver)!: Added mocking for i2c.h 2021-11-02 14:16:31 +08:00
esp_hw_support/include [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00
esp_system/include [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00
esp_timer [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
freertos freertos: update freertos folder structure to match upstream 2021-10-29 12:05:13 +08:00
hal/include/hal gpio: Fix interrupt lost issue 2022-09-01 16:01:01 +08:00
soc/include/soc soc: don't expose unstable soc header files in public api 2022-01-06 23:10:22 +08:00
spi_flash spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
README.md [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00

Mocked Components

All components in this directory mock their respective originals in the component directory. The components in this directory are for testing only. Currently, the main goal is to implement Linux-based host tests with these mocking components. Target-based tests using the mocking components are not possible now but may be possible in the future.

Some components only consist of header files without any CMakeLists.txt file. The headers in these are currently needed by other mocking components to satisfy a minimal set of definitions from dependencies. They are not a full mock implementation. These components with header files only may be replaced by an actual mock implementation of the corresponding component in the future.