USB: use fully-qualified RTOS include paths

The Arm Compiler is case sensitive and unable to distinguish
between `Thread.h` from Mbed OS RTOS and `thread.h` from TF-M's
OS wrapper, for example. This resolves compilation failures due to
wrong includes.

To resolve this, use the fully-qualified include paths for the
RTOS API.
pull/14396/head
Lingkai Dong 2021-03-08 17:31:49 +00:00
parent eeae3d73dd
commit 6c405d2492
4 changed files with 6 additions and 6 deletions

View File

@ -22,10 +22,10 @@
#include "USBDescriptor.h" #include "USBDescriptor.h"
#include "USBDevice.h" #include "USBDevice.h"
#include "ByteBuffer.h" #include "ByteBuffer.h"
#include "Mutex.h" #include "rtos/Mutex.h"
#include "EventFlags.h" #include "EventFlags.h"
#include "events/EventQueue.h" #include "events/EventQueue.h"
#include "Thread.h" #include "rtos/Thread.h"
#include "Callback.h" #include "Callback.h"
#define MAX_PACKET_SIZE_INT (64) #define MAX_PACKET_SIZE_INT (64)

View File

@ -25,7 +25,7 @@
#include "USBDevice.h" #include "USBDevice.h"
#include "MIDIMessage.h" #include "MIDIMessage.h"
#include "EventFlags.h" #include "EventFlags.h"
#include "Mutex.h" #include "rtos/Mutex.h"
#include "Callback.h" #include "Callback.h"
#define DEFAULT_CONFIGURATION (1) #define DEFAULT_CONFIGURATION (1)

View File

@ -25,7 +25,7 @@
#include "usb/internal/PolledQueue.h" #include "usb/internal/PolledQueue.h"
#include "usb/internal/Task.h" #include "usb/internal/Task.h"
#include "BlockDevice.h" #include "BlockDevice.h"
#include "Mutex.h" #include "rtos/Mutex.h"
#include "USBDevice.h" #include "USBDevice.h"

View File

@ -18,8 +18,8 @@
#ifndef MBED_ASYNC_OP_H #ifndef MBED_ASYNC_OP_H
#define MBED_ASYNC_OP_H #define MBED_ASYNC_OP_H
#include "Mutex.h" #include "rtos/Mutex.h"
#include "Semaphore.h" #include "rtos/Semaphore.h"
#include "Callback.h" #include "Callback.h"
#include "LinkEntry.h" #include "LinkEntry.h"