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.
Dependents: blinky_max32630fthr
tools/test/config_test/test08/test_data.py@3:1198227e6421, 2016-12-16 (annotated)
- Committer:
- switches
- Date:
- Fri Dec 16 16:27:57 2016 +0000
- Revision:
- 3:1198227e6421
- Parent:
- 0:5c4d7b2438d3
Changed ADC scale for MAX32625 platforms to 1.2V full scale to match MAX32630 platforms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
switches | 0:5c4d7b2438d3 | 1 | # This build on top of test7 by adding some configuration values in targets |
switches | 0:5c4d7b2438d3 | 2 | # and overriding them in the application |
switches | 0:5c4d7b2438d3 | 3 | |
switches | 0:5c4d7b2438d3 | 4 | expected_results = { |
switches | 0:5c4d7b2438d3 | 5 | "base": { |
switches | 0:5c4d7b2438d3 | 6 | "desc": "override values based on labels with libs and target params (no labels)", |
switches | 0:5c4d7b2438d3 | 7 | "app.app1": "v_app1", |
switches | 0:5c4d7b2438d3 | 8 | "app.app2": "v_app2", |
switches | 0:5c4d7b2438d3 | 9 | "lib1.p1": "v_p1_lib1_app", |
switches | 0:5c4d7b2438d3 | 10 | "lib1.p2": "v_p2_lib1", |
switches | 0:5c4d7b2438d3 | 11 | "lib1.p3": "v_p3_lib1_app", |
switches | 0:5c4d7b2438d3 | 12 | "lib2.p1": "v_p1_lib2_app", |
switches | 0:5c4d7b2438d3 | 13 | "lib2.p2": "v_p2_lib2", |
switches | 0:5c4d7b2438d3 | 14 | "target.par1": "v_par1_target_app", |
switches | 0:5c4d7b2438d3 | 15 | "target.par2": "v_par2_base", |
switches | 0:5c4d7b2438d3 | 16 | "target.par3": "v_par3_base" |
switches | 0:5c4d7b2438d3 | 17 | }, |
switches | 0:5c4d7b2438d3 | 18 | "b1": { |
switches | 0:5c4d7b2438d3 | 19 | "desc": "override values based on labels with libs and target params (first label)", |
switches | 0:5c4d7b2438d3 | 20 | "app.app1": "v_app1[b1_label]", |
switches | 0:5c4d7b2438d3 | 21 | "app.app2": "v_app2", |
switches | 0:5c4d7b2438d3 | 22 | "lib1.p1": "v_p1_lib1_app", |
switches | 0:5c4d7b2438d3 | 23 | "lib1.p2": "v_p2_lib1", |
switches | 0:5c4d7b2438d3 | 24 | "lib1.p3": "v_p3_lib1_app", |
switches | 0:5c4d7b2438d3 | 25 | "lib2.p1": "v_p1_lib2_app", |
switches | 0:5c4d7b2438d3 | 26 | "lib2.p2": "v_p2_lib2[b1_label]", |
switches | 0:5c4d7b2438d3 | 27 | "target.par1": "v_par1_target_app", |
switches | 0:5c4d7b2438d3 | 28 | "target.par2": "v_par2_base", |
switches | 0:5c4d7b2438d3 | 29 | "target.par3": "v_par3_base" |
switches | 0:5c4d7b2438d3 | 30 | }, |
switches | 0:5c4d7b2438d3 | 31 | "b2": { |
switches | 0:5c4d7b2438d3 | 32 | "desc": "override values based on labels with libs and target params (second label)", |
switches | 0:5c4d7b2438d3 | 33 | "app.app1": "v_app1", |
switches | 0:5c4d7b2438d3 | 34 | "app.app2": "v_app2[b2_label]", |
switches | 0:5c4d7b2438d3 | 35 | "lib1.p1": "v_p1_lib1_app", |
switches | 0:5c4d7b2438d3 | 36 | "lib1.p2": "v_p2_lib1[b2_label]", |
switches | 0:5c4d7b2438d3 | 37 | "lib1.p3": "v_p3_lib1_app", |
switches | 0:5c4d7b2438d3 | 38 | "lib2.p1": "v_p1_lib2_app", |
switches | 0:5c4d7b2438d3 | 39 | "lib2.p2": "v_p2_lib2[b2_label]", |
switches | 0:5c4d7b2438d3 | 40 | "target.par1": "v_par1_target_app", |
switches | 0:5c4d7b2438d3 | 41 | "target.par2": "v_par2_b2", |
switches | 0:5c4d7b2438d3 | 42 | "target.par3": "v_par3_base" |
switches | 0:5c4d7b2438d3 | 43 | }, |
switches | 0:5c4d7b2438d3 | 44 | "both": { |
switches | 0:5c4d7b2438d3 | 45 | "desc": "override values based on labels with libs and target params (both labels)", |
switches | 0:5c4d7b2438d3 | 46 | "app.app1": "v_app1[b1_label]", |
switches | 0:5c4d7b2438d3 | 47 | "app.app2": "v_app2[b2_label]", |
switches | 0:5c4d7b2438d3 | 48 | "lib1.p1": "v_p1_lib1_app", |
switches | 0:5c4d7b2438d3 | 49 | "lib1.p2": "v_p2_lib1[b2_label]", |
switches | 0:5c4d7b2438d3 | 50 | "lib1.p3": "v_p3_lib1_app", |
switches | 0:5c4d7b2438d3 | 51 | "lib2.p1": "v_p1_lib2_app", |
switches | 0:5c4d7b2438d3 | 52 | "lib2.p2": "v_p2_lib2[b2_label]", |
switches | 0:5c4d7b2438d3 | 53 | "target.par1": "v_par1_target_app", |
switches | 0:5c4d7b2438d3 | 54 | "target.par2": "v_par2_b2", |
switches | 0:5c4d7b2438d3 | 55 | "target.par3": "v_par3_both", |
switches | 0:5c4d7b2438d3 | 56 | "target.par4": "v_par4_both" |
switches | 0:5c4d7b2438d3 | 57 | } |
switches | 0:5c4d7b2438d3 | 58 | } |