mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Revision:
161:2cc1468da177
Parent:
153:fa9ff456f731
Child:
164:289d4deac6e4
--- a/targets/TARGET_Silicon_Labs/TARGET_SL_RAIL/mbed_lib.json	Tue Mar 14 16:40:56 2017 +0000
+++ b/targets/TARGET_Silicon_Labs/TARGET_SL_RAIL/mbed_lib.json	Thu Mar 30 13:45:57 2017 +0100
@@ -1,6 +1,35 @@
 {
     "name": "sl-rail",
     "config": {
-        "band": 2400
+        "band": {
+          "help" : "Configure this to 2400, 915 or 868 depending on which band you want to run on (and have available on the board)",
+          "value" : 2400
+        },
+        "PTI": true,
+        "has-2p4": false,
+        "has-subgig": false,
+        "pti-mode": "RADIO_PTI_MODE_UART",
+        "pti-baudrate" : 1600000,
+        "pti-dout-location": 6,
+        "pti-dout-port": "gpioPortB",
+        "pti-dout-pin": 12,
+        "pti-dclk-location": 6,
+        "pti-dclk-port": "gpioPortB",
+        "pti-dclk-pin": 11,
+        "pti-dframe-location": 6,
+        "pti-dframe-port": "gpioPortB",
+        "pti-dframe-pin": 13
+    },
+    "target_overrides": {
+        "THUNDERBOARD_SENSE": {
+            "sl-rail.has-2p4": true
+        },
+        "THUNDERBOARD_SENSE_12": {
+            "sl-rail.has-2p4": true
+        },
+        "EFR32MG1_BRD4150": {
+            "sl-rail.has-2p4": true,
+            "sl-rail.has-subgig": true
+        }
     }
 }