summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-11-18 12:37:34 +0700
committerGitHub <[email protected]>2019-11-18 12:37:34 +0700
commitc2fb813658d6242dbea13d9f811482e34cd712c0 (patch)
treea2298b7108ecce66607741f3359192292a8d9849 /docs
parent56abce44f32710f28fc55a175b744ce6852f399e (diff)
parent679821e9174f9410960f974eefd46a94e74cfeda (diff)
Merge pull request #217 from xobs/valentyusb-eptri
WIP: Add Valentyusb eptri
Diffstat (limited to 'docs')
-rw-r--r--docs/porting.md4
1 files changed, 1 insertions, 3 deletions
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/<vendor>/<chip_family>` 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