aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-28 20:30:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-28 20:30:51 +0000
commita5138f8fac4b576c67e70e00453982492055ef15 (patch)
treefe7214e4b04b04477cc305e0e67bda21c5b2fcff
parent761f9f7287db259fe4a280d9ad13e2ed6eaf95a3 (diff)
downloadChibiOS-a5138f8fac4b576c67e70e00453982492055ef15.tar.gz
ChibiOS-a5138f8fac4b576c67e70e00453982492055ef15.tar.bz2
ChibiOS-a5138f8fac4b576c67e70e00453982492055ef15.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2783 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--readme.txt3
-rw-r--r--testhal/STM32/GPT/main.c2
2 files changed, 4 insertions, 1 deletions
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