Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
d0ae325c
Commit
d0ae325c
authored
7 years ago
by
Fanda Vacek
Browse files
Options
Downloads
Patches
Plain Diff
Issue #85: /dev/userleds is not working for nucleo-l432kc fixed
parent
bcffeae4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configs/nucleo-l432kc/README.txt
+1
-1
1 addition, 1 deletion
configs/nucleo-l432kc/README.txt
configs/nucleo-l432kc/include/board.h
+2
-2
2 additions, 2 deletions
configs/nucleo-l432kc/include/board.h
configs/nucleo-l432kc/src/nucleo-l432kc.h
+2
-2
2 additions, 2 deletions
configs/nucleo-l432kc/src/nucleo-l432kc.h
with
5 additions
and
5 deletions
configs/nucleo-l432kc/README.txt
+
1
−
1
View file @
d0ae325c
...
...
@@ -324,7 +324,7 @@ Hardware
----
The Nucleo F401RE and Nucleo F411RE provide a single user LED, LD2. LD2
is the green LED connected to Arduino signal D13 corresponding to MCU I/O
P
A5 (pin 21) or PB13 (pin 34) depending on the STM32target
.
P
B3 (pin 26)
.
- When the I/O is HIGH value, the LED is on.
- When the I/O is LOW, the LED is off.
...
...
This diff is collapsed.
Click to expand it.
configs/nucleo-l432kc/include/board.h
+
2
−
2
View file @
d0ae325c
...
...
@@ -147,8 +147,8 @@
/* LEDs
*
* The Nucleo l476RG board provides a single user LED, LD2. LD2
* is the green LED connected to Arduino signal D13 corresponding to
MCU I/O
*
PA5 (pin 21) or
PB
1
3 (pin
34) depending on the STM32 target
.
* is the green LED connected to Arduino signal D13 corresponding to
*
MCU I/O
PB3 (pin
26)
.
*
* - When the I/O is HIGH value, the LED is on.
* - When the I/O is LOW, the LED is off.
...
...
This diff is collapsed.
Click to expand it.
configs/nucleo-l432kc/src/nucleo-l432kc.h
+
2
−
2
View file @
d0ae325c
...
...
@@ -77,7 +77,7 @@
#endif
/* LED. User LD2: the green LED is a user LED connected to Arduino signal D13
* corresponding to MCU I/O P
A5 (pin 21) or PB13 (pin 34) depending on the STM32
* corresponding to MCU I/O P
B3 (pin 26)
* target.
*
* - When the I/O is HIGH value, the LED is on.
...
...
@@ -85,7 +85,7 @@
*/
#define GPIO_LD2 \
(GPIO_PORT
A
| GPIO_PIN
5
| GPIO_OUTPUT_CLEAR | GPIO_OUTPUT | GPIO_PULLUP | \
(GPIO_PORT
B
| GPIO_PIN
3
| GPIO_OUTPUT_CLEAR | GPIO_OUTPUT | GPIO_PULLUP | \
GPIO_SPEED_50MHz)
#define LED_DRIVER_PATH "/dev/userleds"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment