mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14418 from hugueskamba/hk_cmake_fix_ep_atlas
EP_ATLAS: Fix mbedtools build errorspull/14429/head
commit
68fb11e912
|
@ -15,6 +15,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#if MBED_CONF_CELLULAR_PRESENT
|
||||
|
||||
#include "gpio_api.h"
|
||||
#include "platform/mbed_thread.h"
|
||||
#include "PinNames.h"
|
||||
|
@ -167,3 +169,5 @@ CellularDevice *CellularDevice::get_target_default_instance()
|
|||
static ONBOARD_TELIT_ME310 device(&serial);
|
||||
return &device;
|
||||
}
|
||||
|
||||
#endif // MBED_CONF_CELLULAR_PRESENT
|
||||
|
|
|
@ -16,15 +16,15 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "USBSerial.h"
|
||||
#include "platform/mbed_retarget.h"
|
||||
|
||||
#ifndef MBED_CONF_EP_ATLAS_ENABLE_USB_STDIO_CONSOLE
|
||||
#define MBED_CONF_EP_ATLAS_ENABLE_USB_STDIO_CONSOLE 0
|
||||
#endif
|
||||
|
||||
#if MBED_CONF_EP_ATLAS_ENABLE_USB_STDIO_CONSOLE
|
||||
|
||||
#include "USBSerial.h"
|
||||
#include "platform/mbed_retarget.h"
|
||||
|
||||
/* Retarget stdio to USBSerial */
|
||||
mbed::FileHandle *mbed::mbed_target_override_console(int fd)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue