This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: ECOS Cortex-M STM32 wallclock driver
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "simon dot kallweit at intefo dot ch" <simon dot kallweit at intefo dot ch>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: 11 Nov 2008 17:35:44 +0000
- Subject: Re: ECOS Cortex-M STM32 wallclock driver
- References: <4912CBDF.2090302@intefo.ch>
"simon.kallweit@intefo.ch" <simon.kallweit@intefo.ch> writes:
> As promised, here a first version of a STM32 wallclock driver, tested
> in all clock configurations. I will implement more features in the
> future, things like preserving the RTC on reset, setting alarms
> etc. But for now this works great as a normal wallclock.
Checked in. I have written ChangeLog entries for the stm32/var HAL
changes and to ecos.db.
Thinking about it after having done the checkin, I'm not entirely
happy with the naming of CYGHWR_HAL_STM32_BD_UNPROTECT() and
hal_stm32_bd_unprotect(). The un... parts could be a little confusing
and the sense of things seems wrong. I would be happier with
CYGHWR_HAL_STM32_BD_PROTECT() and hal_stm32_bd_protect() with a
matching inversion of the meaning of the argument. It is probably not
worth worrying about immediately, but is something that might need to
change in the future.
--
Nick Garnett eCos Kernel Architect
eCosCentric Limited http://www.eCosCentric.com The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No: 4422071