From bed7ca19b287ae8b942fa27de6495c6f8fa0d1ca Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 21 Feb 2018 22:55:27 +0000 Subject: adc-power: stm32l1: make "generic" == hw1 test board. * use the trigger pin instead of the led. * use the smaller flash of the part mounted. --- tests/adc-power/Makefile.stm32l1-generic | 2 +- tests/adc-power/main-stm32l1-generic.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/adc-power/Makefile.stm32l1-generic b/tests/adc-power/Makefile.stm32l1-generic index cc8de84..0814ef1 100644 --- a/tests/adc-power/Makefile.stm32l1-generic +++ b/tests/adc-power/Makefile.stm32l1-generic @@ -13,6 +13,6 @@ VPATH += $(SHARED_DIR) INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR)) OPENCM3_DIR=../../libopencm3 -DEVICE=stm32l151xb +DEVICE=stm32l151x8 OOCD_FILE = openocd.stm32l1-generic.cfg include ../../rules.mk diff --git a/tests/adc-power/main-stm32l1-generic.c b/tests/adc-power/main-stm32l1-generic.c index 9f80be0..00f3a05 100644 --- a/tests/adc-power/main-stm32l1-generic.c +++ b/tests/adc-power/main-stm32l1-generic.c @@ -16,7 +16,7 @@ #include "adc-power.h" #define LED_DISCO_GREEN_PORT GPIOB -#define LED_DISCO_GREEN_PIN GPIO7 +#define LED_DISCO_GREEN_PIN GPIO9 int main(void) -- cgit