Skip to content

Commit

Permalink
Merge pull request #14418 from hugueskamba/hk_cmake_fix_ep_atlas
Browse files Browse the repository at this point in the history
EP_ATLAS: Fix mbedtools build errors
  • Loading branch information
0xc0170 authored Mar 15, 2021
2 parents 9d48bfe + 811a72a commit 68fb11e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -167,3 +169,5 @@ CellularDevice *CellularDevice::get_target_default_instance()
static ONBOARD_TELIT_ME310 device(&serial);
return &device;
}

#endif // MBED_CONF_CELLULAR_PRESENT
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 68fb11e

Please sign in to comment.