-
Notifications
You must be signed in to change notification settings - Fork 4
/
HACKING
86 lines (48 loc) · 2.53 KB
/
HACKING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
_/ _/ _/ _/ _/
_/ _/_/_/ _/_/_/ _/_/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/_/_/_/ _/ _/_/_/ _/ _/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/
_/ _/
_/_/ _/
lightpack.googlecode.com
First of all, download the source code:
$ hg clone https://lightpack.googlecode.com/hg/ Lightpack
===================================================================================
# Software hackers guide
===================================================================================
-----------------------------------------------------------------------------------
Get latest Qt SDK for your platform: http://qt.nokia.com/downloads
1. Compile:
$ cd Lightpack/Software/
$ qmake Lightpack.pro
$ make
2. Start
$ ./bin/Lightpack
3. Don't forget to update UDEV rules before using Lightpack device.
See INSTALL guide for details.
NOTE: Same steps for Linux and Windows platforms.
===================================================================================
# Firmware hackers guide
===================================================================================
-----------------------------------------------------------------------------------
1. Install AVR GCC Toolchain
http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_GCC_Toolchain
2. Install dfu-programmer for upload firmware
$ sudo apt-get install dfu-programmer
2. Install Eclipse IDE for C/C++ Developers
http://www.eclipse.org/downloads/
3. Install AVR Eclipse Plugin
http://avr-eclipse.sourceforge.net/wiki/index.php/Plugin_Download
4. Create new "Makefile project from existing code"
Set "Existing Code Location" to "Lightpack/Firmware/"
Set "Project Name" to "Lightpack"
Choose AVR-GCC Toolchain
Press "Finish"
5. Reboot device to bootloader and type:
$ cd Lightpack/Firmware/
$ make dfu
6. Enjoy!
Please let us know if you find mistakes, bugs or errors.
Post new issue : http://code.google.com/p/lightpack/issues/list
Ask questions : https://groups.google.com/group/lightpack