Closed vladkozlov69 closed 1 year ago
After some experiments I found that if I remove _strtol_r symbol from variants/rtl8720dn_bw16/linker_scripts/gcc/rom_symbol_ns.txt then it works as expected.
@vladkozlov69 Thanks for the solution. We will review and merge into SDK.
@M-ichae-l I afraid we'll need two different linker scripts for Arduino_STD_PRINTF ON and OFF, otherwise it could lead to linker issues. There could be different offsets at least...
@vladkozlov69 Ok, I think currently this is a work around. Our team will run though and try to give a solution by using one linker script only. Thanks again!
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
The following fragment of code works correctly when Arduino_STD_PRINTF is disabled:
When I enable Arduino_STR_PRINTF, all bytes in ipAddress are 0x00 after sscanf. It it a known limitation or a bug?
PS: I've tried to use different format string and data type.
Result is still the same. When enabling Arduino_STD_PRINTF, ipAddress array is filled with zeros.