Commit Graph

4 Commits

Author SHA1 Message Date
Andrew Chen
2314635cf0 Makefile.include: don't override DEFS
Allow examples (such as usart-semihosting) to set DEFS for their own use,
and _then_ add the target definitions.
2015-12-10 15:51:57 +00:00
Karl Palsson
a6c183d470 vf6xx: merge gpio/uart examples
The plain "uart" example was just a slightly less featured version.
Compile tested only!
2015-07-16 17:17:12 +00:00
Stefan Agner
1123768e78 vf6xx: add GPIO example
This example muxes two pins as GPIO and enables one GPIO (logical
high). The other GPIO is then read in the main loop. One can use
a jumper to bridge the two GPIOs to see that also reading succeeds.
2015-07-16 17:10:11 +00:00
Stefan Agner
0b9e7d0d5d vf6xx: add UART example
The UART's baud rate is calculated using the current clock
configuration from the clock module. This example makes use
of the standard C library and writes the characters to the
UART in blocking mode.
2015-07-16 17:10:11 +00:00