Skip to content

Commit

Permalink
Update boards.h
Browse files Browse the repository at this point in the history
  • Loading branch information
stevstrong committed Oct 18, 2020
1 parent fedf4d4 commit bd6d569
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions STM32F1/cores/maple/boards.h
Expand Up @@ -125,6 +125,8 @@ bool boardUsesPin(uint8 pin);
#define BOARD_BUTTON_PRESSED_LEVEL HIGH
#endif

#include "series\usart.h"

/**
* @brief Does the board break out a USART/UART's RX and TX pins?
*
Expand Down

3 comments on commit bd6d569

@RimmeVG
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Problem:
I had following error when compiling
boards.h:128:26: fatal error: series\usart.h: No such file or directory
#include "series\usart.h"

Solution
series\usart.h is wrong, change to series/usart.h

@stevstrong
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although it worked for me under Win10, I have changed as suggested.

@RimmeVG
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am using Linux.

Please sign in to comment.