Hi,
I am using the Snapdragon LLVM ARM C/C++ toolchain version 4.0.3. The hardware is a Quectel BG96 chip.
The functionality that fails is converting string to number. If you use "strtod" or "strtol" and use the string "123", you get correct values. But if using string "a" then instead of failing to parse, the code gets stuck. The device doesnt crash or anything, its just the compiled application stops working.
Currently there is no way to fix it except to manally check the first character.
Thanks,
Asad
I experienced the same problem, thought it was a bug in the musl library, but even replacing that would crash the strtox family of functions. My solution was to override with my own functions. Use wrap naming and linker command: