Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
flow3r firmware
Commits
cbb8868f
Commit
cbb8868f
authored
Oct 21, 2013
by
Damien
Browse files
Options
Downloads
Patches
Plain Diff
VCP works, need to init comm port PC side; add some debugging output.
parent
4b6e85ca
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
stm/lib/usbd_pyb_core.c
+8
-4
8 additions, 4 deletions
stm/lib/usbd_pyb_core.c
with
8 additions
and
4 deletions
stm/lib/usbd_pyb_core.c
+
8
−
4
View file @
cbb8868f
...
...
@@ -588,13 +588,15 @@ static uint8_t usbd_pyb_DataIn(void *pdev, uint8_t epnum) {
USB_Tx_length
);
}
}
b
re
ak
;
re
turn
USBD_OK
;
case
(
MSC_IN_EP
&
0x7f
):
// TODO?
MSC_BOT_DataIn
(
pdev
,
epnum
);
b
re
ak
;
re
turn
USBD_OK
;
}
printf
(
"DI %x
\n
"
,
epnum
);
return
USBD_OK
;
}
...
...
@@ -622,13 +624,15 @@ static uint8_t usbd_pyb_DataOut(void *pdev, uint8_t epnum) {
CDC_OUT_EP
,
(
uint8_t
*
)(
USB_Rx_Buffer
),
CDC_DATA_OUT_PACKET_SIZE
);
b
re
ak
;
re
turn
USBD_OK
;
case
(
MSC_OUT_EP
&
0x7f
):
// TODO is this correct?
MSC_BOT_DataOut
(
pdev
,
epnum
);
b
re
ak
;
re
turn
USBD_OK
;
}
printf
(
"DO %x
\n
"
,
epnum
);
return
USBD_OK
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment