To select a file system with an SD interface:
- Click File > New > Platform Project.
- Click Specify to create a new Hardware Platform Specification.
- Provide a new name for the domain in the Project name field if you wish to override the default value.
- Select the location for the board support project files. To use the default location, as displayed in the Location field, leave the Use default location check box selected. Otherwise, deselect the checkbox and then type or browse to the directory location.
- From the Hardware Platform drop-down choose the appropriate platform for your application or click the New button to browse to an existing Hardware Platform.
- Select the target CPU from the drop-down list.
- From the Board Support Package OS list box, select the type of board support package to create. A description of the platform types displays in the box below the drop-down list.
- Click Finish. The wizard creates a new software platform and displays it in the Vitis Navigator pane.
- Select Project > Build Automatically to automatically build the board support package. The Board Support Package Settings dialog box opens. Here you can customize the settings for the domain.
- Click OK to accept the settings, build the platform, and close the dialog box.
- From the Explorer, double-click platform.spr file and select the appropriate domain/board support package. The overview page opens.
- In the overview page, click Modify BSP Settings.
- Using the Board Support Package Settings page, you can select the OS Version and which of the Supported Libraries are to be enabled in this domain/BSP.
- Select the xilffs library from the list of Supported Libraries.
- Expand the Overview tree and select xilffs. The configuration options for xilffs are listed.
- Configure the xilffs by setting the fs_interface = 1 to select the SD/eMMC. This is the default value. Ensure that the SD/eMMC interface is available, prior to selecting the fs_interface = 1 option.
- Build the bsp and the application to use the file system with SD/eMMC. SD or eMMC will be recognized by the low level driver.