mirror of https://github.com/ARMmbed/mbed-os.git
Clean up include paths.
parent
1b051c7687
commit
a16c374725
|
@ -24,7 +24,7 @@
|
|||
#include <string.h>
|
||||
#include <algorithm>
|
||||
#include "FlashIAP.h"
|
||||
#include "mbed_assert.h"
|
||||
#include "platform/mbed_assert.h"
|
||||
|
||||
|
||||
#ifdef DEVICE_FLASH
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
|
||||
#if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "Stream.h"
|
||||
#include "platform/Stream.h"
|
||||
#include "SerialBase.h"
|
||||
#include "PlatformMutex.h"
|
||||
#include "serial_api.h"
|
||||
#include "platform/PlatformMutex.h"
|
||||
#include "hal/serial_api.h"
|
||||
#include "platform/NonCopyable.h"
|
||||
|
||||
namespace mbed {
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
|
||||
#if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "Callback.h"
|
||||
#include "serial_api.h"
|
||||
#include "mbed_toolchain.h"
|
||||
#include "platform/Callback.h"
|
||||
#include "hal/serial_api.h"
|
||||
#include "platform/mbed_toolchain.h"
|
||||
#include "platform/NonCopyable.h"
|
||||
|
||||
#if DEVICE_SERIAL_ASYNCH
|
||||
#include "CThunk.h"
|
||||
#include "dma_api.h"
|
||||
#include "platform/CThunk.h"
|
||||
#include "hal/dma_api.h"
|
||||
#endif
|
||||
|
||||
namespace mbed {
|
||||
|
|
|
@ -21,12 +21,12 @@
|
|||
|
||||
#if (DEVICE_SERIAL && DEVICE_INTERRUPTIN) || defined(DOXYGEN_ONLY)
|
||||
|
||||
#include "FileHandle.h"
|
||||
#include "platform/FileHandle.h"
|
||||
#include "SerialBase.h"
|
||||
#include "InterruptIn.h"
|
||||
#include "PlatformMutex.h"
|
||||
#include "serial_api.h"
|
||||
#include "CircularBuffer.h"
|
||||
#include "platform/PlatformMutex.h"
|
||||
#include "hal/serial_api.h"
|
||||
#include "platform/CircularBuffer.h"
|
||||
#include "platform/NonCopyable.h"
|
||||
|
||||
#ifndef MBED_CONF_DRIVERS_UART_SERIAL_RXBUF_SIZE
|
||||
|
|
|
@ -14,18 +14,18 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "mbed_assert.h"
|
||||
#include "mbed_power_mgmt.h"
|
||||
#include "mbed_critical.h"
|
||||
#include "platform/mbed_assert.h"
|
||||
#include "platform/mbed_power_mgmt.h"
|
||||
#include "platform/mbed_critical.h"
|
||||
#include "sleep_api.h"
|
||||
#include "mbed_error.h"
|
||||
#include "mbed_debug.h"
|
||||
#include "mbed_stats.h"
|
||||
#include "platform/mbed_error.h"
|
||||
#include "platform/mbed_debug.h"
|
||||
#include "platform/mbed_stats.h"
|
||||
#include "us_ticker_api.h"
|
||||
#include "lp_ticker_api.h"
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include "mbed_stats.h"
|
||||
#include "platform/mbed_stats.h"
|
||||
|
||||
|
||||
#if DEVICE_SLEEP
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <stddef.h>
|
||||
#include "hal/ticker_api.h"
|
||||
#include "platform/mbed_critical.h"
|
||||
#include "mbed_assert.h"
|
||||
#include "platform/mbed_assert.h"
|
||||
|
||||
static void schedule_interrupt(const ticker_data_t *const ticker);
|
||||
static void update_present_time(const ticker_data_t *const ticker);
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
#include "rtos/Thread.h"
|
||||
using namespace rtos;
|
||||
#else
|
||||
#include "Timer.h"
|
||||
#include "LowPowerTimer.h"
|
||||
#include "drivers/Timer.h"
|
||||
#include "drivers/LowPowerTimer.h"
|
||||
#endif
|
||||
|
||||
namespace mbed {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef MBED_POWER_MGMT_H
|
||||
#define MBED_POWER_MGMT_H
|
||||
|
||||
#include "sleep_api.h"
|
||||
#include "hal/sleep_api.h"
|
||||
#include "mbed_toolchain.h"
|
||||
#include "hal/ticker_api.h"
|
||||
#include <stdbool.h>
|
||||
|
|
Loading…
Reference in New Issue