mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11441 from gpsimenos/gp-move-source-files
Organize source files and add Doxygen labelspull/11455/head
commit
5e693778f4
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "rtx_lib.h"
|
#include "rtx_lib.h"
|
||||||
}
|
}
|
||||||
#include "platform/SysTimer.h"
|
#include "platform/source/SysTimer.h"
|
||||||
|
|
||||||
#define TEST_TICKS 42
|
#define TEST_TICKS 42
|
||||||
#define TEST_TICK_US (TEST_TICKS * 1000)
|
#define TEST_TICK_US (TEST_TICKS * 1000)
|
||||||
|
|
|
@ -38,7 +38,7 @@ using namespace mbed;
|
||||||
#if MBED_CONF_RTOS_API_PRESENT
|
#if MBED_CONF_RTOS_API_PRESENT
|
||||||
|
|
||||||
#include "rtos/Kernel.h"
|
#include "rtos/Kernel.h"
|
||||||
#include "platform/mbed_os_timer.h"
|
#include "platform/source/mbed_os_timer.h"
|
||||||
|
|
||||||
void equeue_tick_init()
|
void equeue_tick_init()
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,6 +22,12 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \defgroup mbed_thread Mbed Thread
|
||||||
|
* \ingroup platform-public-api
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
/** Generic thread functions.
|
/** Generic thread functions.
|
||||||
*
|
*
|
||||||
* These are C versions of functions provided in C++ via rtos::Thread and rtos::ThisThread
|
* These are C versions of functions provided in C++ via rtos::Thread and rtos::ThisThread
|
||||||
|
@ -59,6 +65,8 @@ void thread_sleep_for(uint32_t millisec);
|
||||||
*/
|
*/
|
||||||
void thread_sleep_until(uint64_t millisec);
|
void thread_sleep_until(uint64_t millisec);
|
||||||
|
|
||||||
|
/** @}*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include "mbed_assert.h"
|
#include "mbed_assert.h"
|
||||||
#include "platform/mbed_power_mgmt.h"
|
#include "platform/mbed_power_mgmt.h"
|
||||||
#include "platform/CriticalSectionLock.h"
|
#include "platform/CriticalSectionLock.h"
|
||||||
#include "platform/SysTimer.h"
|
#include "platform/source/SysTimer.h"
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#if MBED_CONF_RTOS_PRESENT
|
#if MBED_CONF_RTOS_PRESENT
|
||||||
#include "rtx_lib.h"
|
#include "rtx_lib.h"
|
|
@ -32,12 +32,8 @@ namespace mbed {
|
||||||
namespace internal {
|
namespace internal {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @cond MBED_INTERNAL
|
* \defgroup mbed_SysTimer SysTimer class
|
||||||
*
|
* \ingroup platform-internal-api
|
||||||
* @addtogroup mbed
|
|
||||||
* @{
|
|
||||||
*
|
|
||||||
* @defgroup mbed_SysTimer SysTimer class
|
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -239,11 +235,7 @@ protected:
|
||||||
bool _deep_sleep_locked;
|
bool _deep_sleep_locked;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/** @} */
|
||||||
* @}
|
|
||||||
* @}
|
|
||||||
* @endcond
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -16,9 +16,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "platform/mbed_power_mgmt.h"
|
#include "platform/mbed_power_mgmt.h"
|
||||||
#include "platform/mbed_os_timer.h"
|
#include "platform/source/mbed_os_timer.h"
|
||||||
#include "platform/CriticalSectionLock.h"
|
#include "platform/CriticalSectionLock.h"
|
||||||
#include "platform/SysTimer.h"
|
#include "platform/source/SysTimer.h"
|
||||||
#include "us_ticker_api.h"
|
#include "us_ticker_api.h"
|
||||||
#include "lp_ticker_api.h"
|
#include "lp_ticker_api.h"
|
||||||
#include "mbed_critical.h"
|
#include "mbed_critical.h"
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef MBED_MBED_SLEEP_TIMER_H
|
#ifndef MBED_MBED_SLEEP_TIMER_H
|
||||||
#define MBED_MBED_SLEEP_TIMER_H
|
#define MBED_MBED_SLEEP_TIMER_H
|
||||||
|
|
||||||
#include "platform/SysTimer.h"
|
#include "platform/source/SysTimer.h"
|
||||||
|
|
||||||
#if MBED_CONF_RTOS_PRESENT
|
#if MBED_CONF_RTOS_PRESENT
|
||||||
extern "C" {
|
extern "C" {
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
#include "platform/mbed_thread.h"
|
#include "platform/mbed_thread.h"
|
||||||
#include "platform/mbed_critical.h"
|
#include "platform/mbed_critical.h"
|
||||||
#include "platform/mbed_os_timer.h"
|
#include "platform/source/mbed_os_timer.h"
|
||||||
|
|
||||||
/* If the RTOS is present, we call the RTOS API to do the work */
|
/* 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 */
|
/* If the RTOS is not present, the RTOS API calls us to do the work */
|
|
@ -24,7 +24,7 @@
|
||||||
#include "rtos_idle.h"
|
#include "rtos_idle.h"
|
||||||
#include "rtos_handlers.h"
|
#include "rtos_handlers.h"
|
||||||
#include "platform/mbed_critical.h"
|
#include "platform/mbed_critical.h"
|
||||||
#include "platform/mbed_os_timer.h"
|
#include "platform/source/mbed_os_timer.h"
|
||||||
|
|
||||||
#if !MBED_CONF_RTOS_PRESENT
|
#if !MBED_CONF_RTOS_PRESENT
|
||||||
/* If the RTOS is not present, we call mbed_thread.cpp to do the work */
|
/* If the RTOS is not present, we call mbed_thread.cpp to do the work */
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "platform/mbed_assert.h"
|
#include "platform/mbed_assert.h"
|
||||||
#include "platform/mbed_critical.h"
|
#include "platform/mbed_critical.h"
|
||||||
#include "platform/mbed_error.h"
|
#include "platform/mbed_error.h"
|
||||||
#include "platform/mbed_os_timer.h"
|
#include "platform/source/mbed_os_timer.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "rtos/source/rtos_idle.h"
|
#include "rtos/source/rtos_idle.h"
|
||||||
#include "platform/mbed_power_mgmt.h"
|
#include "platform/mbed_power_mgmt.h"
|
||||||
#include "platform/mbed_os_timer.h"
|
#include "platform/source/mbed_os_timer.h"
|
||||||
#include "TimerEvent.h"
|
#include "TimerEvent.h"
|
||||||
#include "mbed_critical.h"
|
#include "mbed_critical.h"
|
||||||
#include "mbed_assert.h"
|
#include "mbed_assert.h"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "platform/CriticalSectionLock.h"
|
#include "platform/CriticalSectionLock.h"
|
||||||
#include "platform/mbed_assert.h"
|
#include "platform/mbed_assert.h"
|
||||||
#include "platform/mbed_critical.h"
|
#include "platform/mbed_critical.h"
|
||||||
#include "platform/mbed_os_timer.h"
|
#include "platform/source/mbed_os_timer.h"
|
||||||
|
|
||||||
#if !MBED_CONF_RTOS_PRESENT
|
#if !MBED_CONF_RTOS_PRESENT
|
||||||
/* If the RTOS is not present, we call mbed_thread.cpp to do the work */
|
/* If the RTOS is not present, we call mbed_thread.cpp to do the work */
|
||||||
|
|
Loading…
Reference in New Issue