This is the mail archive of the ecos-patches@sources.redhat.com 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: Philips LPC2xxx variant port


I made the changes you suggested including the new var_io names and will shortly send the updated patch.

+cyg_uint32 lpc_cclk; //CPU clock frequency
+cyg_uint32 lpc_pclk; //peripheral devices clock speed (equal to, half, or quarter of CPU clock)

I did not make these CDL constant values so they can be changed at runtime when setting a different VPBDIV.Should I add a cyg_ prefix to them? After a quick grep though packages/devs I don't see a naming pattern that devices use for extern variables that are set in the HAL.


thanks
Jani



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