JN5168, eclipse and atof

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

JN5168, eclipse and atof

ソリューションへジャンプ
3,359件の閲覧回数
shauntaylor
Contributor II

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?

1 解決策
3,001件の閲覧回数
dpilcher
Contributor II

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.

元の投稿で解決策を見る

4 返答(返信)
3,002件の閲覧回数
dpilcher
Contributor II

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.

3,001件の閲覧回数
shauntaylor
Contributor II

Many thanks David - works for me.

I was just about to pick the issue up again and there was your reply. Great timing!

0 件の賞賛
返信
3,001件の閲覧回数
shauntaylor
Contributor II

No not yet, I've had to put this aside for a few days.

0 件の賞賛
返信
3,001件の閲覧回数
dpilcher
Contributor II

Did you get to the bottom of this?

Oddly my environment was working and stopped. 

0 件の賞賛
返信