Clean up include paths.

pull/7903/head
Thomas Kemmer 2018-08-27 20:47:19 +02:00
parent 1b051c7687
commit a16c374725
8 changed files with 24 additions and 24 deletions

View File

@ -24,7 +24,7 @@
#include <string.h> #include <string.h>
#include <algorithm> #include <algorithm>
#include "FlashIAP.h" #include "FlashIAP.h"
#include "mbed_assert.h" #include "platform/mbed_assert.h"
#ifdef DEVICE_FLASH #ifdef DEVICE_FLASH

View File

@ -20,10 +20,10 @@
#if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY) #if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY)
#include "Stream.h" #include "platform/Stream.h"
#include "SerialBase.h" #include "SerialBase.h"
#include "PlatformMutex.h" #include "platform/PlatformMutex.h"
#include "serial_api.h" #include "hal/serial_api.h"
#include "platform/NonCopyable.h" #include "platform/NonCopyable.h"
namespace mbed { namespace mbed {

View File

@ -20,14 +20,14 @@
#if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY) #if defined (DEVICE_SERIAL) || defined(DOXYGEN_ONLY)
#include "Callback.h" #include "platform/Callback.h"
#include "serial_api.h" #include "hal/serial_api.h"
#include "mbed_toolchain.h" #include "platform/mbed_toolchain.h"
#include "platform/NonCopyable.h" #include "platform/NonCopyable.h"
#if DEVICE_SERIAL_ASYNCH #if DEVICE_SERIAL_ASYNCH
#include "CThunk.h" #include "platform/CThunk.h"
#include "dma_api.h" #include "hal/dma_api.h"
#endif #endif
namespace mbed { namespace mbed {

View File

@ -21,12 +21,12 @@
#if (DEVICE_SERIAL && DEVICE_INTERRUPTIN) || defined(DOXYGEN_ONLY) #if (DEVICE_SERIAL && DEVICE_INTERRUPTIN) || defined(DOXYGEN_ONLY)
#include "FileHandle.h" #include "platform/FileHandle.h"
#include "SerialBase.h" #include "SerialBase.h"
#include "InterruptIn.h" #include "InterruptIn.h"
#include "PlatformMutex.h" #include "platform/PlatformMutex.h"
#include "serial_api.h" #include "hal/serial_api.h"
#include "CircularBuffer.h" #include "platform/CircularBuffer.h"
#include "platform/NonCopyable.h" #include "platform/NonCopyable.h"
#ifndef MBED_CONF_DRIVERS_UART_SERIAL_RXBUF_SIZE #ifndef MBED_CONF_DRIVERS_UART_SERIAL_RXBUF_SIZE

View File

@ -14,18 +14,18 @@
* limitations under the License. * limitations under the License.
*/ */
#include "mbed_assert.h" #include "platform/mbed_assert.h"
#include "mbed_power_mgmt.h" #include "platform/mbed_power_mgmt.h"
#include "mbed_critical.h" #include "platform/mbed_critical.h"
#include "sleep_api.h" #include "sleep_api.h"
#include "mbed_error.h" #include "platform/mbed_error.h"
#include "mbed_debug.h" #include "platform/mbed_debug.h"
#include "mbed_stats.h" #include "platform/mbed_stats.h"
#include "us_ticker_api.h" #include "us_ticker_api.h"
#include "lp_ticker_api.h" #include "lp_ticker_api.h"
#include <limits.h> #include <limits.h>
#include <stdio.h> #include <stdio.h>
#include "mbed_stats.h" #include "platform/mbed_stats.h"
#if DEVICE_SLEEP #if DEVICE_SLEEP

View File

@ -17,7 +17,7 @@
#include <stddef.h> #include <stddef.h>
#include "hal/ticker_api.h" #include "hal/ticker_api.h"
#include "platform/mbed_critical.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 schedule_interrupt(const ticker_data_t *const ticker);
static void update_present_time(const ticker_data_t *const ticker); static void update_present_time(const ticker_data_t *const ticker);

View File

@ -20,8 +20,8 @@
#include "rtos/Thread.h" #include "rtos/Thread.h"
using namespace rtos; using namespace rtos;
#else #else
#include "Timer.h" #include "drivers/Timer.h"
#include "LowPowerTimer.h" #include "drivers/LowPowerTimer.h"
#endif #endif
namespace mbed { namespace mbed {

View File

@ -23,7 +23,7 @@
#ifndef MBED_POWER_MGMT_H #ifndef MBED_POWER_MGMT_H
#define MBED_POWER_MGMT_H #define MBED_POWER_MGMT_H
#include "sleep_api.h" #include "hal/sleep_api.h"
#include "mbed_toolchain.h" #include "mbed_toolchain.h"
#include "hal/ticker_api.h" #include "hal/ticker_api.h"
#include <stdbool.h> #include <stdbool.h>