Skip to content
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

Feature/usb vendor requests #1010

Merged
merged 51 commits into from Jun 15, 2016

Conversation

@avtolstoy
Copy link
Member

commented May 26, 2016

USB vendor-specific setup request handling

Example:
https://gist.github.com/avtolstoy/083b6ea8ca9188c0742e9aee2d516b9b
Tool for testing:
https://github.com/avtolstoy/usbtool (requires libusb-1.0)


Doneness:

  • Contributor has signed CLA
  • Problem and Solution clearly stated
  • Code peer reviewed
  • API tests compiled
  • Run unit/integration/application tests on device
  • Add documentation
  • Add to CHANGELOG.md after merging (add links to docs and issues)
avtolstoy added 30 commits Mar 10, 2016
Do not call SOF callbacks in classes until they have been initialized…
…. Remote wakeup feature disabled. Debug messages removed
Electron uses USB FS pins, unlike Photon, which uses USB HS pins in F…
…S mode. Switch back to FS core on Electron, add workarounds
USBSerial: DTR/RTS, Electron fixes
- Support for DTR/RTS
- Electron 2x CDC + HID support on Win/Mac/Linux
Convenient macro USBSERIAL1_ENABLE() to enable USBSerial1 on startup …
…without the need to perform a reattach
ISR safety-checks in HAL_USB_USART_Flush_Data and HAL_USB_USART_Send_…
…Data, commented out DEBUG in usbd_composite.c

@m-mcgowan m-mcgowan added this to the 0.6.x milestone Jun 10, 2016

@avtolstoy avtolstoy force-pushed the feature/usb-vendor-requests branch from f16beaf to a529e35 Jun 11, 2016

avtolstoy added 5 commits Jun 11, 2016
Merge remote-tracking branch 'upstream/develop' into feature/usb-comp…
…osite

Conflicts:
	hal/inc/hal_dynalib_usart.h
	wiring/inc/debug_output_handler.h
Adds vendor-specific USB interface #0
WICD WinUSB support on Windows through Microsoft-specific descriptors

@avtolstoy avtolstoy force-pushed the feature/usb-vendor-requests branch from a529e35 to dd97335 Jun 11, 2016

avtolstoy added 10 commits Jun 11, 2016
Merge branch 'feature/usb-composite' into feature/usb-vendor-requests
Conflicts:
	hal/src/stm32f2xx/usb_hal.c
	platform/MCU/STM32F2xx/SPARK_Firmware_Driver/inc/usbd_composite.h
	platform/MCU/STM32F2xx/SPARK_Firmware_Driver/src/usbd_composite.c
Basic SystemControlInterface implementation for handling the followin…
…g requests:

- REQUEST_GET_DEVICE_ID
- REQUEST_GET_SYSTEM_VERSION
- REQUEST_RESET
- REQUEST_ENTER_DFU_MODE
- REQUEST_ENTER_LISTENING_MODE
Basic SystemControlInterface implementation for handling the followin…
…g requests:

- REQUEST_GET_DEVICE_ID
- REQUEST_GET_SYSTEM_VERSION
- REQUEST_RESET
- REQUEST_ENTER_DFU_MODE
- REQUEST_ENTER_LISTENING_MODE

@technobly technobly merged commit eab78d2 into develop Jun 15, 2016

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build failed
Details
@sergeuz sergeuz referenced this pull request Jun 17, 2016
0 of 3 tasks complete

@technobly technobly deleted the feature/usb-vendor-requests branch Oct 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.