[En-Nut-Discussion] STM32F103 USART

Achim achim_muc1971 at gmx.de
Fri Oct 9 11:26:43 CEST 2015


No, because in nutapp/uart.c you write that it´s an example for Atmega!

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] 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  <achim_muc1971 at gmx.de> 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 at elektron.ikp.physik.tu-darmstadt.de

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



More information about the En-Nut-Discussion mailing list