PicoSystem

解決"error: duplicate inline __force_inline inline __always_inline"問題


參考資訊:
1. issue

問題:

/opt/pico-sdk/src/rp2_common/pico_platform/include/pico/platform.h:237:31: error: duplicate 'inline'
  #define __force_inline inline __always_inline

解法:

$ vim /opt/pico-sdk/src/rp2_common/pico_platform/include/pico/platform.h +237
  #if defined(__GNUC__) && __GNUC__ <= 7
  //#define __force_inline inline __always_inline
  //#else
  #define __force_inline __always_inline
  #endif


返回上一頁