3.8 Building the Mi-V Project
(Ask a Question)To build the Mi-V project, right-click the MiV_uart_blinky project in SoftConsole, and select Build Project.
The project is built successfully, and the HEX file is generated in the Debug folder, as shown in the following figure.
The HEX file is used for Design and Memory Initialization. For more
information, see Configure Design Initialization Data and Memories.
Important: If the user is facing
any issues with building the project, ensure that LEGACY_DIR_STRUCTURE is included as a
defined symbol in preprocessor in the GNU RISC-V Cross C Compiler, perform the following
steps:
- Right-click MiV_uart_blinky project, and then go to Properties.
- Go to C/C++
Build, click Settings and select , and then add LEGACY_DIR_STRUCTURE as shown
in the following figure.
Figure 3-28. Properties for MiV_uart_blinky