a simple mbed client example

Fork of Program4_mbedClient by Make NTU Hackathon

Committer:
mbed_official
Date:
Thu Feb 02 08:30:11 2017 +0000
Revision:
62:077cbce2bd10
Parent:
45:b150e0aa009c
UBLOX_EVK_ODIN_W2 ethernet support

You can get the ethernet working on the UBLOX, if you modify the
mbed_app.json - eth configs changed to match the need (you need
to drop the "EMAC" in case of UBLOX).

cp configs/eth_v4.json mbed_app.json
cp configs/eth-wifi-mbedignore .mbedignore
mbed compile -m UBLOX_EVK_ODIN_W2

yields a working ethernet binary for UBLOX.

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-client

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 45:b150e0aa009c 1 {
mbed_official 45:b150e0aa009c 2 "config": {
mbed_official 45:b150e0aa009c 3 "network-interface":{
mbed_official 45:b150e0aa009c 4 "help": "options are ETHERNET,WIFI,MESH_LOWPAN_ND,MESH_THREAD",
mbed_official 45:b150e0aa009c 5 "value": "ETHERNET"
mbed_official 45:b150e0aa009c 6 }
mbed_official 45:b150e0aa009c 7 },
mbed_official 45:b150e0aa009c 8 "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\""],
mbed_official 45:b150e0aa009c 9 "target_overrides": {
mbed_official 45:b150e0aa009c 10 "*": {
mbed_official 45:b150e0aa009c 11 "target.features_add": ["LWIP", "COMMON_PAL"],
mbed_official 45:b150e0aa009c 12 "lwip.ipv4-enabled": false,
mbed_official 45:b150e0aa009c 13 "lwip.ipv6-enabled": true,
mbed_official 45:b150e0aa009c 14 "mbed-trace.enable": 0
mbed_official 62:077cbce2bd10 15 },
mbed_official 62:077cbce2bd10 16 "UBLOX_EVK_ODIN_W2": {
mbed_official 62:077cbce2bd10 17 "target.device_has_remove": ["EMAC"]
mbed_official 45:b150e0aa009c 18 }
mbed_official 45:b150e0aa009c 19 }
mbed_official 45:b150e0aa009c 20 }