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

【记录】 移植到 gcc 的注意事项。 #5

Open
balanceTWK opened this issue Nov 24, 2019 · 1 comment
Open

【记录】 移植到 gcc 的注意事项。 #5

balanceTWK opened this issue Nov 24, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@balanceTWK
Copy link
Owner

balanceTWK commented Nov 24, 2019

编号 原本 修改后 备注
1 __weak __WEAK
2 __packed struct __PACKED_STRUCT
3 __forceinline __STATIC_FORCEINLINE
4
5
6
7

例如:

  1. __weak BOOL USBD_EndPoint0_Setup_CDC_ReqToIF(void) -> __WEAK BOOL USBD_EndPoint0_Setup_CDC_ReqToIF(void)

  2. typedef __packed struct _CDC_HEADER_DESCRIPTOR { -> typedef __PACKED_STRUCT _CDC_HEADER_DESCRIPTOR {

  3. static __forceinline uint32_t PIN_SWCLK_TCK_IN(void) -> __STATIC_FORCEINLINE uint32_t PIN_SWCLK_TCK_IN(void))

  4. ->

  5. ->

  6. ->

  7. ->

  8. ->

  9. ->

  10. ->

@balanceTWK balanceTWK added the enhancement New feature or request label Nov 24, 2019
@balanceTWK
Copy link
Owner Author

ARM 官方参考:

ARMmbed/DAPLink#678

ARMmbed/DAPLink#197 (comment)

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

No branches or pull requests

1 participant