Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions TESTS/mbed_drivers/dev_null/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

#include "mbed.h"
#include "platform/Stream.h"
#include "greentea-client/test_env.h"

class DevNull : public Stream {
Expand Down
133 changes: 0 additions & 133 deletions drivers/RawSerial.h

This file was deleted.

168 changes: 0 additions & 168 deletions drivers/Serial.h

This file was deleted.

36 changes: 0 additions & 36 deletions drivers/SerialBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,42 +105,6 @@ class SerialBase : private NonCopyable<SerialBase> {
*/
void attach(Callback<void()> func, IrqType type = RxIrq);

/** Attach a member function to call whenever a serial interrupt is generated
*
* @param obj pointer to the object to call the member function on
* @param method pointer to the member function to be called
* @param type Which serial interrupt to attach the member function to (Serial::RxIrq for receive, TxIrq for transmit buffer empty)
* @deprecated
* The attach function does not support cv-qualifiers. Replaced by
* attach(callback(obj, method), type).
*/
template<typename T>
MBED_DEPRECATED_SINCE("mbed-os-5.1",
"The attach function does not support cv-qualifiers. Replaced by "
"attach(callback(obj, method), type).")
void attach(T *obj, void (T::*method)(), IrqType type = RxIrq)
{
attach(callback(obj, method), type);
}

/** Attach a member function to call whenever a serial interrupt is generated
*
* @param obj pointer to the object to call the member function on
* @param method pointer to the member function to be called
* @param type Which serial interrupt to attach the member function to (Serial::RxIrq for receive, TxIrq for transmit buffer empty)
* @deprecated
* The attach function does not support cv-qualifiers. Replaced by
* attach(callback(obj, method), type).
*/
template<typename T>
MBED_DEPRECATED_SINCE("mbed-os-5.1",
"The attach function does not support cv-qualifiers. Replaced by "
"attach(callback(obj, method), type).")
void attach(T *obj, void (*method)(T *), IrqType type = RxIrq)
{
attach(callback(obj, method), type);
}

/** Generate a break condition on the serial line
* NOTE: Clear break needs to run at least one frame after set_break is called
*/
Expand Down
Loading