3093 |
miho |
1 |
# Compile on raspberry. |
|
|
2 |
# |
|
|
3 |
# Get source |
|
|
4 |
# |
|
|
5 |
# sudo apt-get install subversion |
|
|
6 |
# svn export svn://svn.mlab.cz/MLAB/Modules/CPLD_FPGA/XVC_XILINX/XVC_SOFTWARE/XVC_1x XVC |
|
|
7 |
# |
|
|
8 |
# Compile |
|
|
9 |
# |
|
|
10 |
# cd XVC |
|
|
11 |
# chmod +x buildRaspberry.sh |
|
|
12 |
# buildRaspberry.sh |
|
|
13 |
# |
|
|
14 |
# Copy udev rules |
|
|
15 |
# |
|
|
16 |
# sudo cp BIN/10-MLAB*.ules /etc/udev/rules.d |
|
|
17 |
# |
|
|
18 |
# Run the daemon |
|
|
19 |
# |
|
|
20 |
# mlab_xvcd_arm926vfp |
|
|
21 |
# |
|
|
22 |
# Just compile and link the target executable: |
|
|
23 |
gcc mlab_xvcd*.cpp lib_linux/arm926vfp/libftd2xx.a -ldl -lpthread -lrt -Os -o mlab_xvcd_arm926vfp |