Wiz-IO / platform-quectel

Quectel development platform for PlatformIO
98 stars 42 forks source link

Bug in math.h in toolchain #40

Closed aakash4895 closed 3 years ago

aakash4895 commented 4 years ago

Whenever I use sqrt function from math.h library QFlash shows this error image

But when I the Quectel sdk which uses a different toolchain there is no such errors

Wiz-IO commented 4 years ago

Hi M66 and MC60 are 95% "identical" as SoC... seem as Quectel uploader issue.... no idea for now

screenshots - same example - changed only module and platform from INI...

MC60

Wiz-IO commented 4 years ago

M66

aakash4895 commented 4 years ago

I solved the problem by using the toolchain from Sourcery Codebench Lite given by Quectel in platform io image

image

image

aakash4895 commented 4 years ago

image

Wiz-IO commented 4 years ago

Nice I will ask Quectel

IF you need any compiler keys ( compilers is different ) edit here https://github.com/Wiz-IO/platform-quectel/blob/master/builder/frameworks/opencpu-mc60.py#L63

Wiz-IO commented 4 years ago

I found the bug.... will test and update soon

aakash4895 commented 4 years ago

Nice

Thank you

Wiz-IO commented 4 years ago

please test...

only this file is different https://github.com/Wiz-IO/platform-quectel/blob/master/builder/frameworks/mc60.py

aakash4895 commented 4 years ago

will test and let you know