diff options
author | Karl Palsson <karlp@tweak.net.au> | 2018-02-21 22:55:27 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2018-02-21 22:56:01 +0000 |
commit | bed7ca19b287ae8b942fa27de6495c6f8fa0d1ca (patch) | |
tree | 7495ce3ac0be31495644dde20c44e850ef58f29f | |
parent | 427cdf423b659f4e591dc0d8a416828124814598 (diff) | |
download | olsndot-bed7ca19b287ae8b942fa27de6495c6f8fa0d1ca.tar.gz olsndot-bed7ca19b287ae8b942fa27de6495c6f8fa0d1ca.tar.bz2 olsndot-bed7ca19b287ae8b942fa27de6495c6f8fa0d1ca.zip |
adc-power: stm32l1: make "generic" == hw1 test board.
* use the trigger pin instead of the led.
* use the smaller flash of the part mounted.
-rw-r--r-- | tests/adc-power/Makefile.stm32l1-generic | 2 | ||||
-rw-r--r-- | tests/adc-power/main-stm32l1-generic.c | 2 |
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) |