Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.
configs/Wisun_Stm_s2lp_RF_lab.json@108:0c14bd1d3334, 2019-11-27 (annotated)
- Committer:
- mbed_official
- Date:
- Wed Nov 27 10:02:22 2019 +0000
- Revision:
- 108:0c14bd1d3334
- Parent:
- 107:2508886a2a6a
Fix conflicting declarations of main() (#197)
Update the main() to be compatible with the declaration from
platform/mbed_toolchain.h that adds the MBED_USED attribute.
Without the attribute the main() symbol is not emitted with the
GCC toolchain using "-Wl,--wrap,main" and "-flto" flags.
.
Commit copied from https://github.com/ARMmbed/nanostack-border-router
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 107:2508886a2a6a | 1 | { |
mbed_official | 107:2508886a2a6a | 2 | "config": { |
mbed_official | 107:2508886a2a6a | 3 | "radio-type":{ |
mbed_official | 107:2508886a2a6a | 4 | "help": "options are ATMEL, MCR20, SPIRIT1, S2LP", |
mbed_official | 107:2508886a2a6a | 5 | "value": "S2LP" |
mbed_official | 107:2508886a2a6a | 6 | }, |
mbed_official | 107:2508886a2a6a | 7 | "backhaul-driver": { |
mbed_official | 107:2508886a2a6a | 8 | "help": "options are ETH, SLIP, EMAC, CELL", |
mbed_official | 107:2508886a2a6a | 9 | "value": "EMAC" |
mbed_official | 107:2508886a2a6a | 10 | }, |
mbed_official | 107:2508886a2a6a | 11 | "mesh-mode": { |
mbed_official | 107:2508886a2a6a | 12 | "help": "Mesh networking mode. Options are LOWPAN_ND, LOWPAN_WS and THREAD", |
mbed_official | 107:2508886a2a6a | 13 | "value": "LOWPAN_WS" |
mbed_official | 107:2508886a2a6a | 14 | }, |
mbed_official | 107:2508886a2a6a | 15 | "backhaul-mac-src": { |
mbed_official | 107:2508886a2a6a | 16 | "help": "Where to get EUI48 address. Options are BOARD, CONFIG", |
mbed_official | 107:2508886a2a6a | 17 | "value": "BOARD" |
mbed_official | 107:2508886a2a6a | 18 | }, |
mbed_official | 107:2508886a2a6a | 19 | "backhaul-mld": { |
mbed_official | 107:2508886a2a6a | 20 | "help": "Enable proxying Multicast Listener Discovery messages to backhaul network", |
mbed_official | 107:2508886a2a6a | 21 | "value": "false" |
mbed_official | 107:2508886a2a6a | 22 | }, |
mbed_official | 107:2508886a2a6a | 23 | "nanostack_extended_heap": { |
mbed_official | 107:2508886a2a6a | 24 | "help": "Add additional memory region to nanostack heap. Valid only for selected platforms. Region size may vary depending of the toolchain.", |
mbed_official | 107:2508886a2a6a | 25 | "value": true |
mbed_official | 107:2508886a2a6a | 26 | }, |
mbed_official | 107:2508886a2a6a | 27 | "backhaul-mac": "{0x02, 0x00, 0x00, 0x00, 0x00, 0x01}", |
mbed_official | 107:2508886a2a6a | 28 | "debug-trace": "true", |
mbed_official | 107:2508886a2a6a | 29 | "backhaul-dynamic-bootstrap": true, |
mbed_official | 107:2508886a2a6a | 30 | "backhaul-prefix": "\"fd00:db8:ff1::\"", |
mbed_official | 107:2508886a2a6a | 31 | "backhaul-default-route": "\"::/0\"", |
mbed_official | 107:2508886a2a6a | 32 | "backhaul-next-hop": "\"fe80::1\"", |
mbed_official | 107:2508886a2a6a | 33 | "multicast-addr": "ff05::7", |
mbed_official | 107:2508886a2a6a | 34 | "LED": "NC", |
mbed_official | 107:2508886a2a6a | 35 | "SERIAL_TX": "NC", |
mbed_official | 107:2508886a2a6a | 36 | "SERIAL_RX": "NC", |
mbed_official | 107:2508886a2a6a | 37 | "SERIAL_CTS": "NC", |
mbed_official | 107:2508886a2a6a | 38 | "SERIAL_RTS": "NC", |
mbed_official | 107:2508886a2a6a | 39 | "uc-channel-function": 255, |
mbed_official | 107:2508886a2a6a | 40 | "bc-channel-function": 255, |
mbed_official | 107:2508886a2a6a | 41 | "regulatory-domain": 3, |
mbed_official | 107:2508886a2a6a | 42 | "operating-class": 255, |
mbed_official | 107:2508886a2a6a | 43 | "operating-mode": 255, |
mbed_official | 107:2508886a2a6a | 44 | "uc-fixed-channel": "0xffff", |
mbed_official | 107:2508886a2a6a | 45 | "bc-fixed-channel": "0xffff", |
mbed_official | 107:2508886a2a6a | 46 | "network-name": "\"ARM-WS-LAB-NWK\"", |
mbed_official | 107:2508886a2a6a | 47 | "certificate-header": { |
mbed_official | 107:2508886a2a6a | 48 | "help": "Certificate header", |
mbed_official | 107:2508886a2a6a | 49 | "value": "\"wisun_certificates.h\"" |
mbed_official | 107:2508886a2a6a | 50 | }, |
mbed_official | 107:2508886a2a6a | 51 | "root-certificate": { |
mbed_official | 107:2508886a2a6a | 52 | "help": "Root certificate in PEM format (must be a null terminated c-string)", |
mbed_official | 107:2508886a2a6a | 53 | "value": "WISUN_ROOT_CERTIFICATE" |
mbed_official | 107:2508886a2a6a | 54 | }, |
mbed_official | 107:2508886a2a6a | 55 | "own-certificate": { |
mbed_official | 107:2508886a2a6a | 56 | "help": "Own certificate in PEM format (must be a null terminated c-string)", |
mbed_official | 107:2508886a2a6a | 57 | "value": "WISUN_SERVER_CERTIFICATE" |
mbed_official | 107:2508886a2a6a | 58 | }, |
mbed_official | 107:2508886a2a6a | 59 | "own-certificate-key": { |
mbed_official | 107:2508886a2a6a | 60 | "help": "Own certificate's key in PEM format (must be a null terminated c-string)", |
mbed_official | 107:2508886a2a6a | 61 | "value": "WISUN_SERVER_KEY" |
mbed_official | 107:2508886a2a6a | 62 | } |
mbed_official | 107:2508886a2a6a | 63 | |
mbed_official | 107:2508886a2a6a | 64 | }, |
mbed_official | 107:2508886a2a6a | 65 | "macros": ["MBEDTLS_USER_CONFIG_FILE=\"source/mbedtls_wisun_config.h\""], |
mbed_official | 107:2508886a2a6a | 66 | "target_overrides": { |
mbed_official | 107:2508886a2a6a | 67 | "*": { |
mbed_official | 107:2508886a2a6a | 68 | "target.network-default-interface-type": "ETHERNET", |
mbed_official | 107:2508886a2a6a | 69 | "nsapi.default-stack": "NANOSTACK", |
mbed_official | 107:2508886a2a6a | 70 | "mbed-trace.enable": true, |
mbed_official | 107:2508886a2a6a | 71 | "nanostack.configuration": "ws_border_router", |
mbed_official | 107:2508886a2a6a | 72 | "platform.stdio-convert-newlines": true, |
mbed_official | 107:2508886a2a6a | 73 | "platform.stdio-baud-rate": 115200, |
mbed_official | 107:2508886a2a6a | 74 | "mbed-mesh-api.heap-size": 65535, |
mbed_official | 107:2508886a2a6a | 75 | "mbed-mesh-api.heap-stat-info": "&memory_heap_stat", |
mbed_official | 107:2508886a2a6a | 76 | "mbed-mesh-api.heap-stat-info-definition": "mem_stat_t memory_heap_stat;", |
mbed_official | 107:2508886a2a6a | 77 | "platform.stdio-buffered-serial": true |
mbed_official | 107:2508886a2a6a | 78 | }, |
mbed_official | 107:2508886a2a6a | 79 | "K64F": { |
mbed_official | 107:2508886a2a6a | 80 | "kinetis-emac.tx-ring-len":4, |
mbed_official | 107:2508886a2a6a | 81 | "kinetis-emac.rx-ring-len":4 |
mbed_official | 107:2508886a2a6a | 82 | }, |
mbed_official | 107:2508886a2a6a | 83 | "K66F": { |
mbed_official | 107:2508886a2a6a | 84 | "kinetis-emac.tx-ring-len":4, |
mbed_official | 107:2508886a2a6a | 85 | "kinetis-emac.rx-ring-len":4 |
mbed_official | 107:2508886a2a6a | 86 | } |
mbed_official | 107:2508886a2a6a | 87 | } |
mbed_official | 107:2508886a2a6a | 88 | } |