Files
mr-library/document/build/build_EN.md
2023-12-30 03:29:37 +08:00

1.5 KiB

Automated Build Tool

中文

The MR framework provides an automated build system. The script-driven build tool can automatically and efficiently complete the introduction and configuration according to different IDEs, greatly reducing the learning cost of using the framework and the difficulty of integration with different environments.

Build Process

  1. Run python build.py in the command line to automatically install the required environment for the tool.

  2. Run python build.py -m to complete the configuration of the MR framework in a graphical interface. After the configuration is completed, it will automatically generate the mr_config.h header file.

  3. Run python build.py -ide according to the IDE type (-mdk or -ecl) to complete the automatic configuration.

The automated build tool will complete:

  • Automatic import of MR framework files
  • Automatic addition of MR framework header file paths
  • Automatically enable GNU support for the IDE compilation toolchain

Supported Commands

  • m: Launches the graphical configuration interface
  • lic: Displays license information
  • mdk: Configures the project for MDK (Keil)
  • ecl: Configures the project for Eclipse

The build script greatly simplifies the configuration and integration process, allowing developers to quickly start development without needing to understand the internal workings of the project.