1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-04-21 12:27:27 +03:00

Adding new SAKC version, including LED circuit.

Adding compiling script to Scope Demo
This commit is contained in:
Carlos Camargo
2010-05-20 11:49:05 -05:00
parent 47b7172e98
commit 26b0c73a84
40 changed files with 108970 additions and 553 deletions

View File

@@ -28,7 +28,7 @@
#include <asm/mach-jz4740/gpio.h>
#define LED_PORT JZ_GPIO_BASE_C
#define LED_PIN JZ_GPIO_PORTC(8)
#define LED_PIN JZ_GPIO_PORTC(17)
#define SUCCESS 0
@@ -102,7 +102,7 @@ static int __init blink_init(void)
{
printk(KERN_INFO "BLINK module is Up.\n");
Major = register_chrdev(0, DEVICE_NAME, &fops);
Major = register_chrdev(252, DEVICE_NAME, &fops);
if (Major < 0) {
printk(KERN_ALERT "Registering char device failed with %d\n", Major);