libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
esp_def.hpp
1#pragma once
2
3// Shared ESP driver definitions/header hygiene entry point.
4// Keep ESP-IDF/FreeRTOS integration quirks localized here so the
5// rest of the ESP driver headers can include one clean common header.
6#include "sdkconfig.h"
7#include <FreeRTOS.h>
8
9// Xtensa/FreeRTOS headers may expose INTERRUPT macro and collide with
10// Endpoint::Type::INTERRUPT in generic USB core headers.
11#if defined(INTERRUPT)
12#undef INTERRUPT
13#endif