Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 3 4 Next > End >>

print

Gold Boarder

2008/09/15 03:43

Re:Problem with GPIO and SYSCTL lib files

Hi Brian,

Any opinion regarding the matter?

login or register to reply

LMI Brian

Admin

2008/09/15 07:32

Re:Problem with GPIO and SYSCTL lib files

print,

Well, as cb1 mentioned, try to trim this down to the simplest example that demonstrates the problem. What you've posted is quite incomplete; makefile.init, sources.mk, subdir.mk, etc. are all missing (so I can't use the makefile), and LCD_LM.h, time_LM.h, and loc_time.h are also missing (so I can't build the source file even manually).

That said, I don't see anything obviously wrong with what you have posted.

--Brian

login or register to reply

print

Gold Boarder

2008/09/17 01:31

Re:Problem with GPIO and SYSCTL lib files

Hi Brian,

I am able to sort out the problem regarding gpio and sysctl. In both cases the *.c file has been included externally in the driver lib which created the problems.
Thank you for the support.

But one new problem has arrised.

error message:

c:/code_red/red_suite_lmi/tools/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib/ thumb2libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text+0xc): undefined reference to `_sbrk'
collect2: ld returned 1 exit status
make: *** [filename.axf] Error 1

If I use newlib(nohost) or newlib(semihost) instead of newlib(none) the code get compile but am not able to debug.

What to do?

login or register to reply
<< Start < Prev 1 2 3 4 Next > End >>