This is the mail archive of the ecos-devel@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: How do I add a serial driver?


On Tue, Jun 10, 2008 at 01:30:21PM -0700, Paul J THACKER wrote:
> I'm porting ECOS to a new platform, based on the ARM926. I cloned an  
> existing platform and got everything to compile, but I can't figure out  
> how to add the serial driver.
>
> I cloned an existing driver and added it to my cdl files. It shows up in  
>  Build->Packages, but when I try to add it, I get a message that says  
> "Add and remove hardware packages by selecting a new hardware template".
>
> I tried a couple of other platforms with the same result. I'm clearly  
> not understanding this process. Can anybody help?

Hardware packages should be part of the basic target template:

target h8max {
        alias           { "H8MAX" }
        packages        { CYGPKG_HAL_H8300
                          CYGPKG_HAL_H8300_H8300H
                          CYGPKG_HAL_H8300_H8300H_H8MAX
                          CYGPKG_IO_SERIAL_H8300_SCI
                          CYGPKG_DEVS_ETH_H8300_H8MAX
                          CYGPKG_DEVICES_WATCHDOG_H8300_H8300H
        }
        description "
           The h8max target provides the packages need to run
           eCos in the strawberry-linux.com H8MAX board."
}

        Andrew


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