boards: nucleo_l552ze_q: Fix green led port/pin definition
This commit fixes the definition of the green led pin on the nucleo-L552ZE-Q board The new port/pin for this led (LED1) can be confirmed using docs from os.mbed.com for this board. Additionally I tested it on my own hardware. Also updated the LD2 entry in the docs which was incorrect. Signed-off-by: Łukasz Hejnak (LeHack) <lehack-ghub@lehack.pl>
This commit is contained in:
parent
c8ac3070cc
commit
fce0640336
2 changed files with 2 additions and 2 deletions
|
@ -261,7 +261,7 @@ Default Zephyr Peripheral Mapping:
|
||||||
- SPI_3_MOSI : PC12
|
- SPI_3_MOSI : PC12
|
||||||
- PWM_2_CH1 : PA0
|
- PWM_2_CH1 : PA0
|
||||||
- USER_PB : PC13
|
- USER_PB : PC13
|
||||||
- LD2 : PA5
|
- LD2 : PB7
|
||||||
- DAC1 : PA4
|
- DAC1 : PA4
|
||||||
- ADC1 : PC0
|
- ADC1 : PC0
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
green_led_1: led_1 {
|
green_led_1: led_1 {
|
||||||
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpioc 7 GPIO_ACTIVE_HIGH>;
|
||||||
label = "User LD1";
|
label = "User LD1";
|
||||||
};
|
};
|
||||||
blue_led_1: led_2 {
|
blue_led_1: led_2 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue