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]

Re: Support for Olimex LPC-H2294, LPC-E2294, LPC-L2294-1M targets


> Reworked: 3 flash packages became one: CYGPKG_DEVS_FLASH_ARM_OLPCX2294.
> dirname is lower cased dev/flash/arm/olpcx2294. Andrew, please, remove
> previous patches. I fix CFLAGS for arm-eabi and  did refresh redboot's
> ecm files. There are redboot_RAM.ecm, redboot_ROM.ecm and minimalist
> redboot_ROM_minimal.ecm (no flash, eth, just serial) in the 'misc' dir.
> for the targets. I put all in one patch and new ecos.db.tail as well. Is
> it okay? 

Thanks for the rework.

Here is the first issue i found when compile testing.

The olpch2294 target includes
CYGPKG_DEVICES_WATCHDOG_ARM_LPC2XXX. However when you include the
generic watchdog package you get:

arm-eabi-gcc -c  -I/home/lunn/eCos/work/install/include -I/home/lunn/eCos/anoncvs-clean/packages/devs/watchdog/arm/lpc2xxx/current -I/home/lunn/eCos/anoncvs-clean/packages/devs/watchdog/arm/lpc2xxx/current/src -I/home/lunn/eCos/anoncvs-clean/packages/devs/watchdog/arm/lpc2xxx/current/tests -I. -I/home/lunn/eCos/anoncvs-clean/packages/devs/watchdog/arm/lpc2xxx/current/src/ -finline-limit=7000 -mcpu=arm7tdmi -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -Wp,-MD,src/watchdog_lpc2xxx.tmp -o src/devs_watchdog_arm_lpc2xxx_watchdog_lpc2xxx.o /home/lunn/eCos/anoncvs-clean/packages/devs/watchdog/arm/lpc2xxx/current/src/watchdog_lpc2xxx.cxx
/home/lunn/eCos/anoncvs-clean/packages/devs/watchdog/arm/lpc2xxx/current/src/watchdog_lpc2xxx.cxx: In member function 'void Cyg_Watchdog::start()':
/home/lunn/eCos/anoncvs-clean/packages/devs/watchdog/arm/lpc2xxx/current/src/watchdog_lpc2xxx.cxx:184: error: 'CYGHAL_ARM_LPC2XXX_PCLK' was not declared in this scope

It seems like the other targets have the same problem as well.
                                                                                     Andrew


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