Skip to content

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

Description

@balanceTWK
编号 原本 修改后 备注
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. ->

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions