Import Mbed OS hard-float snapshot
This commit is contained in:
47
tools/test/config/double_define/targets.json
Normal file
47
tools/test/config/double_define/targets.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"first_base": {
|
||||
"supported_toolchains": ["GCC_ARM"],
|
||||
"extra_labels": [],
|
||||
"c_lib": "std",
|
||||
"supported_c_libs": {
|
||||
"arm": ["std"],
|
||||
"gcc_arm": ["std", "small"],
|
||||
"iar": ["std"]
|
||||
},
|
||||
"core": "Cortex-M0",
|
||||
"config": {
|
||||
"base1_1": "v_base1_1_b1",
|
||||
"base1_2": "v_base1_2_b1",
|
||||
"base1_3": "v_base1_3_b1"
|
||||
}
|
||||
},
|
||||
"second_base": {
|
||||
"supported_toolchains": ["GCC_ARM"],
|
||||
"extra_labels": [],
|
||||
"c_lib": "std",
|
||||
"supported_c_libs": {
|
||||
"arm": ["std"],
|
||||
"gcc_arm": ["std", "small"],
|
||||
"iar": ["std"]
|
||||
},
|
||||
"core": "Cortex-M0",
|
||||
"config": {
|
||||
"base2_1": "v_base2_1_b2",
|
||||
"base2_2": "v_base2_2_b2",
|
||||
"base1_1": "v_base1_1_b2"
|
||||
}
|
||||
},
|
||||
"double_config": {
|
||||
"inherits": ["first_base", "second_base"],
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
10
tools/test/config/double_define/test_data.json
Normal file
10
tools/test/config/double_define/test_data.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"double_config": {
|
||||
"exception_msg": "Parameter name 'base1_1' defined in both 'target:second_base' and 'target:first_base'"
|
||||
},
|
||||
"second_base": {
|
||||
"target.base2_1": "v_base2_1_b2",
|
||||
"target.base2_2": "v_base2_2_b2",
|
||||
"target.base1_1": "v_base1_1_b2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user