adc-power: stm32l1: make "generic" == hw1 test board.

* use the trigger pin instead of the led.
* use the smaller flash of the part mounted.
This commit is contained in:
Karl Palsson 2018-02-21 22:55:27 +00:00
parent 427cdf423b
commit bed7ca19b2
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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)