Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12408 Discussions

HAL-Driver not included in BSP

Altera_Forum
Honored Contributor I
786 Views

Hallo! 

 

I'm currently trying to include a driver into the auto-generated HAL in a BSP. I followed the steps in the "Nios II Software Developers Handbook" from May 2011 (p. 7-20ff). 

So I currently have a folder named "ip" in the projects root directory (where the qpf-Project file is) with: 

 

ip 

- inc 

-- sample_regs.h 

- HAL 

-- inc 

--- sample.h 

-- src 

--- sample.c 

- sample_sw.tcl 

 

I set the "set_sw_property hw_class_name" to the "set_module_property NAME" from the sample_hw.tcl. 

 

But when I create a new BSP for the Nios .sopcinfo-File the files from this driver are not included. 

Do you have an idea where I missed something? 

 

Regards, 

Markus 

 

Used Versions: 

Quartus 12.1 

NIOS EDS 12.1
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
88 Views

I found my mistake: It was in the sample_sw.tcl file. 

The copied line 

"set_sw_property min_compatible_hw_version 7.1" 

from an altera sample IP did not match the version 1.0 from my hardware. 

So the change to 

"set_sw_property min_compatible_hw_version 1.0" 

solved it. 

Now the source files are in the BSP.
Reply