Skip to content

Commit d04b0a3

Browse files
committed
Rename newly created internal subdir to source dir
This avoids the overlap in meaning with a strong `internal` dir which would allow shipping the public header without the content of the internal dir. The subirs `source` instead contain classes and APIs that users should not use and are subject to change.
1 parent 71137a4 commit d04b0a3

Some content is hidden

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

67 files changed

+21
-21
lines changed

TESTS/mbed_drivers/timerevent/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "greentea-client/test_env.h"
2222
#include "unity.h"
2323
#include "utest.h"
24-
#include "drivers/internal/TimerEvent.h"
24+
#include "drivers/source/TimerEvent.h"
2525
#include "hal/ticker_api.h"
2626
#include "rtos.h"
2727

UNITTESTS/stubs/SerialBase_stub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#include "drivers/internal/SerialBase.h"
18+
#include "drivers/source/SerialBase.h"
1919

2020
namespace mbed {
2121

drivers/MbedCRC.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifndef MBED_CRC_API_H
1818
#define MBED_CRC_API_H
1919

20-
#include "drivers/internal/TableCRC.h"
20+
#include "drivers/source/TableCRC.h"
2121
#include "hal/crc_api.h"
2222
#include "platform/mbed_assert.h"
2323
#include "platform/SingletonPtr.h"

drivers/RawSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#if DEVICE_SERIAL || defined(DOXYGEN_ONLY)
2323

2424
#include "mbed_toolchain.h"
25-
#include "drivers/internal/SerialBase.h"
25+
#include "drivers/source/SerialBase.h"
2626
#include "platform/NonCopyable.h"
2727
#include <cstdarg>
2828

drivers/Serial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#if DEVICE_SERIAL || defined(DOXYGEN_ONLY)
2323

2424
#include "platform/Stream.h"
25-
#include "drivers/internal/SerialBase.h"
25+
#include "drivers/source/SerialBase.h"
2626
#include "platform/PlatformMutex.h"
2727
#include "platform/NonCopyable.h"
2828

drivers/Ticker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifndef MBED_TICKER_H
1818
#define MBED_TICKER_H
1919

20-
#include "drivers/internal/TimerEvent.h"
20+
#include "drivers/source/TimerEvent.h"
2121
#include "platform/Callback.h"
2222
#include "platform/mbed_toolchain.h"
2323
#include "platform/NonCopyable.h"

drivers/UARTSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#if (DEVICE_SERIAL && DEVICE_INTERRUPTIN) || defined(DOXYGEN_ONLY)
2424

2525
#include "platform/FileHandle.h"
26-
#include "drivers/internal/SerialBase.h"
26+
#include "drivers/source/SerialBase.h"
2727
#include "InterruptIn.h"
2828
#include "platform/PlatformMutex.h"
2929
#include "platform/CircularBuffer.h"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

drivers/internal/SerialBase.cpp renamed to drivers/source/SerialBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
#include "drivers/internal/SerialBase.h"
17+
#include "drivers/source/SerialBase.h"
1818
#include "platform/mbed_wait_api.h"
1919
#include "platform/mbed_critical.h"
2020
#include "platform/mbed_power_mgmt.h"

drivers/internal/TableCRC.cpp renamed to drivers/source/TableCRC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#include <stdint.h>
19-
#include "drivers/internal/TableCRC.h"
19+
#include "drivers/source/TableCRC.h"
2020

2121
namespace mbed {
2222

File renamed without changes.

drivers/internal/Ticker.cpp renamed to drivers/source/Ticker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
#include "drivers/Ticker.h"
1818

19-
#include "drivers/internal/TimerEvent.h"
19+
#include "drivers/source/TimerEvent.h"
2020
#include "platform/FunctionPointer.h"
2121
#include "hal/ticker_api.h"
2222
#include "platform/mbed_critical.h"
File renamed without changes.
File renamed without changes.

drivers/internal/TimerEvent.cpp renamed to drivers/source/TimerEvent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
#include "drivers/internal/TimerEvent.h"
17+
#include "drivers/source/TimerEvent.h"
1818

1919
#include <stddef.h>
2020
#include "hal/us_ticker_api.h"
File renamed without changes.

events/EventQueue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#ifndef EVENT_QUEUE_H
1919
#define EVENT_QUEUE_H
2020

21-
#include "events/internal/equeue.h"
21+
#include "events/source/equeue.h"
2222
#include "platform/Callback.h"
2323
#include "platform/NonCopyable.h"
2424
#include <cstddef>
File renamed without changes.
File renamed without changes.
File renamed without changes.

events/internal/equeue.c renamed to events/source/equeue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18-
#include "events/internal/equeue.h"
18+
#include "events/source/equeue.h"
1919

2020
#include <stdlib.h>
2121
#include <stdint.h>

events/internal/equeue.h renamed to events/source/equeue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extern "C" {
2424
#endif
2525

2626
// Platform specific files
27-
#include "events/internal/equeue_platform.h"
27+
#include "events/source/equeue_platform.h"
2828

2929
#include <stddef.h>
3030
#include <stdint.h>

events/internal/equeue_mbed.cpp renamed to events/source/equeue_mbed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* See the License for the specific language governing permissions and
1717
* limitations under the License.
1818
*/
19-
#include "events/internal/equeue_platform.h"
19+
#include "events/source/equeue_platform.h"
2020

2121
#if defined(EQUEUE_PLATFORM_MBED)
2222

File renamed without changes.

events/internal/equeue_posix.c renamed to events/source/equeue_posix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18-
#include "events/internal/equeue_platform.h"
18+
#include "events/source/equeue_platform.h"
1919

2020
#if defined(EQUEUE_PLATFORM_POSIX)
2121

File renamed without changes.
File renamed without changes.

rtos/TARGET_CORTEX/SysTimer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#if MBED_TICKLESS || defined(DOXYGEN_ONLY)
2626

2727
#include "platform/NonCopyable.h"
28-
#include "drivers/internal/TimerEvent.h"
28+
#include "drivers/source/TimerEvent.h"
2929

3030
namespace rtos {
3131
namespace internal {

rtos/TARGET_CORTEX/mbed_rtx_handlers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#include "mbed_error.h"
2323
#include "mbed_interface.h"
2424
#include "RTX_Config.h"
25-
#include "rtos/internal/rtos_handlers.h"
26-
#include "rtos/internal/rtos_idle.h"
25+
#include "rtos/source/rtos_handlers.h"
26+
#include "rtos/source/rtos_idle.h"
2727

2828
#ifdef RTE_Compiler_EventRecorder
2929
#include "EventRecorder.h" // Keil::Compiler:Event Recorder

rtos/TARGET_CORTEX/mbed_rtx_idle.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
* SOFTWARE.
2121
*/
2222

23-
#include "rtos/internal/rtos_idle.h"
23+
#include "rtos/source/rtos_idle.h"
2424
#include "platform/mbed_power_mgmt.h"
25-
#include "drivers/internal/TimerEvent.h"
25+
#include "drivers/source/TimerEvent.h"
2626
#include "lp_ticker_api.h"
2727
#include "us_ticker_api.h"
2828
#include "mbed_critical.h"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)