mirror of https://github.com/ARMmbed/mbed-os.git
commit
8fd8ea2fed
|
@ -50,4 +50,5 @@ set(unittest-test-flags
|
|||
-DDEVICE_INTERRUPTIN=1
|
||||
-DMBED_CONF_CELLULAR_USE_SMS=1
|
||||
-DMBED_CONF_NSAPI_DEFAULT_CELLULAR_APN=NULL
|
||||
-DMBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE=115200
|
||||
)
|
||||
|
|
|
@ -40,4 +40,5 @@ set(unittest-test-sources
|
|||
set(unittest-test-flags
|
||||
-DDEVICE_SERIAL=1
|
||||
-DDEVICE_INTERRUPTIN=1
|
||||
-DMBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE=115200
|
||||
)
|
||||
|
|
|
@ -42,4 +42,5 @@ set(unittest-test-sources
|
|||
set(unittest-test-flags
|
||||
-DDEVICE_SERIAL=1
|
||||
-DDEVICE_INTERRUPTIN=1
|
||||
-DMBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE=115200
|
||||
)
|
||||
|
|
|
@ -44,4 +44,5 @@ set(unittest-test-flags
|
|||
-DMBED_CONF_CELLULAR_USE_SMS=1
|
||||
-DDEVICE_SERIAL=1
|
||||
-DDEVICE_INTERRUPTIN=1
|
||||
-DMBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE=115200
|
||||
)
|
||||
|
|
|
@ -49,5 +49,6 @@ set(unittest-test-sources
|
|||
set(unittest-test-flags
|
||||
-DDEVICE_SERIAL=1
|
||||
-DDEVICE_INTERRUPTIN=1
|
||||
-DMBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE=115200
|
||||
)
|
||||
|
||||
|
|
|
@ -45,4 +45,5 @@ set(unittest-test-flags
|
|||
-DOS_STACK_SIZE=2048
|
||||
-DDEVICE_SERIAL=1
|
||||
-DDEVICE_INTERRUPTIN=1
|
||||
-DMBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE=115200
|
||||
)
|
||||
|
|
|
@ -49,6 +49,3 @@ set(unittest-test-flags
|
|||
-DDEVICE_INTERRUPTIN=1
|
||||
)
|
||||
|
||||
# defines
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DMDMRTS=PTC0 -DMDMCTS=PTC1 -DMDMTXD=NC -DMDMRXD=NC -DMBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE=115200 -DCELLULAR_DEVICE=myCellularDevice -DDEVICE_SERIAL_FC=1")
|
||||
|
|
|
@ -26,4 +26,5 @@ set(unittest-test-sources
|
|||
set(unittest-test-flags
|
||||
-DDEVICE_SERIAL=1
|
||||
-DDEVICE_INTERRUPTIN=1
|
||||
-DMBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE=115200
|
||||
)
|
||||
|
|
|
@ -130,9 +130,11 @@ int UARTSerial::enable_output(bool enabled)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if DEVICE_SERIAL_FC
|
||||
void UARTSerial::set_flow_control(mbed::SerialBase::Flow, PinName, PinName)
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue