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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user