@@ -48,15 +48,15 @@ <h1 class="title">Module <code>mbed_tools.build.config</code></h1>
48
48
49
49
50
50
def generate_config(target_name: str, toolchain: str, program: MbedProgram) -> Tuple[Config, pathlib.Path]:
51
- """Generate an Mbed config file at the program root by parsing the mbed config system.
51
+ """Generate an Mbed config file after parsing the Mbed config system.
52
52
53
53
Args:
54
54
target_name: Name of the target to configure for.
55
55
toolchain: Name of the toolchain to use.
56
56
program: The MbedProgram to configure.
57
57
58
58
Returns:
59
- Config object (UserDict)
59
+ Config object (UserDict).
60
60
Path to the generated config file.
61
61
"""
62
62
targets_data = _load_raw_targets_data(program)
@@ -100,7 +100,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
100
100
< span > def < span class ="ident "> generate_config</ span > </ span > (< span > target_name: str, toolchain: str, program: < a title ="mbed_tools.project.mbed_program.MbedProgram " href ="../project/mbed_program.html#mbed_tools.project.mbed_program.MbedProgram "> MbedProgram</ a > ) ‑> Tuple[mbed_tools.build._internal.config.config.Config, pathlib.Path]</ span >
101
101
</ code > </ dt >
102
102
< dd >
103
- < div class ="desc "> < p > Generate an Mbed config file at the program root by parsing the mbed config system.</ p >
103
+ < div class ="desc "> < p > Generate an Mbed config file after parsing the Mbed config system.</ p >
104
104
< h2 id ="args "> Args</ h2 >
105
105
< dl >
106
106
< dt > < strong > < code > target_name</ code > </ strong > </ dt >
@@ -111,22 +111,22 @@ <h2 id="args">Args</h2>
111
111
< dd > The MbedProgram to configure.</ dd >
112
112
</ dl >
113
113
< h2 id ="returns "> Returns</ h2 >
114
- < p > Config object (UserDict)
114
+ < p > Config object (UserDict).
115
115
Path to the generated config file.</ p > </ div >
116
116
< details class ="source ">
117
117
< summary >
118
118
< span > Expand source code</ span >
119
119
</ summary >
120
120
< pre > < code class ="python "> def generate_config(target_name: str, toolchain: str, program: MbedProgram) -> Tuple[Config, pathlib.Path]:
121
- """Generate an Mbed config file at the program root by parsing the mbed config system.
121
+ """Generate an Mbed config file after parsing the Mbed config system.
122
122
123
123
Args:
124
124
target_name: Name of the target to configure for.
125
125
toolchain: Name of the toolchain to use.
126
126
program: The MbedProgram to configure.
127
127
128
128
Returns:
129
- Config object (UserDict)
129
+ Config object (UserDict).
130
130
Path to the generated config file.
131
131
"""
132
132
targets_data = _load_raw_targets_data(program)
0 commit comments