Remap pins for soldered version
This commit is contained in:
parent
32177827a1
commit
dfc2cbe198
12
main.c
12
main.c
@ -32,14 +32,14 @@
|
||||
#define DHT_PIN GPIO0
|
||||
|
||||
#define SEGMENT_PORT GPIOA
|
||||
#define SEGMENT_A GPIO7
|
||||
#define SEGMENT_B GPIO5
|
||||
#define SEGMENT_C GPIO2
|
||||
#define SEGMENT_A GPIO5
|
||||
#define SEGMENT_B GPIO3
|
||||
#define SEGMENT_C GPIO6
|
||||
#define SEGMENT_D GPIO0
|
||||
#define SEGMENT_E GPIO1
|
||||
#define SEGMENT_F GPIO3
|
||||
#define SEGMENT_G GPIO6
|
||||
#define SEGMENT_DOT GPIO4
|
||||
#define SEGMENT_F GPIO7
|
||||
#define SEGMENT_G GPIO4
|
||||
#define SEGMENT_DOT GPIO2
|
||||
#define SEGMENT_ALL GPIO0 | GPIO1 | GPIO2 | GPIO3 | GPIO4 | GPIO5 | GPIO6 | GPIO7 | GPIO4
|
||||
#define COMMON_PORT GPIOB
|
||||
#define COMMON_ALL GPIO15 | GPIO14 | GPIO13 | GPIO12 | GPIO11
|
||||
|
@ -20,7 +20,7 @@ ftdi_layout_signal nSRST -ndata 0x0020 -noe 0x0040
|
||||
|
||||
source [find target/stm32f1x.cfg]
|
||||
|
||||
reset_config srst_only
|
||||
#reset_config srst_only
|
||||
|
||||
# Search for RTT string from start of RAM
|
||||
rtt setup 0x20000000 8192 "SEGGER RTT"
|
||||
|
Loading…
Reference in New Issue
Block a user