From 062cce0bed39edc78dbd86004861823e068541c0 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 13 Apr 2015 13:06:18 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7890 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ...2F4xx-DMA_STORM (OpenOCD, Flash and Run).launch | 2 +- .../STM32F4xx-EXT (OpenOCD, Flash and Run).launch | 52 ++++++++++++++++++++++ .../STM32F4xx-GPT (OpenOCD, Flash and Run).launch | 52 ++++++++++++++++++++++ testhal/STM32/STM32F4xx/GPT/main.c | 6 +-- .../STM32F4xx-I2C (OpenOCD, Flash and Run).launch | 52 ++++++++++++++++++++++ testhal/STM32/STM32F4xx/I2S/.cproject | 4 +- .../STM32F4xx-I2S (OpenOCD, Flash and Run).launch | 52 ++++++++++++++++++++++ testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c | 4 +- .../STM32F4xx-RTC (OpenOCD, Flash and Run).launch | 52 ++++++++++++++++++++++ .../STM32F4xx-SDC (OpenOCD, Flash and Run).launch | 52 ++++++++++++++++++++++ .../STM32F4xx-SPI (OpenOCD, Flash and Run).launch | 52 ++++++++++++++++++++++ .../STM32F4xx-UART (OpenOCD, Flash and Run).launch | 52 ++++++++++++++++++++++ testhal/STM32/STM32F4xx/USB_CDC/.cproject | 4 +- 13 files changed, 424 insertions(+), 12 deletions(-) create mode 100644 testhal/STM32/STM32F4xx/EXT/debug/STM32F4xx-EXT (OpenOCD, Flash and Run).launch create mode 100644 testhal/STM32/STM32F4xx/GPT/debug/STM32F4xx-GPT (OpenOCD, Flash and Run).launch create mode 100644 testhal/STM32/STM32F4xx/I2C/debug/STM32F4xx-I2C (OpenOCD, Flash and Run).launch create mode 100644 testhal/STM32/STM32F4xx/I2S/debug/STM32F4xx-I2S (OpenOCD, Flash and Run).launch create mode 100644 testhal/STM32/STM32F4xx/RTC/debug/STM32F4xx-RTC (OpenOCD, Flash and Run).launch create mode 100644 testhal/STM32/STM32F4xx/SDC/debug/STM32F4xx-SDC (OpenOCD, Flash and Run).launch create mode 100644 testhal/STM32/STM32F4xx/SPI/debug/STM32F4xx-SPI (OpenOCD, Flash and Run).launch create mode 100644 testhal/STM32/STM32F4xx/UART/debug/STM32F4xx-UART (OpenOCD, Flash and Run).launch (limited to 'testhal/STM32') diff --git a/testhal/STM32/STM32F4xx/DMA_STORM/debug/STM32F4xx-DMA_STORM (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/DMA_STORM/debug/STM32F4xx-DMA_STORM (OpenOCD, Flash and Run).launch index 04762475f..4f494643e 100644 --- a/testhal/STM32/STM32F4xx/DMA_STORM/debug/STM32F4xx-DMA_STORM (OpenOCD, Flash and Run).launch +++ b/testhal/STM32/STM32F4xx/DMA_STORM/debug/STM32F4xx-DMA_STORM (OpenOCD, Flash and Run).launch @@ -33,7 +33,7 @@ - + diff --git a/testhal/STM32/STM32F4xx/EXT/debug/STM32F4xx-EXT (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/EXT/debug/STM32F4xx-EXT (OpenOCD, Flash and Run).launch new file mode 100644 index 000000000..697d82619 --- /dev/null +++ b/testhal/STM32/STM32F4xx/EXT/debug/STM32F4xx-EXT (OpenOCD, Flash and Run).launch @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/STM32F4xx/GPT/debug/STM32F4xx-GPT (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/GPT/debug/STM32F4xx-GPT (OpenOCD, Flash and Run).launch new file mode 100644 index 000000000..0e104ffba --- /dev/null +++ b/testhal/STM32/STM32F4xx/GPT/debug/STM32F4xx-GPT (OpenOCD, Flash and Run).launch @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/STM32F4xx/GPT/main.c b/testhal/STM32/STM32F4xx/GPT/main.c index e58f7e0a1..44facd2b2 100644 --- a/testhal/STM32/STM32F4xx/GPT/main.c +++ b/testhal/STM32/STM32F4xx/GPT/main.c @@ -18,7 +18,7 @@ #include "hal.h" /* - * GPT2 callback. + * GPT4 callback. */ static void gpt4cb(GPTDriver *gptp) { @@ -74,7 +74,7 @@ int main(void) { chSysInit(); /* - * Initializes the GPT drivers 2 and 3. + * Initializes the GPT drivers 4 and 3. */ gptStart(&GPTD4, &gpt4cfg); gptPolledDelay(&GPTD4, 10); /* Small delay.*/ @@ -82,7 +82,7 @@ int main(void) { gptPolledDelay(&GPTD3, 10); /* Small delay.*/ /* - * Normal main() thread activity, it changes the GPT1 period every + * Normal main() thread activity, it changes the GPT4 period every * five seconds. */ while (true) { diff --git a/testhal/STM32/STM32F4xx/I2C/debug/STM32F4xx-I2C (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/I2C/debug/STM32F4xx-I2C (OpenOCD, Flash and Run).launch new file mode 100644 index 000000000..444c9036b --- /dev/null +++ b/testhal/STM32/STM32F4xx/I2C/debug/STM32F4xx-I2C (OpenOCD, Flash and Run).launch @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/STM32F4xx/I2S/.cproject b/testhal/STM32/STM32F4xx/I2S/.cproject index e05dca097..f406b6b09 100644 --- a/testhal/STM32/STM32F4xx/I2S/.cproject +++ b/testhal/STM32/STM32F4xx/I2S/.cproject @@ -1,7 +1,5 @@ - - - + diff --git a/testhal/STM32/STM32F4xx/I2S/debug/STM32F4xx-I2S (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/I2S/debug/STM32F4xx-I2S (OpenOCD, Flash and Run).launch new file mode 100644 index 000000000..18522df7a --- /dev/null +++ b/testhal/STM32/STM32F4xx/I2S/debug/STM32F4xx-I2S (OpenOCD, Flash and Run).launch @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c index 4f8d5e8bb..694653dda 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c +++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/main.c @@ -123,7 +123,7 @@ static void gpt3cb(GPTDriver *gptp) { } /* - * GPT2 configuration. + * GPT4 configuration. */ static const GPTConfig gpt4cfg = { 1000000, /* 1MHz timer clock.*/ @@ -203,7 +203,7 @@ int main(void) { chSysInit(); /* - * Prepares the Serial driver 2 and GPT drivers 2 and 3. + * Prepares the Serial driver 2 and GPT drivers 4 and 3. */ sdStart(&SD2, NULL); /* Default is 38400-8-N-1.*/ palSetPadMode(GPIOA, 2, PAL_MODE_ALTERNATE(7)); diff --git a/testhal/STM32/STM32F4xx/RTC/debug/STM32F4xx-RTC (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/RTC/debug/STM32F4xx-RTC (OpenOCD, Flash and Run).launch new file mode 100644 index 000000000..eba9bf3ea --- /dev/null +++ b/testhal/STM32/STM32F4xx/RTC/debug/STM32F4xx-RTC (OpenOCD, Flash and Run).launch @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/STM32F4xx/SDC/debug/STM32F4xx-SDC (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/SDC/debug/STM32F4xx-SDC (OpenOCD, Flash and Run).launch new file mode 100644 index 000000000..2d6a432db --- /dev/null +++ b/testhal/STM32/STM32F4xx/SDC/debug/STM32F4xx-SDC (OpenOCD, Flash and Run).launch @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/STM32F4xx/SPI/debug/STM32F4xx-SPI (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/SPI/debug/STM32F4xx-SPI (OpenOCD, Flash and Run).launch new file mode 100644 index 000000000..03aa07db2 --- /dev/null +++ b/testhal/STM32/STM32F4xx/SPI/debug/STM32F4xx-SPI (OpenOCD, Flash and Run).launch @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/STM32F4xx/UART/debug/STM32F4xx-UART (OpenOCD, Flash and Run).launch b/testhal/STM32/STM32F4xx/UART/debug/STM32F4xx-UART (OpenOCD, Flash and Run).launch new file mode 100644 index 000000000..3274c46ca --- /dev/null +++ b/testhal/STM32/STM32F4xx/UART/debug/STM32F4xx-UART (OpenOCD, Flash and Run).launch @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/STM32F4xx/USB_CDC/.cproject b/testhal/STM32/STM32F4xx/USB_CDC/.cproject index 2327ae507..60c70a751 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC/.cproject +++ b/testhal/STM32/STM32F4xx/USB_CDC/.cproject @@ -1,7 +1,5 @@ - - - + -- cgit v1.2.3