- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi all,
does any one have a project(C code) which enable to drive PIO of 1s40 board (sevenseg, lcd, led pio) I used the count_binary example of altera, in nios II IDE it works very well. but when I create a nios2 linux project it won't compile I think I have problems with Makefile please help meLink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
there is the problem I got : http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif
make -k all
no emulation specific options.
make: *** No rule to make target `alt_irq.h', needed by `count_binary.o'.
make: *** No rule to make target `io.h', needed by `count_binary.o'.
make: *** No rule to make target `alt_types.h', needed by `count_binary.o'.
make: *** No rule to make target `altera_avalon_pio_regs.h', needed by `count_binary.o'.
make: *** No rule to make target `nios2.h', needed by `count_binary.o'.
make: *** No rule to make target `system.h', needed by `count_binary.o'.
make: Target `all' not remade because of errors
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi sdhnain,
--- Quote Start --- originally posted by sdhnain@May 9 2006, 05:03 PM there is the problem i got : http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/blink.gif
make -k all
no emulation specific options.
make: *** no rule to make target `alt_irq.h', needed by `count_binary.o'.
make: *** no rule to make target `io.h', needed by `count_binary.o'.
make: *** no rule to make target `alt_types.h', needed by `count_binary.o'.
make: *** no rule to make target `altera_avalon_pio_regs.h', needed by `count_binary.o'.
make: *** no rule to make target `nios2.h', needed by `count_binary.o'.
make: *** no rule to make target `system.h', needed by `count_binary.o'.
make: target `all' not remade because of errors
.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15229)</div> --- Quote End --- Please post your Makefile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by sdhnain@May 9 2006, 10:51 PM hi all,
does any one have a project(c code) which enable to drive pio of 1s40 board (sevenseg, lcd, led pio)
i used the count_binary example of altera, in nios ii ide it works very well.
but when i create a nios2 linux project it won't compile
i think i have problems with makefile
please help me
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15227)
--- quote end ---
--- Quote End --- You can't use HAL api in uClinux. Look at the sample pio driver in arch/nios2nommu/kernel/pio.c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks hippo,
the pio.c is good, but it drives only LEDs and seven seg, I need also LCD. is it possible ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by sdhnain@May 10 2006, 04:52 PM thanks hippo,
the pio.c is good, but it drives only leds and seven seg, i need also lcd.
is it possible ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15250)
--- quote end ---
--- Quote End --- There is no LCD driver for nios2 dev board. You will have to write or port one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo+may 10 2006, 05:28 am--><div class='quotetop'>quote (hippo @ may 10 2006, 05:28 am)</div>
--- quote start ---
<!--quotebegin-sdhnain@May 10 2006, 04:52 PM thanks hippo,
the pio.c is good, but it drives only leds and seven seg, i need also lcd.
is it possible ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15250)
--- quote end ---
--- Quote End --- There is no LCD driver for nios2 dev board. You will have to write or port one. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15252)</div> [/b] --- Quote End --- Hippo, Is there any pointer to what should look at to write a LCd application for NIOS ii uclinux ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi all, i'm also trying to control the lcd module using c program. pls guide. thx.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page