Lines Matching refs:a
5 …a different approach than the usual Makefile, but instead uses SConstruct and SConscript files ins…
11 …a piece of software that compiles source code into an executable binary program according to certa…
37 …a chip on the ARM platform, you can use the Env tool and enter the scons command to compile the BS…
41 …iler that the BSP already supports to compile the project, or if the BSP is a non-ARM platform chi…
57 `scons` can also be followed by a `-s` parameter, the command `scons -s`, which differs from the `…
73 …a new MDK project file named project.uvprojx will be generated in the BSP directory. Double-click …
75 …ator` directory , you can use the following command to generate a project for vs2012 or a project …
84 This command can also be followed by a `-s` parameter, such as the command `scons –target=mdk5 -s`…
86 > To generate a MDK or IAR project file, the prerequisite is that there is a project template file …
90 …ation on multi-core computers. In general, a cpu core can support 2 threads. Use the `scons -j4` …
96 Build a project framework. Using this command will generate the `dist` directory in the BSP directo…
129 SCons uses SConscript and SConstruct files to organize the source structure. Usually a project has …
131 …a separate file for each BSP called `rtconfig.py`. So the following three files exist in every RT-…
139 …a lot of built-in functions to help us quickly add source code, and with these simple Python state…
151 …o name in rtconfig.h. This method (function) returns true if rtconfig.h has a macro turned on, oth…
155 Split the string str into a list list.
159 …a method (function) of RT-Thread based on the SCons extension. DefineGroup is used to define a com…
166 …ist the matching files in the directory where the SConscript file is located by using a wildcard. |
177 …e this parameter, the object file generated by the component will be packaged into a library file |
191 Below we will use a few SConscript as an example to explain how to use the scons tool.
217 …a python for loop that walks through all the subdirectories of the BSP and runs the SConscript fil…
223 So what about stm32f10x-HAL BSP other SConcript files? Let's take a look at the SConcript file in t…
265 The next line uses the `Split()` function to split a file string into a list, the effect of which …
269 Later, `if` judgement and `GetDepend ()` are used to check whether a macro in `rtconfig.h` is open …
271 * `CPPPATH = [cwd]:` Save the current path to a list variable CPPPATH.
273 The last line uses DefineGroup to create a group called Drivers, which corresponds to the grouping …
275 …e current path to the system's header file path. The CPPPATH on the left is a built-in parameter i…
279 Let's take a look at the SConcript file in the applications directory, which will manage the source…
297 The last line uses DefineGroup to create a group called `Applications`. The source code file for th…
354 Let's take a look at the contents of the first Python conditional statement in the file. If the com…
356 DefinGroup also creates the file specified by src in the finsh directory as a finsh group. `depend …
368 …rently there is only one main.c file. If the user's application code is not a lot, it is recommend…
395 …new files to your project. Note that the project will be regenerated each time a new file is added.
399 …all source code files be placed in the applications folder. If the user has a lot of source code a…
401 … in a separate folder, and have their own grouping in the MDK project file, and can be selected th…
422 …a new group hello is created, and the source file to be added to the group can be controlled by th…
424 …a Kconfig file for this BSP in the stm32f10x-HAL BSP directory, and we can add the configuration o…
427 menu "hello module" # create a "hello module" menu
430 …bool "Enable hello module" # RT_USING_HELLO is a bool variable and display as "Enable …
436 …string "hello name" # RT_HELLO_NAME is a string variable and the menu show as "…
459 **Note: Use the scons --target=XXX command to generate a new project each time menuconfig is config…
467 …a`, specifies `abc` instead of `libabc` when specifying a library. So you need to pay special atte…
483 … library. If the toolchain is GCC, the name of the library should be libabc.a; if the toolchain is…
487 `rtconfig.py` is a RT-Thread standard compiler configuration file that controls most of the compila…
559 (1) When installing the compiler (such as MDK, GNU GCC, IAR, etc.), do not install it in a path wit…
563 Suppose a compiler is installed under `D:\Dir1\Dir2`. The following are the correct ways to write:
585 After the compiler is configured, we can use SCons to compile the BSP of RT-Thread. Open a command …
593 For a complex, large-scale system, it is obviously more than just a few files in a directory. It is…