1 Reply Latest reply on Jan 15, 2017 6:48 PM by ZhaohuaS_76

    64-bit division in SDK 2.X.X



      I keep getting this linker error whenever I attempt to divide two 64-bit integers:

      undefined reference to `__aeabi_ldivmod'

      I tried using INT64 instead, with the same result.



      #ifndef _MY_TEST_H_

      #define _MY_TEST_H_


      long long my_test_divide(long long dividend, long long divisor)


          return dividend / divisor;





      I found a similar question on the forum, but it was not answered. My WICED Smart SDK version is 2.2.3.