Skip to content

Commit 646cc89

Browse files
authored
Merge pull request #2878 from geky/restructure
Restructure directory layout
2 parents cf60b18 + b8fb7a6 commit 646cc89

File tree

7,948 files changed

+512
-671
lines changed

Some content is hidden

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

7,948 files changed

+512
-671
lines changed

MANIFEST.in

Lines changed: 0 additions & 3 deletions
This file was deleted.

hal/common/AnalogIn.cpp renamed to 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

hal/api/AnalogIn.h renamed to 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

hal/api/AnalogOut.h renamed to 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

hal/common/BusIn.cpp renamed to 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

hal/api/BusIn.h renamed to 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

hal/common/BusInOut.cpp renamed to 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

hal/api/BusInOut.h renamed to 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

hal/common/BusOut.cpp renamed to 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

hal/api/BusOut.h renamed to 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

0 commit comments

Comments
 (0)