aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-11-11 06:03:29 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-11-11 06:03:29 +0000
commit5a5abcc25c4039661bd244dbb012c04d68a5e781 (patch)
tree011507ada1eb8470f606c6f6c060b149153c8dc2 /os/hal
parentbd22f7167292826f39707f10ddd620fc246cd20c (diff)
downloadChibiOS-5a5abcc25c4039661bd244dbb012c04d68a5e781.tar.gz
ChibiOS-5a5abcc25c4039661bd244dbb012c04d68a5e781.tar.bz2
ChibiOS-5a5abcc25c4039661bd244dbb012c04d68a5e781.zip
Small fixes to SPI demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12414 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h6
-rw-r--r--os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg4
2 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h b/os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h
index a37faf8dd..07a5d09bd 100644
--- a/os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h
+++ b/os/hal/boards/ST_STM32L4R9I_DISCOVERY/board.h
@@ -1347,7 +1347,7 @@
* PH1 - OSC_OUT (analog).
* PH2 - PIN2 (analog).
* PH3 - BOOT0 (input floating).
- * PH4 - LED LED_GREEN (output pushpull minimum).
+ * PH4 - LED LED_GREEN (output pushpull maximum).
* PH5 - PIN5 (analog).
* PH6 - PIN6 (analog).
* PH7 - PIN7 (analog).
@@ -1396,7 +1396,7 @@
PIN_OSPEED_VERYLOW(GPIOH_OSC_OUT) | \
PIN_OSPEED_VERYLOW(GPIOH_PIN2) | \
PIN_OSPEED_VERYLOW(GPIOH_BOOT0) | \
- PIN_OSPEED_VERYLOW(GPIOH_LED) | \
+ PIN_OSPEED_HIGH(GPIOH_LED) | \
PIN_OSPEED_VERYLOW(GPIOH_PIN5) | \
PIN_OSPEED_VERYLOW(GPIOH_PIN6) | \
PIN_OSPEED_VERYLOW(GPIOH_PIN7) | \
@@ -1428,7 +1428,7 @@
PIN_ODR_LOW(GPIOH_OSC_OUT) | \
PIN_ODR_LOW(GPIOH_PIN2) | \
PIN_ODR_LOW(GPIOH_BOOT0) | \
- PIN_ODR_LOW(GPIOH_LED) | \
+ PIN_ODR_HIGH(GPIOH_LED) | \
PIN_ODR_LOW(GPIOH_PIN5) | \
PIN_ODR_LOW(GPIOH_PIN6) | \
PIN_ODR_LOW(GPIOH_PIN7) | \
diff --git a/os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg b/os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg
index 9befa853e..716a19662 100644
--- a/os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg
+++ b/os/hal/boards/ST_STM32L4R9I_DISCOVERY/cfg/board.chcfg
@@ -1198,14 +1198,14 @@
Level="Low" ></pin3>
<pin4
Type="PushPull"
- Speed="Minimum"
+ Speed="Maximum"
AnalogSwitch="Disabled"
PinLock="Disabled"
Alternate="0"
ID="LED LED_GREEN"
Resistor="Floating"
Mode="Output"
- Level="Low" />
+ Level="High" />
<pin5
Type="PushPull"
Speed="Minimum"