From 5a5abcc25c4039661bd244dbb012c04d68a5e781 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 11 Nov 2018 06:03:29 +0000 Subject: Small fixes to SPI demo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12414 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- .../multi/SPI/cfg/stm32l4r9_discovery/portab.h | 4 +- ...SPI (Select ELF file)(OpenOCD, Just Run).launch | 104 ++++++++++----------- testhal/STM32/multi/SPI/main.c | 2 +- 3 files changed, 55 insertions(+), 55 deletions(-) (limited to 'testhal') diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/portab.h b/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/portab.h index 2a7e250d3..975b76ded 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/portab.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l4r9_discovery/portab.h @@ -31,8 +31,8 @@ #define PORTAB_LINE_LED1 LINE_LED //#define PORTAB_LINE_LED2 LINE_LED -#define PORTAB_LED_OFF PAL_LOW -#define PORTAB_LED_ON PAL_HIGH +#define PORTAB_LED_OFF PAL_HIGH +#define PORTAB_LED_ON PAL_LOW #define PORTAB_LINE_BUTTON LINE_BUTTON #define PORTAB_BUTTON_PRESSED PAL_HIGH diff --git a/testhal/STM32/multi/SPI/debug/STM32-SPI (Select ELF file)(OpenOCD, Just Run).launch b/testhal/STM32/multi/SPI/debug/STM32-SPI (Select ELF file)(OpenOCD, Just Run).launch index 427a9ce64..16fd82a78 100644 --- a/testhal/STM32/multi/SPI/debug/STM32-SPI (Select ELF file)(OpenOCD, Just Run).launch +++ b/testhal/STM32/multi/SPI/debug/STM32-SPI (Select ELF file)(OpenOCD, Just Run).launch @@ -1,52 +1,52 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/testhal/STM32/multi/SPI/main.c b/testhal/STM32/multi/SPI/main.c index 76f19177b..aa8d9bb33 100755 --- a/testhal/STM32/multi/SPI/main.c +++ b/testhal/STM32/multi/SPI/main.c @@ -144,7 +144,7 @@ int main(void) { #if SPI_SUPPORTS_CIRCULAR == TRUE /* - * Starting a continous operation for test. + * Starting a continuous operation for test. */ spiStart(&PORTAB_SPI1, &c_spicfg); /* Setup transfer parameters. */ spiSelect(&PORTAB_SPI1); /* Slave Select assertion. */ -- cgit v1.2.3