[En-Nut-Discussion] AT25DF SPI Device, undefined reference

David Schmidt david.schmidt at bh-elektronik.de
Thu Feb 7 14:44:01 CET 2013


I'm using the AT25DF64 flash memory attached to AT91-SAM7X through the 
SPI1 interface. I updated to NUT/OS Version 5.1 because there is already 
a device driver for this chip.
Now i'm trying to register the at25 with

NutRegisterSpiDevice(&devDataFlash0, &DEV_SPIBUS, 0);

but my compiler tells me that 'devDataFlash0' is an "undefined 
reference". I already rebuilt my NUT/OS after updating to 5.10.

What's the problem?
Thank you in advance.

BTW: the headline "Stable Version 4.10" for the download on 
http://www.ethernut.de/en/download/index.html is misleading, because it 
is the download link for the 5.1 version.

          Mit freundlichen Grüßen / kind regards

        David Schmidt
        DH-Student, Studiengang Elektrotechnik

          *Wolfgang Bachleitner und Gunther Heugel Elektronik oHG*
          Boschstrasse 20
          D-78655 Dunningen

          Tel.: +49 (0) 7403 - 9218 - 0
          Fax: +49 (0) 7403 - 9218 - 39
          E-Mail: david.schmidt at bh-elektronik.de

          Registergericht: Stuttgart, HRA 471187
          Sitz der Gesellschaft: Dunningen
          WEEE-Reg.-Nr.: DE 4653 7000

            CONFIDENTIALITY : This e-mail and any attachments are
            confidential and may be privileged. If you are not a named
            recipient, please notify the sender immediately and do not
            disclose the contents to another person, use it for any
            purpose or store or copy the information in any medium.


More information about the En-Nut-Discussion mailing list