mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
eeae3d73dd
commit
6c405d2492
|
@ -22,10 +22,10 @@
|
|||
#include "USBDescriptor.h"
|
||||
#include "USBDevice.h"
|
||||
#include "ByteBuffer.h"
|
||||
#include "Mutex.h"
|
||||
#include "rtos/Mutex.h"
|
||||
#include "EventFlags.h"
|
||||
#include "events/EventQueue.h"
|
||||
#include "Thread.h"
|
||||
#include "rtos/Thread.h"
|
||||
#include "Callback.h"
|
||||
|
||||
#define MAX_PACKET_SIZE_INT (64)
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "USBDevice.h"
|
||||
#include "MIDIMessage.h"
|
||||
#include "EventFlags.h"
|
||||
#include "Mutex.h"
|
||||
#include "rtos/Mutex.h"
|
||||
#include "Callback.h"
|
||||
|
||||
#define DEFAULT_CONFIGURATION (1)
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "usb/internal/PolledQueue.h"
|
||||
#include "usb/internal/Task.h"
|
||||
#include "BlockDevice.h"
|
||||
#include "Mutex.h"
|
||||
#include "rtos/Mutex.h"
|
||||
|
||||
#include "USBDevice.h"
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
#ifndef MBED_ASYNC_OP_H
|
||||
#define MBED_ASYNC_OP_H
|
||||
|
||||
#include "Mutex.h"
|
||||
#include "Semaphore.h"
|
||||
#include "rtos/Mutex.h"
|
||||
#include "rtos/Semaphore.h"
|
||||
#include "Callback.h"
|
||||
|
||||
#include "LinkEntry.h"
|
||||
|
|
Loading…
Reference in New Issue