/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / No connection USART

Username:     
Password:     
             

Forum

# 1   2011-06-13 11:47:33 No connection USART

fine
New member
Registered: 2011-05-11
Posts: 2

No connection USART

I've got a problem with my GPS-Receiver and the Primer2. My compiler doesn't accept USART. The error log as follows:
error: 'USART2' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: for each function it appears in.)

Have you any suggestion?

Offline

 

# 2   2011-06-14 07:34:46 No connection USART

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: No connection USART

Did you include "stm32f10x_conf.h" into your source, with the line "#include "stm32f10x_usart.h"" uncommented ?

Offline

 

Board footer