Re: STM32F103 USART

"Achim" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
No, because in nutapp/uart.c you write that it´s an example for Atmega!

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces-inJ12LbcDfezQB+pC5nmwQ@public.gmane.org
[mailto:en-nut-discussion-bounces-inJ12LbcDfezQB+pC5nmwQ@public.gmane.org] Im Auftrag von Uwe Bonnes
Gesendet: Freitag, 9. Oktober 2015 11:23
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] STM32F103 USART

>>>>> "Achim" == Achim  <[email protected]> writes:

    Achim> I just need USART1.  I´m not sure if to use the stm32_usart
    Achim> functions directly or calling the functions via the
    Achim> usart-functions in nut/dev/usart.c (in the case that all the
    Achim> stm32 functions are registered over dcb...

Did you try app/uart?

Your board/xxx.h file shoudl define the device to use. Then app/uart should
compile fine and work.

Bye
-- 
Uwe Bonnes                bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.