This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001114] New port: NXP LPC17XX Variant, Olimex LPC-1766-STK platform


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001114

--- Comment #24 from Ilija Kocho <ilijak@siva.com.mk> 2011-02-28 12:46:15 GMT ---
(In reply to comment #23)
> (In reply to comment #21)
> ...
> 
> > Comments welcome.
> 
> Hi Ilija,
> 
> I submitted 3 patches (HAL/serial/eth) on your contribution
> 
> attachment 1151 [details] ( obsolete 1142 )
> attachment 1152 [details] ( obsolete 1143 )
> attachment 1153 [details] ( obsolete 1144 )
> 
> In the most a delta is a monkey work (expanding tabs, removing trailing
> spaces, etc., to meet the eCos coding standards). I hope I did break
> nothing (I tested a few builds only). Can you please re-test the updated
> stuff?  So far I have no comment on the merits and would make sure that
> cleaning will not break anything.
> 
> Thank you,
> Sergei

Sergei, many thanks for your effort. I made some tests and it compiles without
warnings and runs as before with default settings.

However when I try with enabled GDB stubs (CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS),
I get errors that was not case before (see error report bellow).
I don't have much time to test right now as I have to catch the plane to
Nuremberg. Yes it's Embedded World 2011, if anybody else is going I'll be glad
to meet. You can use my email for contact.

CU, Ilija

Here is the error report:

arm-eabi-gcc -c -o ../obj/test_test.o -I../include
-I../../../ecos/default_install/include -Wall -Wpointer-arith
-Wstrict-prototypes -Wundef -Wno-write-strings -mcpu=cortex-m3 -mthumb -g -O2
-ffunction-sections -fdata-sections -fno-exceptions test_test.c
arm-eabi-gcc -c -o ../obj/test_lib.o -I../include
-I../../../ecos/default_install/include -Wall -Wpointer-arith
-Wstrict-prototypes -Wundef -Wno-write-strings -mcpu=cortex-m3 -mthumb -g -O2
-ffunction-sections -fdata-sections -fno-exceptions test_lib.c
arm-eabi-gcc -nostartfiles -L../../../ecos/default_install/lib -Ttarget.ld 
-Xlinker -Map=../bin/test_test.map -o ../bin/test_test.elf ../obj/test_test.o
-mcpu=cortex-m3 -mthumb -Wl,--gc-sections -Wl,-static -Wl,-n -g -nostdlib
../obj/test_lib.o
../../../ecos/default_install/lib/libtarget.a(hal_common_hal_stub.o): In
function `__data_cache':
/home/vae/Proekti/ecos/repo/cvs/110228/ecos/b/packages/hal/common/current/src/hal_stub.c:755:
undefined reference to `HAL_DCACHE_ENABLE'
/home/vae/Proekti/ecos/repo/cvs/110228/ecos/b/packages/hal/common/current/src/hal_stub.c:762:
undefined reference to `HAL_DCACHE_SYNC'
/home/vae/Proekti/ecos/repo/cvs/110228/ecos/b/packages/hal/common/current/src/hal_stub.c:758:
undefined reference to `HAL_DCACHE_DISABLE'
../../../ecos/default_install/lib/libtarget.a(hal_common_hal_stub.o): In
function `__instruction_cache':
/home/vae/Proekti/ecos/repo/cvs/110228/ecos/b/packages/hal/common/current/src/hal_stub.c:724:
undefined reference to `HAL_ICACHE_ENABLE'
/home/vae/Proekti/ecos/repo/cvs/110228/ecos/b/packages/hal/common/current/src/hal_stub.c:731:
undefined reference to `HAL_ICACHE_SYNC'
/home/vae/Proekti/ecos/repo/cvs/110228/ecos/b/packages/hal/common/current/src/hal_stub.c:727:
undefined reference to `HAL_ICACHE_DISABLE'
../../../ecos/default_install/lib/libtarget.a(hal_common_bplist-dynamic.o): In
function `__clear_breakpoint_list':
/home/vae/Proekti/ecos/repo/cvs/110228/ecos/b/packages/hal/common/current/src/bplist-dynamic.c:392:
undefined reference to `HAL_ICACHE_INVALIDATE_ALL'
../../../ecos/default_install/lib/libtarget.a(hal_common_bplist-dynamic.o): In
function `__install_breakpoint_list':
/home/vae/Proekti/ecos/repo/cvs/110228/ecos/b/packages/hal/common/current/src/bplist-dynamic.c:366:
undefined reference to `HAL_ICACHE_SYNC'
collect2: ld returned 1 exit status
make: *** [test_test] Error 1

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]