From bea84fc276b0eb6ec2be105eac3d8406d6790b55 Mon Sep 17 00:00:00 2001 From: halyssonJr Date: Sat, 5 Oct 2024 11:25:30 -0300 Subject: [PATCH] Update GPIO description [Page Add][Enhanced Function]Using the XIAO RP2040 for NuttX RTOS Applications #1380 --- .../SeeedStudio_XIAO_RP2040/XIAO-RP2040-with-NuttX-RTOS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040-with-NuttX-RTOS.md b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040-with-NuttX-RTOS.md index 101dbc75eb44..73447e3c774d 100644 --- a/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040-with-NuttX-RTOS.md +++ b/docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2040/XIAO-RP2040-with-NuttX-RTOS.md @@ -85,7 +85,7 @@ Successful compilation was guaranteed, the next goal it's programming using BOOT **Step 4**: Open a serial communication with Seed Stduio XIAO RP2040. -## Hand-on +## Hands-on It's time to explore NuttX practically. In this session, four applications are available: USB NSH, GPIO, USERLEDS, and WS2812 driver. @@ -213,9 +213,9 @@ IO_INPUT_PIN_PULLDOWN 10: GPIO_INTERRUPT_BOTH_PIN ``` -To confirm the GPIO device files were created, type `ls/dev`. After typing, you can see some gpios were declared define on seed-studio-gpio.c, which represent : +To confirm the GPIO device files were created, type `ls/dev`. After typing, you can see some gpios were declared define on [seed-studio-gpio.c](https://github.com/apache/nuttx/blob/9d5b9b7c056e59c2fcc81e7029c95a995140063c/boards/arm/rp2040/seeed-xiao-rp2040/src/rp2040_gpio.c#L49-L61), which represent : -- 2 LED On board (gpio 17 and gpio 16). +- 3 LED On board (gpio 18, gpio 17 and gpio 16). - 1 Intput (gpio 6) - 1 Interrupt Input (gpio 7)