Get rid of FEATURE_COMMON_PAL

Nanostack related files moved under 'feature/nanostack'
Common libraries moved to 'features/frameworks'

Allow FEATURE_COMMON_PAL still to be defined in the build so
that we don't break any builds.
pull/6577/head
Seppo Takalo 2018-03-07 15:14:17 +02:00
parent c8d72c524d
commit d1c6bc0913
176 changed files with 0 additions and 28 deletions

View File

@ -18,9 +18,6 @@
#include "lwip/debug.h"
#include "lwip/def.h"
#include "lwip_random.h"
#if FEATURE_COMMON_PAL
#include "randLIB.h"
void lwip_seed_random(void)
@ -37,20 +34,3 @@ inline uint32_t lwip_get_random(void)
{
return randLIB_get_32bit();
}
#else
void lwip_seed_random(void)
{
}
void lwip_add_random_seed(uint64_t seed)
{
}
uint32_t lwip_get_random(void)
{
return rand();
}
#endif

View File

@ -18,14 +18,8 @@
#include "platform/FileHandle.h"
#include "platform/mbed_poll.h"
#include "events/EventQueue.h"
#if defined(FEATURE_COMMON_PAL)
#include "mbed_trace.h"
#define TRACE_GROUP "LPPP"
#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)
#include "rtos/Thread.h"
#include "lwip/tcpip.h"
#include "lwip/tcp.h"

View File

@ -58,7 +58,6 @@ The purpose of the library is to provide a light, simple and general tracing sol
### Enabling the tracing API in mbed OS 5
* Add the feature COMMON_PAL into the build
* Set `MBED_CONF_MBED_TRACE_ENABLE` to 1 or true
To do so, add the following to your mbed_app.json:
@ -67,7 +66,6 @@ To do so, add the following to your mbed_app.json:
{
"target_overrides": {
"*": {
"target.features_add": ["COMMON_PAL"],
"mbed-trace.enable": 1
}
}

Some files were not shown because too many files have changed in this diff Show More