mirror of https://github.com/ARMmbed/mbed-os.git
platform: remove platform/ prefix for source
If we take platform as a component, platform/source would be outside of this component. I removed the prefix as these are implementation specific (they are located in source folder, not in include as the others).pull/13459/head
parent
890f0562dc
commit
8078e20cb4
|
|
@ -22,7 +22,7 @@
|
|||
#include "mbed_assert.h"
|
||||
#include "platform/mbed_power_mgmt.h"
|
||||
#include "platform/CriticalSectionLock.h"
|
||||
#include "platform/source/SysTimer.h"
|
||||
#include "source/SysTimer.h"
|
||||
extern "C" {
|
||||
#if MBED_CONF_RTOS_PRESENT
|
||||
#include "rtx_lib.h"
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@
|
|||
#include "platform/mbed_atomic.h"
|
||||
#include "platform/mbed_critical.h"
|
||||
#include "platform/mbed_error.h"
|
||||
#include "platform/source/mbed_error_hist.h"
|
||||
#include "platform/mbed_interface.h"
|
||||
#include "platform/mbed_power_mgmt.h"
|
||||
#include "platform/mbed_stats.h"
|
||||
#include "platform/internal/mbed_fault_handler.h"
|
||||
#include "source/mbed_error_hist.h"
|
||||
#include "drivers/MbedCRC.h"
|
||||
#include "mbed_rtx.h"
|
||||
#ifdef MBED_CONF_RTOS_PRESENT
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
#include "platform/mbed_critical.h"
|
||||
|
||||
#if MBED_CONF_PLATFORM_ERROR_HIST_ENABLED
|
||||
#include "platform/source/mbed_error_hist.h"
|
||||
#include "source/mbed_error_hist.h"
|
||||
|
||||
static mbed_error_ctx mbed_error_ctx_log[MBED_CONF_PLATFORM_ERROR_HIST_SIZE] = {0};
|
||||
static int error_log_count = -1;
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@
|
|||
*/
|
||||
|
||||
#include "platform/mbed_power_mgmt.h"
|
||||
#include "platform/source/mbed_os_timer.h"
|
||||
#include "platform/CriticalSectionLock.h"
|
||||
#include "platform/source/SysTimer.h"
|
||||
#include "source/SysTimer.h"
|
||||
#include "source/mbed_os_timer.h"
|
||||
#include "us_ticker_api.h"
|
||||
#include "lp_ticker_api.h"
|
||||
#include "mbed_critical.h"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#define MBED_MBED_SLEEP_TIMER_H
|
||||
|
||||
#include <chrono>
|
||||
#include "platform/source/SysTimer.h"
|
||||
#include "source/SysTimer.h"
|
||||
|
||||
#if MBED_CONF_RTOS_PRESENT
|
||||
extern "C" {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include "platform/mbed_thread.h"
|
||||
#include "platform/mbed_critical.h"
|
||||
#include "platform/source/mbed_os_timer.h"
|
||||
#include "source/mbed_os_timer.h"
|
||||
|
||||
/* If the RTOS is present, we call the RTOS API to do the work */
|
||||
/* If the RTOS is not present, the RTOS API calls us to do the work */
|
||||
|
|
|
|||
Loading…
Reference in New Issue