remove RF1GHZNODE from board/readme.md
dcd_lpc43xx.c - assign ENDPTPRIME with = instead of |= - fix bug with control transfer the determination of complete transferred --> fix keyboard + msc causes fast blinking add osal_semaphore_reset(usbd_control_xfer_sem_hdl) when bus_reset
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Get Started #
|
||||
# Getting Started #
|
||||
|
||||
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
||||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
||||
@@ -7,9 +7,6 @@
|
||||
- [Download](#download)
|
||||
- [Import and Build](#import-and-build)
|
||||
- [Prerequisites](#prerequisites)
|
||||
- [LPCXpresso](#lpcxpresso)
|
||||
- [Keil](#keil)
|
||||
- [IAR](#iar)
|
||||
- [Configure demo](#configure-demo)
|
||||
|
||||
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
||||
@@ -24,65 +21,22 @@ After downloading/cloning, the code base is composed of
|
||||
|
||||
Folder | Description
|
||||
----- | -------------
|
||||
boards | Source files of supported boards
|
||||
demos | Source & project files for demonstration application
|
||||
mcu | Low level mcu core & peripheral drivers (e.g CMSIS )
|
||||
tests | Unit tests for the stack
|
||||
tinyusb | All sources files for tinyusb stack itself.
|
||||
vendor | Source files from 3rd party such as freeRTOS, fatfs etc ...
|
||||
|
||||
## Import and Build ##
|
||||
*boards* | Source files of supported boards
|
||||
*demos* | Source & project files for demonstration application
|
||||
*mcu* | Low level mcu core & peripheral drivers (e.g CMSIS )
|
||||
*tests* | Unit tests for the stack
|
||||
*tinyusb* | All sources files for tinyusb stack itself.
|
||||
*vendor* | Source files from 3rd party such as freeRTOS, fatfs etc ...
|
||||
|
||||
*repo/demos* is the folder where all the application & project files are located. There are demos for both device and hosts. For each, there are different projects for each of supported RTOS.
|
||||
|
||||
### Prerequisites ###
|
||||
## Prerequisites ##
|
||||
|
||||
In order to build and run application demo, you would need
|
||||
|
||||
- A [supported development board](../../boards/readme.md)
|
||||
- A supported toolchain: LPCXpresso, Keil, IAR.
|
||||
|
||||
### LPCXpresso ###
|
||||
|
||||
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.
|
||||
|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||
|
||||
7. Then select the correct MCU option from project properties then you are ready to go.
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||
|
||||
## Configure demo ##
|
||||
|
||||
Application demo is written to have the code excluded if its required option is not enabled in [tusb_config.h](). Some of combination may exceed the 32KB limit of IAR/Keil so you may want to re-configure to disable some class support, decrease TUSB_CFG_DEBUG or increase the compiler optimization level.
|
||||
@@ -92,4 +46,5 @@ In addition, there are some configuration you can change such as
|
||||
- CFG_UART_BAUDRATE in board.h
|
||||
- CFG_PRINTF_TARGET in the specific board header (e.g board_ea4357.h) to either Semihost, Uart, or SWO.
|
||||
|
||||
\subpage md_boards_readme
|
||||
\subpage md_boards_readme
|
||||
\subpage md_doxygen_started_build
|
Reference in New Issue
Block a user