Skip to content

How to create BSP LIB APP

JEFF LIEU edited this page Jun 5, 2017 · 12 revisions

FPGA-based embedded system

FPGA Embedded System Design This process applies to all versions of recon. Platform recon_0 is used as an example

Create BSP

sw/recon_0$ make generate_bsp

This command can be used to create a fresh bsp or reset the current bsp. This command looks for SOPCINFO file (which is the hardware description file) in the corresponding hw/recon_0 directory.

Edit BSP

sw/recon_0$make edit_bsp

You can change default settings of BSP using a GUI provided by Altera. After making change, you can either click generate button on the GUI or run the make update as described below

Update BSP

sw/recon_0$make update_bsp

This command regenerates the BSP files without changing the BSP setting file itself.

Create LIB

sw/recon_0$ make generate_lib

Library are our driver for our custom peripherals

Create APP

sw/recon_0$ make generate_app APP_NAME=my_app

Create Programming file

sw/recon_0$ make pof APP_NAME=my_app BOARD_NAME=bemicro_max10

For other useful makes, type make help

Clone this wiki locally