In having an issue with eclipse and atof (atoi and atol work fine).
I have a number of products which were developed for the JN5148 using eclipse. I have been moving them over to the 5168 as required and have not had an issue until now - this is the first code which has used string to number conversion.
The descriptions of the problems are:
/ba-tools/b-gcc/ba-elf/ba2/newlib/libc/sys/basim/../../../../../../../gcc-4.1.2-ba-r8352/newlib/libc/sys/basim/glue.c undefined reference to `_end' line 129 C/C++ Problem
/ba-tools/b-gcc/ba-elf/ba2/newlib/libc/sys/basim/../../../../../../../gcc-4.1.2-ba-r8352/newlib/libc/sys/basim/glue.c undefined reference to `_stack' line 129 C/C++ Problem
Has anybody hit this snag before and fixed it?
Solved! Go to Solution.
To let you know, I fixed it on my system by modifying AppBuildEnd_JN5168.ld down under c:\Jennic
Added an entry in .bss before the close } as
_end = (.)
Then in .stack, added a line before the close } as
_stack = (.)
Found these in other forum elsewhere for other MCU. Everything appears to work ok. Have a pretty involved firmware and no issues.
To let you know, I fixed it on my system by modifying AppBuildEnd_JN5168.ld down under c:\Jennic
Added an entry in .bss before the close } as
_end = (.)
Then in .stack, added a line before the close } as
_stack = (.)
Found these in other forum elsewhere for other MCU. Everything appears to work ok. Have a pretty involved firmware and no issues.
Many thanks David - works for me.
I was just about to pick the issue up again and there was your reply. Great timing!
No not yet, I've had to put this aside for a few days.
Did you get to the bottom of this?
Oddly my environment was working and stopped.