Import Mbed OS hard-float snapshot
This commit is contained in:
4
tools/test/config/macro_inheritance/lib1/mbed_lib.json
Normal file
4
tools/test/config/macro_inheritance/lib1/mbed_lib.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "lib1",
|
||||
"macros": ["LIB1_1=1", "LIB1_2"]
|
||||
}
|
||||
4
tools/test/config/macro_inheritance/lib2/mbed_lib.json
Normal file
4
tools/test/config/macro_inheritance/lib2/mbed_lib.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "lib2",
|
||||
"macros": ["LIB2_1=5", "LIB1_2"]
|
||||
}
|
||||
3
tools/test/config/macro_inheritance/mbed_app.json
Normal file
3
tools/test/config/macro_inheritance/mbed_app.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"macros": ["APP1=10", "APP2", "LIB2_1=5"]
|
||||
}
|
||||
14
tools/test/config/macro_inheritance/targets.json
Normal file
14
tools/test/config/macro_inheritance/targets.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"test_target": {
|
||||
"supported_toolchains": ["GCC_ARM"],
|
||||
"core": "Cortex-M0",
|
||||
"extra_labels": [],
|
||||
"features": [],
|
||||
"c_lib": "std",
|
||||
"supported_c_libs": {
|
||||
"arm": ["std"],
|
||||
"gcc_arm": ["std", "small"],
|
||||
"iar": ["std"]
|
||||
}
|
||||
}
|
||||
}
|
||||
5
tools/test/config/macro_inheritance/test_data.json
Normal file
5
tools/test/config/macro_inheritance/test_data.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"test_target": {
|
||||
"expected_macros": ["APP1=10", "APP2", "LIB1_1=1","LIB1_2", "LIB2_1=5"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user