Closed ZerooNight closed 1 year ago
The compiler SDCC does not have sqrt function but has sqrtf. Unfortunately an earlier fix to add --int-long-reent for https://github.com/DeqingSun/ch55xduino/issues/107 did not deal with library properly. So there will be an link error.
I'll fix the issue later.
Please try sqrtf in 0.0.18
HI thanks for the update but it seems that any code are not working in 0.0.18 the comport doesn't show after burn
take a look at the pic below i wrote a simple test after update to 0.0.18,the usage of program space reduce a lot 0.0.18 use 2379 0.0.17 use 9208
Sorry I just realized there was a compiler problem in Windows. If you have a Mac or Linux it would work. I'm still investigating the reason
The 0.0.18 has been rolled backed to an earlier compiler built with updated library. Please remove the package and add again.
works fine now! thank you very much
i try sqrt(2),and it shows the error