esp-idf/tools/mocks
Darian Leung 035423eb37 refactor(freertos/idf): Move task creation "PinnedToCore" API to addition headers
This commit moves/merges the IDF FreeRTOS "PinnedToCore" task creation
functions from tasks.c/task.h to idf_additions.h/freertos_task_c_additions.h.

Also updated FreeRTOS Mock component to provide mocks for "idf_additions.h"
headers for our mock tests.
2023-09-05 16:20:59 +08:00
..
driver feat(driver): Added usb serial mock 2023-07-10 17:46:59 +08:00
esp_event feat(linux): added esp_wifi mocking support 2023-07-10 19:40:09 +08:00
esp_hw_support systimer: support etm event 2022-11-23 15:32:34 +08:00
esp_netif feat(linux): added esp_wifi mocking support 2023-07-10 19:40:09 +08:00
esp_partition Storage: Partition APIs moved to the new component 'esp_partition' 2022-11-02 21:54:45 +01:00
esp_timer systimer: support etm event 2022-11-23 15:32:34 +08:00
esp_wifi feat(linux): added esp_wifi mocking support 2023-07-10 19:40:09 +08:00
esp-tls [tcp_transport] - Adds Socks4 proxy transport 2023-03-27 14:46:40 +02:00
freertos refactor(freertos/idf): Move task creation "PinnedToCore" API to addition headers 2023-09-05 16:20:59 +08:00
hal/include/hal feat(driver): added RMT mock 2023-03-17 14:54:48 +08:00
http_parser [MQTT] Simplifies MQTT CMakeLists file 2022-09-19 09:11:15 +00:00
lwip [tcp_transport] - Adds Socks4 proxy transport 2023-03-27 14:46:40 +02:00
soc/include/soc linux target: add support for building esp_hw_support, soc and hal components for linux target 2022-12-09 13:59:39 +08:00
spi_flash Storage: Partition APIs moved to the new component 'esp_partition' 2022-11-02 21:54:45 +01:00
startup lwip: Support for linux target 2023-01-31 08:43:45 +01:00
tcp_transport [MQTT] Simplifies MQTT CMakeLists file 2022-09-19 09:11:15 +00: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.