Nios® V Embedded Processor Design Handbook

ID 726952
Date 12/04/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

5.5.2.2. Configuring the BSP

Follow these steps to configure the BSP project:
  1. In the BSP Editor, navigate to Main > Settings to configure the BSP Settings as shown in the following table.
  2. Both example designs apply the same BSP settings.
    Table 33.  BSP Editor Settings
    BSP Editor Settings Description
    hal.enable_instruction_related_exceptions_api Enable by checking the option box.
    hal.log_flags Set value as 0
    hal.log_port Set value as sys_jtag_uart
    hal.make.cflags_defined_symbols Set value as -DTSE_MY_SYSTEM
    hal.make.cflags_user_flags Set value as -ffunction-sections -fdata-sections -fno-tree-vectorize
    hal.make.cflags_warnings Set value as -Wall -Wextra -Wformat -Wformat-security
    hal.make.link_flags Set value as -Wl,--gc-sections
    ucosii.miscellaneous.os_max_events Set value as 80
    ucosii.os_tmr_en Enable by checking the option box.
  3. Go to BSP Software Package tab and enable the uc_tcp_ip software package.
    Figure 97. BSP Software Package
  4. Click Generate BSP to generate the BSP file.