Skip to content

Commit

Permalink
Merge pull request #102 from Eclo/fix-101
Browse files Browse the repository at this point in the history
Correct buffer size for ST_NUCLEO_F091RC
  • Loading branch information
cw2 authored Jan 31, 2017
2 parents 86ad17d + f4cc058 commit 20274e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions targets/CMSIS-OS/ChibiOS/ST_NUCLEO_F091RC/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ For the a successful build the following changes are required:
In _halconf.g_ (in both nanoBooter and nanoCLR folders), when compared with a default file:
- HAL_USE_SERIAL to TRUE
- SERIAL_DEFAULT_BITRATE to 115200
- SERIAL_BUFFERS_SIZE has to be at least 64 (2x the Wire Protocol packet size) otherwise the transmission will be garbled as the packets overrun each other

In _mcuconf.h_ (in both nanoBooter and nanoCLR folders), when compared with a default file:
- STM32_SERIAL_USE_USART2 to TRUE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
* buffers.
*/
#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
#define SERIAL_BUFFERS_SIZE 16
#define SERIAL_BUFFERS_SIZE 64
#endif

/*===========================================================================*/
Expand Down

0 comments on commit 20274e1

Please sign in to comment.