From a5138f8fac4b576c67e70e00453982492055ef15 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 28 Feb 2011 20:30:51 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2783 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- readme.txt | 3 ++- testhal/STM32/GPT/main.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 3d22895ca..6a707264a 100644 --- a/readme.txt +++ b/readme.txt @@ -97,10 +97,11 @@ - NEW: Added "serial over USB" driver, it implements a Communication Device Class exposing it as a normal serial driver to applications, probably it will evolve in next releases. -- NEW: Added USB CDC loopback test application. +- NEW: Added STM32 USB CDC loopback test application. - NEW: Added new GPT driver model, General Purpose Timer. The driver allows to access the available timers in an abstract way. - NEW: GTP driver implementation for STM32. +- NEW: Added STM32 GPT test application. - NEW: Implemented new event IO_TRANSMISSION_END in the generic serial driver. This event marks the physical transmission end of a data stream. - NEW: Implemented the new IO_TRANSMISSION_END event in the STM32 serial diff --git a/testhal/STM32/GPT/main.c b/testhal/STM32/GPT/main.c index 8a07efec4..636940584 100644 --- a/testhal/STM32/GPT/main.c +++ b/testhal/STM32/GPT/main.c @@ -76,7 +76,9 @@ int main(void) { * Initializes the GPT drivers 1 and 2. */ gptStart(&GPTD1, &gpt1cfg); + gptPolledDelay(&GPTD1, 10); /* Small dealy.*/ gptStart(&GPTD2, &gpt2cfg); + gptPolledDelay(&GPTD2, 10); /* Small dealy.*/ /* * Normal main() thread activity, it changes the GPT1 period every -- cgit v1.2.3