rtdevice.h 315 B

12345678910111213141516171819202122
  1. #ifndef __RT_DEVICE_H__
  2. #define __RT_DEVICE_H__
  3. #include <rtthread.h>
  4. #ifdef RT_USING_SPI
  5. #include "drivers/spi.h"
  6. #endif
  7. #ifdef RT_USING_MTD
  8. #include "drivers/mtd.h"
  9. #endif
  10. #ifdef RT_USING_USB_DEVICE
  11. #include "drivers/usb_device.h"
  12. #endif
  13. #ifdef RT_USING_USB_HOST
  14. #include "drivers/usb_host.h"
  15. #endif
  16. #endif