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: Conditional define of HAL_DELAY_US in Cortex-M architecture HAL


On 12/15/2010 06:09 AM, Ilija Kocho wrote:
Hello

This is a small patch that enables redefinition of HAL_DELAY_US at
variant or platform level.

An example use case is substitution of hal_delay_us() with "equivalent"
that provides sub microsecond polling (for devices that require low
latency response).

Just curious; what good does "sub microsecond polling" do when this function defines the delay in microseconds??

Note: I don't have a problem with the concept as in most cases
the ability to provide architecture/family/target overrides is
considered useful.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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