Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Disabling Interrupts

Altera_Forum
Honored Contributor II
1,192 Views

Hi again, 

 

Working through my problems at a good pace here, and I have now found myself a bit confused trying to incorporate the asm/irq.h from the com.microtronix.nios2linux.uClibc_1.4.0 library into my project. Inclusion of some headers from this lib don't pose an issue. However, when trying to access this one in particular I can't seem to alleviate the abundance of compilation errors. 

 

I think I'm missing something in my Makefile, which follows: 

# # configurable options#  - set DEBUG = 1 to turn on debugging support# DEBUG = 1 PROJ_NAME = CFrst INSTALL_DIR = PROGS := $(PROJ_NAME).exe ECLIPSE_WORKSPACE := /cygdrive/c/Data/DCSU KERNEL_PROJECT := kernel_2s60 BUILDDIR := $(ECLIPSE_WORKSPACE)/$(KERNEL_PROJECT)/build/include CFLAGS += -O0 -g -I$(BUILDDIR) # # You should not need to modify anything beyond this point# # TOPDIR = .. include Rules.mak ifeq '$(DEBUG)' '1'     PROGS += $(PROGS:.exe=.gdb) endif all: $(PROGS) .PHONY: clean clean:     -rm -f *. *.elf *.gdb *.bin *.exe .PHONY: install install: all ifeq "$(INSTALL_DIR)" ""     $(error No installation directory specified) endif     mkdir -p $(INSTALL_DIR)/bin     install -v $(filter %.exe, $(PROGS)) $(INSTALL_DIR)/bin 

 

Any suggestions? 

Thanks much,  

Matt
0 Kudos
0 Replies
Reply