[En-Nut-Discussion] driver for RX8564LC RTC

Dominik Schröder dominik.schroeder at bh-informativ.de
Tue Aug 31 16:46:51 CEST 2010


Ah ok, thanks Ole.

I think Nut/OS now knows about my driver.
Only the functionality itself doesn`t work very well. :-( But I think this
is a driver problem...

Best regards

Dominik

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Ole Reinhardt
Gesendet: Dienstag, 31. August 2010 14:08
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] driver for RX8564LC RTC

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 

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion



More information about the En-Nut-Discussion mailing list