Skip to content

DISCO_L072CZ_LRWAN1: Add support of USB Device #4572

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 4 commits into from
Jun 26, 2017

Conversation

bcostm
Copy link
Contributor

@bcostm bcostm commented Jun 16, 2017

Description

This pull request enable the USB Device on this platform. Clock setting has been updated to enable the HSI48 clock of the device.

Status

READY
USB_1 and USB_4 tests are OK.

Migrations

NO

Testing

  • /morph test

/* hardcoded size of FIFO according definition*/
HAL_PCDEx_PMAConfig(&hpcd , 0x00 , PCD_SNG_BUF, 0x30);
HAL_PCDEx_PMAConfig(&hpcd , 0x80 , PCD_SNG_BUF, 0x70);
#if 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this completely disappear (just the code that is now active) or reworked?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I'll remove the unactive code.

@theotherjimmy
Copy link
Contributor

@0xc0170 Could you re-review?

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 20, 2017

Can you please resolve conflicts?

@bcostm bcostm force-pushed the add_usb_disco_l072cz branch from 7fc1fee to cc47104 Compare June 20, 2017 14:13
@bcostm
Copy link
Contributor Author

bcostm commented Jun 20, 2017

Rebased and solved conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants