[En-Nut-Discussion] driver for RX8564LC RTC

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue Aug 31 14:07:33 CEST 2010


Hi Dominik,

> 1.       I copied the pcf8563.c/.h files and renamed them.
> 
> 2.       Then I changed the registers according to the RX8564LC chip.
> 
> 3.       I added my RC8564.c file in the makefile under
> \ethernut-4.9.6\nut\dev

You also should add the file into to configurator repository, as the
build environment and Makefiles are dynamicaly created by the
configurator. The lokal makefiles are just used for in-tree compilation
and are well maintained at the moment.

So add your new driver to conf/dev/dev.nut
You may copy the pcf8563 entries...

> I think there is one step missing to “connect” the new RTC driver to NUT/OS.

The above one :)

Regards,

Ole Reinhardt

-- 

Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting

http://www.embedded-it.de

Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 




More information about the En-Nut-Discussion mailing list