1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/leds_shell: change application name

This commit is contained in:
krzysztof-cabaj 2024-07-12 18:11:03 +02:00
parent 9aea4bdb55
commit 4273f970a7
3 changed files with 14 additions and 14 deletions

View File

@ -7,7 +7,7 @@
####
# Set the name of your application:
APPLICATION = LEDs
APPLICATION = leds_shell
# If no BOARD is found in the environment, use this default:
BOARD ?= native

View File

@ -2,9 +2,9 @@
## Description
This basic example allows easy, interactive control of internal board LEDs,
and basic GPIO for externally connected simple devices (for e.g. additional
LEDs, relay, motors - via dedicated drivers, etc.).
The application `leds_shell` is a basic example, which allows easy, interactive
control of internal board LEDs, and basic GPIO for externally connected simple
devices (for e.g. additional LEDs, relay, motors - via dedicated drivers, etc.).
In particular, this example shows:
- on/off and toggle internal board LEDs.
@ -35,24 +35,24 @@ RIOT native interrupts/signals initialized.
RIOT native board initialized.
RIOT native hardware initialization complete.
main(): This is RIOT! (Version: 2021.07-devel-10893-gb2e97-example-LEDs)
LEDs, version 1.0.0
main(): This is RIOT! (Version: 2021.07-devel-10893-gb2e97-example-leds_shell)
leds_shell, version 1.0.0
>
```
Or run it directly without terminal. Go to `RIOT/examples/LEDs` and run
Or run it directly without terminal. Go to `RIOT/examples/leds_shell` and run
commands:
```
$ make
[...]
$ ./bin/native/LEDs.elf
$ ./bin/native/leds_shell.elf
RIOT native interrupts/signals initialized.
RIOT native board initialized.
RIOT native hardware initialization complete.
main(): This is RIOT! (Version: 2021.07-devel-10893-gb2e97-example-LEDs)
LEDs, version 1.0.0
main(): This is RIOT! (Version: 2021.07-devel-10893-gb2e97-example-leds_shell)
leds_shell, version 1.0.0
>
```
@ -82,14 +82,14 @@ LED_GREEN_ON
```
## Example on sample board - stm32f469i-disco
- Build and flash `LEDs` example application on sample board, for example
- Build and flash `leds_shell` example application on sample board, for example
`stm32f469i-disco` target, which has 4 internal LEDs:
```
$ make BOARD=stm32f469i-disco flash term
[...]
main(): This is RIOT! (Version: 2021.07-devel-10894-g2ad22b9-example-LEDs)
LEDs, version 1.0.0
main(): This is RIOT! (Version: 2021.07-devel-10894-g2ad22b9-example-leds_shell)
leds_shell, version 1.0.0
> help
help
Command Description

View File

@ -320,7 +320,7 @@ static const shell_command_t commands[] = {
int main(void)
{
char line_buf[SHELL_DEFAULT_BUFSIZE];
printf("LEDs, version 1.0.0\n");
printf("leds_shell, version 1.0.0\n");
shell_run(commands, line_buf, SHELL_DEFAULT_BUFSIZE);