updaet get_started.md

This commit is contained in:
hathach 2014-03-28 17:23:12 +07:00
parent 5d7195d67d
commit f7403d0b52
1 changed files with 21 additions and 6 deletions

View File

@ -47,26 +47,41 @@ In order to build and run application demo, you would need
To prevent any sort of problems, it is recommended to do **EXACTLY** as follows (esp the item 4)
1. Copy the whole repo folder to your lpcxpresso's workspace.
2. Click *File->Import*, then expand the *General* folder and select **Existing Projects into Workspace** and click Next ![lpcxpresso_import.png](http://docs.tinyusb.org/images/lpcxpresso_import.png)
3. On the next dialog, Click *Browse* and choose the **repo/demos** folder inside the repo. You should see a list of all demo applications ![lpcxpresso_import2.png](http://docs.tinyusb.org/images/lpcxpresso_import2.png).
2. Click *File->Import*, then expand the *General* folder and select **Existing Projects into Workspace** and click Next
![lpcxpresso_import.png](http://docs.tinyusb.org/images/lpcxpresso_import.png)
3. On the next dialog, Click *Browse* and choose the **repo/demos** folder inside the repo. You should see a list of all demo applications
![lpcxpresso_import2.png](http://docs.tinyusb.org/images/lpcxpresso_import2.png).
4. **IMPORTANT** make sure the option **Copy projects into workspace** is **CLEAR**. As demo application uses link folders and this option may cause problem for the import.
5. Choose any of the demo application and click *Finish*
6. Select the configure corresponding to your development board ![lpcxpresso_select_board.png](http://docs.tinyusb.org/images/lpcxpresso_select_board.png)
7. Then select the correct MCU option from project properties ![lpcxpresso_mcu.png](http://docs.tinyusb.org/images/lpcxpresso_mcu.png) then you are ready to go.
6. Select the configure corresponding to your development board
![lpcxpresso_select_board.png](http://docs.tinyusb.org/images/lpcxpresso_select_board.png)
7. Then select the correct MCU option from project properties then you are ready to go.
![lpcxpresso_mcu.png](http://docs.tinyusb.org/images/lpcxpresso_mcu.png)
### Keil ###
It is relatively simple for Keil
1. Open the desired demo project e.g *demos/host/host_freertos/host_freertos.uvproj*
2. Select the configure corresponding to your development board and build it. ![keil_select_board.png](http://docs.tinyusb.org/images/keil_select_board.png)
2. Select the configure corresponding to your development board and build it.
![keil_select_board.png](http://docs.tinyusb.org/images/keil_select_board.png)
### IAR ###
IAR is just as easy as Keil
1. Open the desired demo project e.g *demos/host/host_freertos/host_freertos.eww*
2. Again select the configure corresponding to your development board and build it. ![iar_select_board.png](http://docs.tinyusb.org/images/iar_select_board.png)
2. Again select the configure corresponding to your development board and build it.
![iar_select_board.png](http://docs.tinyusb.org/images/iar_select_board.png)
## Configure demo ##