mbed-os

Fork of mbed-os by erkin yucel

Revision:
0:f269e3021894
diff -r 000000000000 -r f269e3021894 tools/test/config_test/test01/targets.json
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/test/config_test/test01/targets.json	Sun Oct 23 15:10:02 2016 +0000
@@ -0,0 +1,42 @@
+{
+    "b1": {
+        "extra_labels": [],
+        "default_lib": "std",
+        "core": "Cortex-M0",
+        "config": {
+            "base1_1": "v_base1_1_b1",
+            "base1_2": "v_base1_2_b1",
+            "base1_3": "v_base1_3_b1"
+        }
+    },
+    "d1": {
+        "inherits": ["b1"],
+        "config": {
+            "derived1": "v_derived1_d1",
+            "derived2": "v_derived2_d1"
+        },
+        "overrides": {
+            "base1_1": "v_base1_1_d1",
+            "base1_2": "v_base1_2_d1"
+        }
+    },
+    "b2": {
+        "config": {
+            "base2_1": "v_base2_1_b2",
+            "base2_2": "v_base2_2_b2"
+        }
+    },
+    "f": {
+        "inherits": ["b2", "d1"],
+        "config": {
+            "f1_1": "v_f1_1_f",
+            "f1_2": "v_f1_2_f"
+        },
+        "overrides": {
+            "base2_1": "v_base2_1_f",
+            "base1_1": "v_base1_1_f",
+            "derived2": "v_derived2_f",
+            "f1_1": "v_f1_1_f_override"
+        }
+    }
+}