From 470d827f13e22dea083266b96c7bd724a08b0b65 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Mon, 14 Oct 2019 11:08:27 +0800 Subject: docs: porting: remove invalid information and fix typo It is no longer the case that boards need to be added to this file. Signed-off-by: Sean Cross --- docs/porting.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'docs/porting.md') diff --git a/docs/porting.md b/docs/porting.md index a38ff0192..7ed21d75a 100644 --- a/docs/porting.md +++ b/docs/porting.md @@ -25,8 +25,6 @@ Unless, you've read ahead, this will fail miserably. Now, lets get it to fail le One of the first things to change is the `-DCFG_TUSB_MCU` cflag in the `board.mk` file. This is used to tell TinyUSB what platform is being built. So, add an entry to `src/tusb_option.h` and update the CFLAG to match. -Also, add an entry for the board in `hw/bsp/board.h`. The CFLAG is auto-added. - Update `board.mk`'s VENDOR and CHIP_FAMILY values when creating the directory for the struct files. Duplicate one of the other sources from `src/portable` into `src/portable//` and delete all of the implementation internals. We'll cover what everything there does later. For now, get it compiling. ## Implementation @@ -104,7 +102,7 @@ Calls to this look like: dcd_event_setup_received(0, setup, true); -As before with `dcd_event_bus_signal` the first argument is the USB peripheral number and the third is true to signal its being called from an interrup handler. The middle argument is byte array of length 8 with the contents of the SETUP packet. It can be stack allocated because it is copied into the queue. +As before with `dcd_event_bus_signal` the first argument is the USB peripheral number and the third is true to signal its being called from an interrupt handler. The middle argument is byte array of length 8 with the contents of the SETUP packet. It can be stack allocated because it is copied into the queue. #### Endpoints -- cgit v1.3.1 From cc9b6b93c84f62c86e5436b3feb69ae472668bb8 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 22 Nov 2019 17:42:52 +0700 Subject: update doc for RT1060 evk --- README.md | 2 +- docs/boards.md | 3 ++- docs/porting.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/porting.md') diff --git a/README.md b/README.md index 588526ff7..469cb5660 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The stack supports the following MCUs - **Nordic:** nRF52840, nRF52833 - **NXP:** - LPC Series: 11Uxx, 13xx, 175x_6x, 177x_8x, 18xx, 40xx, 43xx, 51Uxx, 54xxx, 55xx - - iMX RT Series: RT1064 + - iMX RT Series: RT1060, RT1064 - **Sony:** CXD56 - **ST:** STM32 series: L0, F0, F1, F2, F3, F4, F7, H7 (device only) diff --git a/docs/boards.md b/docs/boards.md index caf4ef6ff..d310b1c23 100644 --- a/docs/boards.md +++ b/docs/boards.md @@ -32,7 +32,8 @@ This code base already had supported for a handful of following boards ### NXP iMX RT -- [iMX RT1064 Evaluation Kit](https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/mimxrt1064-evk-i.mx-rt1064-evaluation-kit:MIMXRT1064-EVK) +- [MIMX RT1064 Evaluation Kit](https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/mimxrt1064-evk-i.mx-rt1064-evaluation-kit:MIMXRT1064-EVK) +- [MIMX RT1060 Evaluation Kit](https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/mimxrt1060-evk-i.mx-rt1060-evaluation-kit:MIMXRT1060-EVK) ### NXP LPC diff --git a/docs/porting.md b/docs/porting.md index 7ed21d75a..deb1b9efb 100644 --- a/docs/porting.md +++ b/docs/porting.md @@ -1,6 +1,6 @@ # Porting -TinyUSB is designed to be a universal USB protocol stack for low-cost 32 bit microcontrollers. It +TinyUSB is designed to be a universal USB protocol stack for microcontrollers. It handles most of the high level USB protocol and relies on the microcontroller's USB peripheral for data transactions on different endpoints. Porting is the process of adding low-level support for the rest of the common stack. Once the low-level is implemented, it is very easy to add USB support -- cgit v1.3.1