Skip to content

Commit c52d0af

Browse files
committed
Modify Readme
Remove unnecessary part and add build instructions
1 parent 685534f commit c52d0af

File tree

1 file changed

+10
-27
lines changed

1 file changed

+10
-27
lines changed

README.md

+10-27
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@ There is a Arduino IDE board support package for LinkIt Smart 7688 (Arduino Comp
55
## ENVIRONMENT
66
The board support package works with Arduino IDE 1.6.4.
77

8-
## Installation via Zip Package
9-
- Unzip the zip archive `board_support.zip` to `{ARDUINO_SKETCHBOOK_LOCATION}/hardware/...
10-
- If there is no `hardware` folder please create it manually
11-
- The resulting path should be like this: `{ARDUINO_SKETCHBOOK_LOCATION}/hardware/mtk/avr/boards.txt`
12-
- Restart Arduino IDE
13-
- Then a "LinkIt Smart 7688 Duo" option should appear under Arduino IDE's Board sub-menu
14-
158
## Installation via Board Manager
169
{refer to http://pablo-sun.github.io/}
1710

@@ -29,25 +22,15 @@ It should work without the need to install a driver and mounted as {need confirm
2922
### OS X
3023
It should work without the need to install a driver and mounted as a serial device under `/dev/tty.usbmodem1413`. The number `1413` can be different on each OS X machine.
3124

32-
## Using LinkIt Smart 7688 Duo as an ATMega32U4 Boot Loader Programmer
33-
34-
Sometimes you need to re-program the boot loader of the ATMega32U4 on LinkIt Smart 7688 Duo. You can use LinkIt Smart 7688 Duo as a ATMega boot loader programmer to program the bootloader of the ATMega32U4 on another LinkIt Smart 7688 Duo.
35-
36-
To do this, suppose we have 2 LinkIt Smart 7688 Duo boards. The first board _A_ act as the programmer to program the second board _B_.
37-
38-
1. Select `Tools > Board > LinkIt Smart 7688 Duo`
39-
2. Open sketch `Example > ArduinoISP`
40-
3. Modify the line `#define RESET SS` to `#define RESET 10`
41-
4. Upload the modified sketch to board _A_
42-
5. Connect pin `S0`, `S1`, `S2`, `GND` of board _A_ to the same pin of board _B_
43-
6. Connect pin `D10` of board _A_ to pin `RST` of board _B_
44-
7. Select `Tools > Programmer > LinkIt Smart 7688 Duo as ISP`
45-
8. Select `Tools > Burn Bootloader`
25+
### How to Build the Release Package
26+
At this moment building the release pakcages requires:
27+
- Windows
28+
- 7-zip
29+
- Python 2.7 with `requests` package installed
30+
- Internet connection
4631

32+
To build the release package
33+
- edit [`gen_repo.bat`](gen_repo.bat) and modify the version number
34+
- then execute `gen_repo.bat`
4735

48-
(This one is still verifying)
49-
1. Upload sketch `Example > ArduinoISP` to board _A_
50-
2. Connect pin `S0`, `S1`, `S2`, `GND` of board _A_ to the same pin of board _B_
51-
3. Connect pin `S3` of board _A_ to pin `RST` of board _B_
52-
4. Select `Tools > Programmer > LinkIt Smart 7688 Duo as ISP`
53-
5. Select `Tools > Burn Bootloader`
36+
The build script will zip the `avr` supporting package and create a JSON description file, merging current JSON repository file from `download.labs.mediatek.com`.

0 commit comments

Comments
 (0)