public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] building/running tests without RedBoot
@ 2013-05-14 10:52 Felix R
  2013-05-14 11:50 ` [ECOS] " Felix R
  0 siblings, 1 reply; 3+ messages in thread
From: Felix R @ 2013-05-14 10:52 UTC (permalink / raw)
  To: ecos-discuss

Hi,

If i want to run and debug the tests as an demo application i usually copy
the file to my SDK, remove/replace the CYG_TEST_ Macros and i can run it.
Mostly i works but now i didn't.

building the \ecos\packages\io\fileio\current\tests\stdio.c gives me
"undefined reference to fopen" (and all other stdio.h funcions) whereas it
builds and runs with "build tests" and loading the executable with my jtag
adapter. The library is linked correctly.

What do i have to look after when building tests this way?

Thanks,
Felix



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/building-running-tests-without-RedBoot-tp231726.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] Re: building/running tests without RedBoot
  2013-05-14 10:52 [ECOS] building/running tests without RedBoot Felix R
@ 2013-05-14 11:50 ` Felix R
  2013-05-17  8:17   ` Felix R
  0 siblings, 1 reply; 3+ messages in thread
From: Felix R @ 2013-05-14 11:50 UTC (permalink / raw)
  To: ecos-discuss

ecos\packages\net\lwip_tcpip\current\tests\httpd_simple.c is not building
correctly, too. The stack loads, i can ping the board, i see that packages
arrive (all diag options are checked) but the webserver will not come up. i
guess something is not set up correct. The "build tests"-build works fine.

My basic eclipse setups are:
Include directory: eCos_install\include (removed the rest)
Library directory:  eCos_install\lib (removed the rest)
Linkerscript: eCos_install\lib\target.ld
Check at: -nostdlibs



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/building-running-tests-without-RedBoot-tp231726p231731.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] Re: building/running tests without RedBoot
  2013-05-14 11:50 ` [ECOS] " Felix R
@ 2013-05-17  8:17   ` Felix R
  0 siblings, 0 replies; 3+ messages in thread
From: Felix R @ 2013-05-17  8:17 UTC (permalink / raw)
  To: ecos-discuss

I got i new Issue with http_simple.

I added FileIO and SD-Card drivers. The FAT demo works with tests, with my
eclipse build it does not find the stdio functions.
Now, the http_simple demo (does not use stdio functions)  is working in
"build tests" but not in my eclipse project. when calling pbuf_free() it
gives me an Assert:

ASSERT FAIL: <3>memp.c[199]memp_overflow_check_element() detected memp
overflow!
ASSERT FAIL: <3>memp.c              [ 199] memp_overflow_check_element()                                                                       
detected memp overflow!

although CYGDBG_LWIP_MEMP_OVERFLOW_CHECK is set to 0!
Note: if i disable asserts globaly, it works fine with eclipse. The demo
Application worked with eclipse before i added FAT and SD (and
dependencies).

I got 2 issues now. No reference to sdtio and occuring asserts.

please help.

Felix



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/building-running-tests-without-RedBoot-tp231726p232338.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-17  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-14 10:52 [ECOS] building/running tests without RedBoot Felix R
2013-05-14 11:50 ` [ECOS] " Felix R
2013-05-17  8:17   ` Felix R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).