Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAX44000 PWM_Tone_Library nexpaq_mdk
Fork of LED_Demo by
test_data.py
00001 # This build on top of test7 by adding some configuration values in targets 00002 # and overriding them in the application 00003 00004 expected_results = { 00005 "base": { 00006 "desc": "override values based on labels with libs and target params (no labels)", 00007 "app.app1": "v_app1", 00008 "app.app2": "v_app2", 00009 "lib1.p1": "v_p1_lib1_app", 00010 "lib1.p2": "v_p2_lib1", 00011 "lib1.p3": "v_p3_lib1_app", 00012 "lib2.p1": "v_p1_lib2_app", 00013 "lib2.p2": "v_p2_lib2", 00014 "target.par1": "v_par1_target_app", 00015 "target.par2": "v_par2_base", 00016 "target.par3": "v_par3_base" 00017 }, 00018 "b1": { 00019 "desc": "override values based on labels with libs and target params (first label)", 00020 "app.app1": "v_app1[b1_label]", 00021 "app.app2": "v_app2", 00022 "lib1.p1": "v_p1_lib1_app", 00023 "lib1.p2": "v_p2_lib1", 00024 "lib1.p3": "v_p3_lib1_app", 00025 "lib2.p1": "v_p1_lib2_app", 00026 "lib2.p2": "v_p2_lib2[b1_label]", 00027 "target.par1": "v_par1_target_app", 00028 "target.par2": "v_par2_base", 00029 "target.par3": "v_par3_base" 00030 }, 00031 "b2": { 00032 "desc": "override values based on labels with libs and target params (second label)", 00033 "app.app1": "v_app1", 00034 "app.app2": "v_app2[b2_label]", 00035 "lib1.p1": "v_p1_lib1_app", 00036 "lib1.p2": "v_p2_lib1[b2_label]", 00037 "lib1.p3": "v_p3_lib1_app", 00038 "lib2.p1": "v_p1_lib2_app", 00039 "lib2.p2": "v_p2_lib2[b2_label]", 00040 "target.par1": "v_par1_target_app", 00041 "target.par2": "v_par2_b2", 00042 "target.par3": "v_par3_base" 00043 }, 00044 "both": { 00045 "desc": "override values based on labels with libs and target params (both labels)", 00046 "app.app1": "v_app1[b1_label]", 00047 "app.app2": "v_app2[b2_label]", 00048 "lib1.p1": "v_p1_lib1_app", 00049 "lib1.p2": "v_p2_lib1[b2_label]", 00050 "lib1.p3": "v_p3_lib1_app", 00051 "lib2.p1": "v_p1_lib2_app", 00052 "lib2.p2": "v_p2_lib2[b2_label]", 00053 "target.par1": "v_par1_target_app", 00054 "target.par2": "v_par2_b2", 00055 "target.par3": "v_par3_both", 00056 "target.par4": "v_par4_both" 00057 } 00058 }
Generated on Tue Jul 12 2022 12:28:53 by
