mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Fix EP_ATLAS build
Enable Onboard TELIT ME310 driver only when cellular library is included. This allows us to remove the cellular library as a requirement to build applications that do not require it (i.e Blinky).pull/14418/head
parent
8a19e3ecfc
commit
2da1972012
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue