OpenCores
URL https://opencores.org/ocsvn/usb_fpga_2_13/usb_fpga_2_13/trunk

Subversion Repositories usb_fpga_2_13

[/] [usb_fpga_2_13/] [trunk/] [examples/] [usb-fpga-1.11/] [1.11c/] [lightshow/] [lightshow.c] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ZTEX
/*!
2
   lightshow -- lightshow on ZTEX USB-FPGA Module 1.11c plus Experimental Board 1.10
3
   Copyright (C) 2009-2014 ZTEX GmbH.
4
   http://www.ztex.de
5
 
6
   This program is free software; you can redistribute it and/or modify
7
   it under the terms of the GNU General Public License version 3 as
8
   published by the Free Software Foundation.
9
 
10
   This program is distributed in the hope that it will be useful, but
11
   WITHOUT ANY WARRANTY; without even the implied warranty of
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
   General Public License for more details.
14
 
15
   You should have received a copy of the GNU General Public License
16
   along with this program; if not, see http://www.gnu.org/licenses/.
17
!*/
18
 
19
#include[ztex-conf.h]   // Loads the configuration macros, see ztex-conf.h for the available macros
20
#include[ztex-utils.h]  // include basic functions
21
 
22
// select ZTEX USB FPGA Module 1.11 + Experimental Board 1.10 as target
23
IDENTITY_UFM_1_11(10.12.0.0,0);
24
EXTENSION_EXP_1_10;
25
 
26
// this product string is also used for identification by the host software
27
#define[PRODUCT_STRING]["lightshow for EXP-1.10"]
28
 
29
// enable Flash support
30
ENABLE_FLASH;
31
ENABLE_FLASH_BITSTREAM;
32
 
33
// include the main part of the firmware kit, define the descriptors, ...
34
#include[ztex.h]
35
 
36
void main(void)
37
{
38
// init everything
39
    init_USB();
40
 
41
    while ( 1 ) {
42
    }
43
}
44
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.