Skip to content

nRF52840 USB Device Implementation #10689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 42 commits into from
Jun 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
bd2605c
Configured sdk for enabling USB. Preliminary implementation of USB fo…
AGlass0fMilk Nov 12, 2018
faa80d9
Changed power handler to enable/start & disable/stop USBD driver in b…
AGlass0fMilk Nov 12, 2018
ceb3a10
Changed driver to request hf and lf clock sources... not sure why USB…
AGlass0fMilk Nov 12, 2018
823067e
Added errata fixes (171, 187) from nRF SDK 15.2 that would prevent US…
AGlass0fMilk Nov 12, 2018
16b3511
working on making the mbed and nordic drivers compatible
AGlass0fMilk Nov 29, 2018
bb65ee0
Non-working custom feeder. Modified nordic driver to disable automati…
AGlass0fMilk Dec 5, 2018
4a735cb
Added in triggers to synchronize control transfer stages with what th…
AGlass0fMilk Dec 6, 2018
09c5982
Added EP0 stalls to setup event handler
AGlass0fMilk Dec 23, 2018
f000538
Removed disable from disconnect to see if it affects the success of t…
AGlass0fMilk Dec 27, 2018
c006888
Reviewing functions. Added critical sections to some functions that a…
AGlass0fMilk Jan 10, 2019
608e326
Fixed bug causing usb_control_stall_test to fail intermittently. Prep…
AGlass0fMilk Jan 15, 2019
0320ebc
Removed 0 max packet size assert for ISO endpoints. Ensured usbd_ep_a…
AGlass0fMilk Jan 19, 2019
d3844a1
Removed function call for SOF event -- frame counter is already inclu…
AGlass0fMilk Jan 19, 2019
dde7bff
Added code to ignore ZLP packets on the ISOOUT endpoint... not fixing…
AGlass0fMilk Jan 19, 2019
859329f
Changed a little formatting
AGlass0fMilk Jan 22, 2019
4b744c8
Added data toggle clearing to removing endpoints. Reworked aborting e…
AGlass0fMilk Jan 30, 2019
94d01a9
Implemented USBPhyHw::unconfigure() as it was causing configuration c…
AGlass0fMilk Feb 2, 2019
1babcd1
Added setup status enum and removed some old commented out code
AGlass0fMilk Feb 3, 2019
171c8fa
Trying virtual status stage and generated interrupt
AGlass0fMilk Feb 9, 2019
cfea14c
Added simulated status stage interrupt
AGlass0fMilk Feb 22, 2019
54b72d2
Added a return from the virtual status transfer software-triggered in…
AGlass0fMilk Feb 22, 2019
9e61bbc
Ignore events that happen when an endpoint is stalled/halted
AGlass0fMilk Feb 22, 2019
8c176c3
Added in flag for preventing double IRQ triggering and added asserts …
AGlass0fMilk Feb 25, 2019
7e15a5b
Removed unnecessary logic and changed round robin DMA scheduling
AGlass0fMilk Mar 12, 2019
40ee528
Added workaround for "unloading" IN endpoints after unstalling. Disab…
AGlass0fMilk Mar 14, 2019
5d86c3b
Removed redundant virtual status transfer notifications.
AGlass0fMilk Mar 14, 2019
2bd024d
Fixing compatibilities with new nrfx drivers
AGlass0fMilk Mar 15, 2019
1ab27af
Finished compatibility changes for nrfx renaming
AGlass0fMilk Mar 15, 2019
0fd7dca
Fixed IRQ_ENABLE call to IRQ_DISABLE (oops).
AGlass0fMilk Mar 15, 2019
911c799
Fixed some comments
AGlass0fMilk Mar 15, 2019
e006666
Autoformatted with astyle
AGlass0fMilk Mar 15, 2019
cc4d8e6
Lock sleep when USB is initialized
AGlass0fMilk Mar 15, 2019
57de05c
Added in code to fix deepsleep underflow. Nullify event handler membe…
AGlass0fMilk Mar 16, 2019
457691f
Fixed failure on endpoint test data toggle reset (under Windows): "Da…
AGlass0fMilk Mar 27, 2019
002df47
Changed formatting, check if endpoint is stalled in unstall. Added er…
AGlass0fMilk May 2, 2019
0580607
Revert adding USB to STM32F407VG target
AGlass0fMilk May 2, 2019
d8fbdfc
Disabling systick
AGlass0fMilk May 2, 2019
5386b87
Removing systick edit from sdk_config.h
AGlass0fMilk May 2, 2019
cd3d939
Astyle fixed USBPhy_Nordic.cpp
AGlass0fMilk May 2, 2019
67cc3b0
Added spdx identifiers and fixed indentation in targets.json
AGlass0fMilk May 3, 2019
af99f5a
Removed incorrect comment
AGlass0fMilk May 9, 2019
9334b9e
Removed mbed.h global include
AGlass0fMilk Jun 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2365,7 +2365,7 @@
// <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
//==========================================================
#ifndef NRFX_POWER_ENABLED
#define NRFX_POWER_ENABLED 0
#define NRFX_POWER_ENABLED 1
#endif
// <o> NRFX_POWER_CONFIG_IRQ_PRIORITY - Interrupt priority

Expand Down Expand Up @@ -4542,7 +4542,7 @@
// <e> POWER_ENABLED - nrf_drv_power - POWER peripheral driver - legacy layer
//==========================================================
#ifndef POWER_ENABLED
#define POWER_ENABLED 0
#define POWER_ENABLED 1
#endif
// <o> POWER_CONFIG_IRQ_PRIORITY - Interrupt priority

Expand Down Expand Up @@ -5624,7 +5624,7 @@
// <e> USBD_ENABLED - nrf_drv_usbd - USB driver
//==========================================================
#ifndef USBD_ENABLED
#define USBD_ENABLED 0
#define USBD_ENABLED 1
#endif
// <o> USBD_CONFIG_IRQ_PRIORITY - Interrupt priority

Expand Down
Loading