RTT Engineering Management

Source: Internet
Author: User

A RTT Engineering Management

RTT adopts scons management engineering.

This installation version: Python-2.7.3.1.exe,python-2.7.11.msi,scons-2.3.1-setup.exe

After the installation is complete, you need to add path (C:\Python27\Scripts) to the environment variable.

Use cmd under SCons to verify that the installation is correct.

SCons through Sconscript and sconstruct files to organize the source structure, usually a project only one said construct, but there are many sconscript.

1, RTT configuration is configured through Rtconfig.h, scons read rtconfig.h to load components or remove components.

2, rtconfig.py to compile the environment configuration, as well as compile options, global macros and other operations.

3, sconstruct to do some directory configuration.

4, Sconscript to compile control, control directory and file Add.

5, sconscript corresponding to Keil a sub-directory.

Two SCons Basic Usage

Scons–c clears the compilation target. This command clears the temporary and target files that were generated when the scons was executed.

Scons–target=mdk4–s Generate MDK Project file: Project.uvproj. You also need to use this command to regenerate the project when you modify rtconfig.h to open or close some components.

Scons–target=iar–s

Scons–target=vs2012–s

Scons–target=vs2005–s under Bsp/simulator, you can use this command to generate vs2012 works or VS2005 projects.

RTT Engineering Management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.