lora

Committer:
mbed_official
Date:
Tue Sep 03 14:01:54 2019 +0100
Revision:
57:36e87c44c920
Merge pull request #140 from bentcooke/add_sx126x

add SX126X radio option and update driver lib
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-lorawan

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 57:36e87c44c920 1 {
mbed_official 57:36e87c44c920 2 "config": {
mbed_official 57:36e87c44c920 3 "lora-radio": {
mbed_official 57:36e87c44c920 4 "help": "Which radio to use (options: SX126X, SX1272, SX1276) -- See config/ dir for example configs",
mbed_official 57:36e87c44c920 5 "value": "SX126X"
mbed_official 57:36e87c44c920 6 },
mbed_official 57:36e87c44c920 7 "main_stack_size": { "value": 4096 },
mbed_official 57:36e87c44c920 8
mbed_official 57:36e87c44c920 9 "lora-spi-mosi": { "value": "NC" },
mbed_official 57:36e87c44c920 10 "lora-spi-miso": { "value": "NC" },
mbed_official 57:36e87c44c920 11 "lora-spi-sclk": { "value": "NC" },
mbed_official 57:36e87c44c920 12 "lora-cs": { "value": "NC" },
mbed_official 57:36e87c44c920 13 "lora-reset": { "value": "NC" },
mbed_official 57:36e87c44c920 14 "lora-dio1": { "value": "NC" },
mbed_official 57:36e87c44c920 15 "lora-busy": { "value": "NC" },
mbed_official 57:36e87c44c920 16 "lora-freq-sel": { "value": "NC" },
mbed_official 57:36e87c44c920 17 "lora-dev-sel": { "value": "NC" },
mbed_official 57:36e87c44c920 18 "lora-xtal-sel": { "value": "NC" },
mbed_official 57:36e87c44c920 19 "lora-ant-switch": { "value": "NC" }
mbed_official 57:36e87c44c920 20
mbed_official 57:36e87c44c920 21 },
mbed_official 57:36e87c44c920 22 "target_overrides": {
mbed_official 57:36e87c44c920 23 "*": {
mbed_official 57:36e87c44c920 24 "platform.stdio-convert-newlines": true,
mbed_official 57:36e87c44c920 25 "platform.stdio-baud-rate": 115200,
mbed_official 57:36e87c44c920 26 "platform.default-serial-baud-rate": 115200,
mbed_official 57:36e87c44c920 27 "lora.over-the-air-activation": true,
mbed_official 57:36e87c44c920 28 "lora.duty-cycle-on": true,
mbed_official 57:36e87c44c920 29 "lora.phy": "EU868",
mbed_official 57:36e87c44c920 30 "lora.device-eui": "{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }",
mbed_official 57:36e87c44c920 31 "lora.application-eui": "{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }",
mbed_official 57:36e87c44c920 32 "lora.application-key": "{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }"
mbed_official 57:36e87c44c920 33 },
mbed_official 57:36e87c44c920 34
mbed_official 57:36e87c44c920 35 "NUCLEO_L073RZ": {
mbed_official 57:36e87c44c920 36 "main_stack_size": 2048,
mbed_official 57:36e87c44c920 37 "lora-spi-mosi": "D11",
mbed_official 57:36e87c44c920 38 "lora-spi-miso": "D12",
mbed_official 57:36e87c44c920 39 "lora-spi-sclk": "D13",
mbed_official 57:36e87c44c920 40 "lora-cs": "D7",
mbed_official 57:36e87c44c920 41 "lora-reset": "A0",
mbed_official 57:36e87c44c920 42 "lora-dio1": "D5",
mbed_official 57:36e87c44c920 43 "lora-busy": "D3",
mbed_official 57:36e87c44c920 44 "lora-freq-sel": "A1",
mbed_official 57:36e87c44c920 45 "lora-dev-sel": "A2",
mbed_official 57:36e87c44c920 46 "lora-xtal-sel": "A3",
mbed_official 57:36e87c44c920 47 "lora-ant-switch": "D8"
mbed_official 57:36e87c44c920 48 },
mbed_official 57:36e87c44c920 49
mbed_official 57:36e87c44c920 50 "K64F": {
mbed_official 57:36e87c44c920 51 "lora-spi-mosi": "D11",
mbed_official 57:36e87c44c920 52 "lora-spi-miso": "D12",
mbed_official 57:36e87c44c920 53 "lora-spi-sclk": "D13",
mbed_official 57:36e87c44c920 54 "lora-cs": "D7",
mbed_official 57:36e87c44c920 55 "lora-reset": "A0",
mbed_official 57:36e87c44c920 56 "lora-dio1": "D5",
mbed_official 57:36e87c44c920 57 "lora-busy": "D3",
mbed_official 57:36e87c44c920 58 "lora-freq-sel": "A1",
mbed_official 57:36e87c44c920 59 "lora-dev-sel": "A2",
mbed_official 57:36e87c44c920 60 "lora-xtal-sel": "A3",
mbed_official 57:36e87c44c920 61 "lora-ant-switch": "D8"
mbed_official 57:36e87c44c920 62 }
mbed_official 57:36e87c44c920 63 },
mbed_official 57:36e87c44c920 64 "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_lora_config.h\""]
mbed_official 57:36e87c44c920 65 }