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

correct way to use app_usbd? #41

Open
akohlsmith opened this issue Oct 17, 2018 · 0 comments
Open

correct way to use app_usbd? #41

akohlsmith opened this issue Oct 17, 2018 · 0 comments

Comments

@akohlsmith
Copy link

With SDK15 and the nRF52840, what is the correct way to include the USBD (specifically the CDC/ACM class) component?

I started by adding

SDK_HEADER_PATHS += $(SDK_ROOT)components/libraries/usbd/
SDK_HEADER_PATHS += $(wildcard $(SDK_ROOT)components/drivers_nrf/usbd/)

in the SDK's make/Includes.mk, but I know this is the way for much wailing and gnashing of teeth. Besides, it looks like I'm going to have to also include a whole bunch more (components/libraries/usbd/class/cdc, components/libraries/class/cdc/acm, etc.)...

Ideally this should be in the apps/my_app/Makefile, but I think you're trying to steer us into doing this in the Boards/board_name/Build.mk which feels weird (it's not a board-specific thing, it's an app-specific thing)...

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

No branches or pull requests

1 participant