[En-Nut-Discussion] STM32F103 USART

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Fri Oct 9 11:22:49 CEST 2015


>>>>> "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 ----------


More information about the En-Nut-Discussion mailing list