mirror of https://github.com/ARMmbed/mbed-os.git
Removing cellular references to COMMON_PAL
parent
f9b236a0e1
commit
da6ce029ea
|
|
@ -53,7 +53,6 @@ You can define the debug tracing level in the `mbed_app.json` configuration file
|
||||||
|
|
||||||
"target_overrides": {
|
"target_overrides": {
|
||||||
"*": {
|
"*": {
|
||||||
"target.features_add": ["COMMON_PAL"],
|
|
||||||
"mbed-trace.enable": true,
|
"mbed-trace.enable": true,
|
||||||
"platform.stdio-convert-newlines": true,
|
"platform.stdio-convert-newlines": true,
|
||||||
"platform.stdio-baud-rate": 115200,
|
"platform.stdio-baud-rate": 115200,
|
||||||
|
|
|
||||||
|
|
@ -21,14 +21,8 @@
|
||||||
#if MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP
|
#if MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP
|
||||||
#include "APN_db.h"
|
#include "APN_db.h"
|
||||||
#endif //MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP
|
#endif //MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP
|
||||||
#if defined(FEATURE_COMMON_PAL)
|
|
||||||
#include "mbed_trace.h"
|
#include "mbed_trace.h"
|
||||||
#define TRACE_GROUP "UCID"
|
#define TRACE_GROUP "UCID"
|
||||||
#else
|
|
||||||
#define tr_debug(...) (void(0)) //dummies if feature common pal is not added
|
|
||||||
#define tr_info(...) (void(0)) //dummies if feature common pal is not added
|
|
||||||
#define tr_error(...) (void(0)) //dummies if feature common pal is not added
|
|
||||||
#endif //defined(FEATURE_COMMON_PAL)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PDP (packet data profile) Context
|
* PDP (packet data profile) Context
|
||||||
|
|
|
||||||
|
|
@ -27,14 +27,8 @@
|
||||||
#include "OnboardCellularInterface.h"
|
#include "OnboardCellularInterface.h"
|
||||||
#include "UDPSocket.h"
|
#include "UDPSocket.h"
|
||||||
#include "TCPSocket.h"
|
#include "TCPSocket.h"
|
||||||
#if defined(FEATURE_COMMON_PAL)
|
|
||||||
#include "mbed_trace.h"
|
#include "mbed_trace.h"
|
||||||
#define TRACE_GROUP "TEST"
|
#define TRACE_GROUP "TEST"
|
||||||
#else
|
|
||||||
#define tr_debug(...) (void(0)) //dummies if feature common pal is not added
|
|
||||||
#define tr_info(...) (void(0)) //dummies if feature common pal is not added
|
|
||||||
#define tr_error(...) (void(0)) //dummies if feature common pal is not added
|
|
||||||
#endif //defined(FEATURE_COMMON_PAL)
|
|
||||||
|
|
||||||
using namespace utest::v1;
|
using namespace utest::v1;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,6 @@
|
||||||
"lwip.ethernet-enabled": false,
|
"lwip.ethernet-enabled": false,
|
||||||
"lwip.ppp-enabled": true,
|
"lwip.ppp-enabled": true,
|
||||||
"lwip.tcp-enabled": true,
|
"lwip.tcp-enabled": true,
|
||||||
"target.features_add": ["LWIP", "COMMON_PAL"],
|
|
||||||
"platform.stdio-convert-newlines": true,
|
"platform.stdio-convert-newlines": true,
|
||||||
"platform.stdio-baud-rate": 115200,
|
"platform.stdio-baud-rate": 115200,
|
||||||
"platform.default-serial-baud-rate": 115200,
|
"platform.default-serial-baud-rate": 115200,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue