summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/adc-power/Makefile.stm32l1-generic2
-rw-r--r--tests/adc-power/main-stm32l1-generic.c2
2 files changed, 2 insertions, 2 deletions
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)