/* sim-driver: force-included into every C++ source (the driver's and src/'s). * * - The desktop port's headers (desktop/port/include) were written for C and have no extern "C" guards, so they * are included here once inside extern "C"; their #pragma once makes the sources' own includes no-ops. * The C library headers they use come first, outside the block, so the C++ library's versions stay intact. * - On the board ESP-IDF's headers also bring in stdio and esp_system, which the driver relies on. */ #pragma once #include #include #include #include #include #include #include #include #include #include extern "C" { #include "esp_err.h" #include "esp_log.h" #include "esp_check.h" #include "esp_heap_caps.h" #include "esp_mac.h" #include "esp_random.h" #include "esp_rom_sys.h" #include "esp_system.h" #include "esp_timer.h" #include "freertos/FreeRTOS.h" #include "freertos/queue.h" #include "freertos/semphr.h" #include "freertos/task.h" }