Specifications

Figure 4-3: HAL BSP After Generating Files
my_hal_bsp
settings.bsp
public.mk
linker.x
memory.gdb
mem.init.mk
system.h
alt_sys_init.c
linker.h
Makefile
HAL
src (*.c, *.S files)
inc (*.h files)
drivers
src (*.c, *.S files)
inc (*.h files)
summary.html
Table 4-6: Generated BSP Files
File Name Function
settings.bsp Contains all BSP settings. This file is coded in XML.
On the command line, settings.bsp is created by the nios2-bsp-create-
settings command, and optionally updated by the nios2-bsp-update-
settings command. The nios2-bsp-query-settings command is available to
parse information from the settings file for your scripts. The settings.bsp file
is an input to nios2-bsp-generate-files.
The Nios II SBT for Eclipse provides equivalent functionality.
4-22
HAL BSP After Generating Files
NII5V2
2015.05.14
Altera Corporation
Nios II Software Build Tools
Send Feedback