Using the latest (as of today) gcc-arm-embedded toolchain caused two build failures similar to: error: unknown type name 'cookie_io_functions_t' These custom IO functions are now protected by a define, so define _GNU_SOURCE which enables all such areas. This is a libc issue. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
README
This example program sends a message "Pass: n" with increasing number n from 0 to 200 on USART1 serial line of ST STM32F0DISCOVERY eval board.
The sending is done using newlib library in a blocking way.
Board connections
| Port | Function | Description |
|---|---|---|
PA9 |
(USART1_TX) |
TTL serial output (38400,8,N,1) |