Skip to content

Commit 301b77c

Browse files
committed
For drivers, events, hal, platform, rtos and mbed.h add one level of path to make sure specific and unique includes files are found.
1 parent b7fcfd9 commit 301b77c

File tree

114 files changed

+336
-552
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+336
-552
lines changed

drivers/AnalogIn.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include "mbed.h"
18-
19-
#include "AnalogIn.h"
17+
#include "drivers/AnalogIn.h"
2018

2119
#if DEVICE_ANALOGIN
2220

drivers/AnalogIn.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
#ifndef MBED_ANALOGIN_H
1717
#define MBED_ANALOGIN_H
1818

19-
#include "platform.h"
19+
#include "platform/platform.h"
2020

2121
#if DEVICE_ANALOGIN
2222

23-
#include "analogin_api.h"
24-
#include "SingletonPtr.h"
25-
#include "PlatformMutex.h"
23+
#include "hal/analogin_api.h"
24+
#include "platform/SingletonPtr.h"
25+
#include "platform/PlatformMutex.h"
2626

2727
namespace mbed {
2828

drivers/AnalogOut.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
#ifndef MBED_ANALOGOUT_H
1717
#define MBED_ANALOGOUT_H
1818

19-
#include "platform.h"
19+
#include "platform/platform.h"
2020

2121
#if DEVICE_ANALOGOUT
2222

23-
#include "analogout_api.h"
24-
#include "PlatformMutex.h"
23+
#include "hal/analogout_api.h"
24+
#include "platform/PlatformMutex.h"
2525

2626
namespace mbed {
2727

drivers/BusIn.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
#include "BusIn.h"
17-
#include "mbed_assert.h"
16+
#include "drivers/BusIn.h"
17+
#include "platform/mbed_assert.h"
1818

1919
namespace mbed {
2020

drivers/BusIn.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
#ifndef MBED_BUSIN_H
1717
#define MBED_BUSIN_H
1818

19-
#include "platform.h"
20-
#include "DigitalIn.h"
21-
#include "PlatformMutex.h"
19+
#include "platform/platform.h"
20+
#include "drivers/DigitalIn.h"
21+
#include "platform/PlatformMutex.h"
2222

2323
namespace mbed {
2424

drivers/BusInOut.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
#include "BusInOut.h"
17-
#include "mbed_assert.h"
16+
#include "drivers/BusInOut.h"
17+
#include "platform/mbed_assert.h"
1818

1919
namespace mbed {
2020

drivers/BusInOut.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#ifndef MBED_BUSINOUT_H
1717
#define MBED_BUSINOUT_H
1818

19-
#include "DigitalInOut.h"
20-
#include "PlatformMutex.h"
19+
#include "drivers/DigitalInOut.h"
20+
#include "platform/PlatformMutex.h"
2121

2222
namespace mbed {
2323

drivers/BusOut.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
#include "BusOut.h"
17-
#include "mbed_assert.h"
16+
#include "drivers/BusOut.h"
17+
#include "platform/mbed_assert.h"
1818

1919
namespace mbed {
2020

drivers/BusOut.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#ifndef MBED_BUSOUT_H
1717
#define MBED_BUSOUT_H
1818

19-
#include "DigitalOut.h"
20-
#include "PlatformMutex.h"
19+
#include "drivers/DigitalOut.h"
20+
#include "platform/PlatformMutex.h"
2121

2222
namespace mbed {
2323

drivers/CAN.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
#include "CAN.h"
16+
#include "drivers/CAN.h"
1717

1818
#if DEVICE_CAN
1919

0 commit comments

Comments
 (0)