AN 961: IO Module Design Example for OPC UA: for Intel® MAX® 10 Devices

ID 691266
Date 10/30/2021
Public

Preparing the IO Module Project for Build

  1. Navigate to FreeRTOS_BSP/FreeRTOS/inc/ in the project pane.
  2. Right click BSP > Import > File System.
    Figure 9. Importing source files to the BSP
  3. Navigate to <source>/FreeLwIP-Nios-II/FreeRTOS_src/Source/include.
  4. Import deprecated_definitions.h and stack_macros.h.
    Figure 10. Importing source files to the BSP 2
  5. Right click BSP > Nios II > BSP Editor....
  6. Go to Settings, set max file descriptors = 16.
  7. Save and generate the BSP.
  8. Right-click Project > Properties > Nios II application properties > .:
    Defined symbols = “-DUA_ARCHITECTURE_FREERTOSLWIP -DUA_ENABLE_AMALGAMATION -DUA_ENABLE_PUBSUB_INFORMATIONMODEL”
    Warning flags = “-Wall -Wno-error”
    
    Figure 11. Project Properties