diff options
Diffstat (limited to 'testhal/STM32L1xx')
-rw-r--r-- | testhal/STM32L1xx/GPT/main.c | 2 | ||||
-rw-r--r-- | testhal/STM32L1xx/IRQ_STORM/main.c | 12 | ||||
-rw-r--r-- | testhal/STM32L1xx/IRQ_STORM/mcuconf.h | 2 | ||||
-rw-r--r-- | testhal/STM32L1xx/IRQ_STORM/readme.txt | 6 |
4 files changed, 14 insertions, 8 deletions
diff --git a/testhal/STM32L1xx/GPT/main.c b/testhal/STM32L1xx/GPT/main.c index 380d9650c..d63743628 100644 --- a/testhal/STM32L1xx/GPT/main.c +++ b/testhal/STM32L1xx/GPT/main.c @@ -29,7 +29,7 @@ static void gpt2cb(GPTDriver *gptp) { (void)gptp;
palSetPad(GPIOB, GPIOB_LED4);
chSysLockFromIsr();
- gptStartOneShotI(&GPTD3, 1000); /* 0.02 second pulse.*/
+ gptStartOneShotI(&GPTD3, 1000); /* 0.1 second pulse.*/
chSysUnlockFromIsr();
}
diff --git a/testhal/STM32L1xx/IRQ_STORM/main.c b/testhal/STM32L1xx/IRQ_STORM/main.c index d3c7a6521..f8e7b7bc5 100644 --- a/testhal/STM32L1xx/IRQ_STORM/main.c +++ b/testhal/STM32L1xx/IRQ_STORM/main.c @@ -239,9 +239,11 @@ int main(void) { println("***");
print("*** Kernel: ");
println(CH_KERNEL_VERSION);
-#ifdef __GNUC__
- print("*** GCC Version: ");
- println(__VERSION__);
+ print("*** Compiled: ");
+ println(__DATE__ " - " __TIME__);
+#ifdef CH_COMPILER_NAME
+ print("*** Compiler: ");
+ println(CH_COMPILER_NAME);
#endif
print("*** Architecture: ");
println(CH_ARCHITECTURE_NAME);
@@ -249,6 +251,10 @@ int main(void) { print("*** Core Variant: ");
println(CH_CORE_VARIANT_NAME);
#endif
+#ifdef CH_PORT_INFO
+ print("*** Port Info: ");
+ println(CH_PORT_INFO);
+#endif
#ifdef PLATFORM_NAME
print("*** Platform: ");
println(PLATFORM_NAME);
diff --git a/testhal/STM32L1xx/IRQ_STORM/mcuconf.h b/testhal/STM32L1xx/IRQ_STORM/mcuconf.h index 4458168c1..b4e3ea258 100644 --- a/testhal/STM32L1xx/IRQ_STORM/mcuconf.h +++ b/testhal/STM32L1xx/IRQ_STORM/mcuconf.h @@ -90,7 +90,7 @@ #define STM32_GPT_USE_TIM1 FALSE
#define STM32_GPT_USE_TIM2 TRUE
#define STM32_GPT_USE_TIM3 TRUE
-#define STM32_GPT_USE_TIM4 TRUE
+#define STM32_GPT_USE_TIM4 FALSE
#define STM32_GPT_USE_TIM5 FALSE
#define STM32_GPT_USE_TIM8 FALSE
#define STM32_GPT_TIM1_IRQ_PRIORITY 7
diff --git a/testhal/STM32L1xx/IRQ_STORM/readme.txt b/testhal/STM32L1xx/IRQ_STORM/readme.txt index f55cf8471..19af96363 100644 --- a/testhal/STM32L1xx/IRQ_STORM/readme.txt +++ b/testhal/STM32L1xx/IRQ_STORM/readme.txt @@ -8,12 +8,12 @@ The demo will on an STMicroelectronics STM32L-Discovery board. ** The Demo **
-The application demonstrates the use of the STM32L1xx PWM-ICU drivers.
+The application demonstrates the use of the STM32L1xx GPT, PAL and Serial
+drivers in order to implement a system stress demo.
** Board Setup **
-- Remove the LCD module.
-- Connect PA15 and PC6 together.
+None.
** Build Procedure **
|