Skip to content

Commit 6973ee6

Browse files
authored
Merge pull request #2302 from c1728p9/fix_rtc
Fix RTC test for LPC and STM families on GCC
2 parents 1fb0408 + 1da259a commit 6973ee6

19 files changed

+74
-40
lines changed

hal/api/AnalogIn.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
#include "analogin_api.h"
2424
#include "SingletonPtr.h"
25+
#include "PlatformMutex.h"
2526

2627
namespace mbed {
2728

hal/api/AnalogOut.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#if DEVICE_ANALOGOUT
2222

2323
#include "analogout_api.h"
24+
#include "PlatformMutex.h"
2425

2526
namespace mbed {
2627

hal/api/BusIn.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include "platform.h"
2020
#include "DigitalIn.h"
21+
#include "PlatformMutex.h"
2122

2223
namespace mbed {
2324

hal/api/BusInOut.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#define MBED_BUSINOUT_H
1818

1919
#include "DigitalInOut.h"
20+
#include "PlatformMutex.h"
2021

2122
namespace mbed {
2223

hal/api/BusOut.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#define MBED_BUSOUT_H
1818

1919
#include "DigitalOut.h"
20+
#include "PlatformMutex.h"
2021

2122
namespace mbed {
2223

hal/api/CAN.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "can_api.h"
2424
#include "can_helper.h"
2525
#include "Callback.h"
26+
#include "PlatformMutex.h"
2627

2728
namespace mbed {
2829

hal/api/FileBase.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ typedef long off_t;
4242

4343
#include "platform.h"
4444
#include "SingletonPtr.h"
45+
#include "PlatformMutex.h"
4546

4647
namespace mbed {
4748

hal/api/I2C.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
#include "i2c_api.h"
2424
#include "SingletonPtr.h"
25+
#include "PlatformMutex.h"
2526

2627
#if DEVICE_I2C_ASYNCH
2728
#include "CThunk.h"

hal/api/InterruptManager.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#ifndef MBED_INTERRUPTMANAGER_H
22
#define MBED_INTERRUPTMANAGER_H
33

4-
#include "platform.h"
5-
64
#include "cmsis.h"
75
#include "CallChain.h"
6+
#include "PlatformMutex.h"
87
#include <string.h>
98

109
namespace mbed {

hal/api/LocalFileSystem.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#if DEVICE_LOCALFILESYSTEM
2222

2323
#include "FileSystemLike.h"
24+
#include "PlatformMutex.h"
2425

2526
namespace mbed {
2627

0 commit comments

Comments
 (0)