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

separate CFG_TUSB_MEM_SECTION/ALIGN to host and device specific macros #1978

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

hathach
Copy link
Owner

@hathach hathach commented Mar 24, 2023

Describe the PR
fix #1976 , host and device controller may have different requirement for memory section (location) and alignment. It is better to separte these configuration. CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN can still be used as backward compatible. However, these should be used in the future (gradually migrate device & example later)

  • CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN
  • CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN

- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN
- CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN
- fix missing mem section and align for host
@hathach hathach merged commit ad7bacb into master Mar 24, 2023
@hathach hathach deleted the fix-align-host branch March 24, 2023 07:41
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

Successfully merging this pull request may close these issues.

CFG_TUSB_MEM_ALIGN should be used in hidh_interface_t
1 participant