You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "casaroli (via GitHub)" <gi...@apache.org> on 2024/09/05 22:07:15 UTC
[PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
casaroli opened a new pull request, #13305:
URL: https://github.com/apache/nuttx/pull/13305
## Summary
This is a very early stage port to RP23XX.
We still have many stuff to fix:
- drivers:
- [x] timerisr - using sysclock -- need to switch to TICK
- [x] UART
- [x] led/gpio/button
- [x] usbdev serial -- somewhat
- [x] uniqueid
- [x] PSRAM
- [x] ADC
- [x] Flash boot
- [ ] I2C
- [ ] usbmsc
- [ ] usb composite
- [ ] AON timer (RTC)
- [ ] watchdog
- [ ] I2S
- [ ] SPI
- [ ] spidev
- [ ] pio
- [ ] SMP
- [ ] MTD
- boards
- [x] Raspberry Pi Pico 2
- [ ] Pimoroni tiny2350
- [ ] Pimonori Pico 2 Plus
- chore
- [ ] register definition generate / reformat
- [ ] format all source files
## Impact
New potentially very popular boards supported in NuttX.
## Testing
Manual testing with the boards on hand.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "PetervdPerk-NXP (via GitHub)" <gi...@apache.org>.
PetervdPerk-NXP commented on PR #13305:
URL: https://github.com/apache/nuttx/pull/13305#issuecomment-2333461158
I see this PR is pulling in the complete RPI Pico SDK.
But that kinda goes against the [The Inviolable Principles of NuttX](https://nuttx.apache.org/docs/latest/introduction/inviolables.html#the-inviolable-principles-of-nuttx)
Please check how it's done for the rp2040 https://github.com/apache/nuttx/tree/master/arch/arm/src/rp2040 that doesn't use the Pico SDK.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on code in PR #13305:
URL: https://github.com/apache/nuttx/pull/13305#discussion_r1746214883
##########
Documentation/platforms/arm/rp23xx/boards/raspberrypi-pico-2/README.txt:
##########
@@ -0,0 +1,63 @@
+README
+======
+
+This directory contains the port of NuttX to the Raspberry Pi Pico.
+See https://www.raspberrypi.org/products/raspberry-pi-pico-2/ for information
+about Raspberry Pi Pico 2.
+
+NuttX supports the following RP2530 capabilities:
+ - UART (console port)
+ - GPIO 0 (UART0 TX) and GPIO 1 (UART0 RX) are used for the console.
+ - ADC
+ - USB device
+ - CDC/ACM serial device can be used for the console.
+ - Flash ROM Boot
+ - SRAM Boot
+
+Installation
+============
+
+1. Configure and build NuttX
+
+ $ git clone https://github.com/apache/nuttx.git nuttx
+ $ git clone https://github.com/apache/nuttx-apps.git apps
+ $ cd nuttx
+ $ make distclean
+ $ ./tools/configure.sh raspberrypi-pico-2:nsh
+ $ make V=1
Review Comment:
```suggestion
$ make -j
##########
Documentation/platforms/arm/rp23xx/boards/raspberrypi-pico-2/README.txt:
##########
@@ -0,0 +1,63 @@
+README
+======
+
+This directory contains the port of NuttX to the Raspberry Pi Pico.
Review Comment:
```suggestion
This directory contains the port of NuttX to the Raspberry Pi Pico 2.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "PeterBee97 (via GitHub)" <gi...@apache.org>.
PeterBee97 commented on PR #13305:
URL: https://github.com/apache/nuttx/pull/13305#issuecomment-2470031793
@coderkalyan Hi, i'm working on the RP2350 porting based on this PR and is 90% complete, should be done by this week. I'll notify you when I'm done and you're welcome to review and make comments :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "casaroli (via GitHub)" <gi...@apache.org>.
casaroli commented on PR #13305:
URL: https://github.com/apache/nuttx/pull/13305#issuecomment-2338426694
> I see this PR is pulling in the complete RPI Pico SDK.
>
> But that kinda goes against the [The Inviolable Principles of NuttX](https://nuttx.apache.org/docs/latest/introduction/inviolables.html#the-inviolable-principles-of-nuttx)
>
> Please check how it's done for the rp2040 https://github.com/apache/nuttx/tree/master/arch/arm/src/rp2040 that doesn't use the Pico SDK.
This is not the complete RPi pico sdk. Just the register descriptors (mostly).
The code will be adapted, rewritten and reformatted to match NuttX standards.
I am currently investigating how/if I can generate the register definitions and structs from the SVD automatically to make things easier.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "casaroli (via GitHub)" <gi...@apache.org>.
casaroli closed pull request #13305: WIP: Raspberry Pi Pico 2 RP2350
URL: https://github.com/apache/nuttx/pull/13305
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "coderkalyan (via GitHub)" <gi...@apache.org>.
coderkalyan commented on PR #13305:
URL: https://github.com/apache/nuttx/pull/13305#issuecomment-2465725420
@casaroli Hi, I'm interested in helping work on this port. I'm going to clone your work and start hacking on it locally but would love to collaborate/coordinate if you have are open.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "PeterBee97 (via GitHub)" <gi...@apache.org>.
PeterBee97 commented on PR #13305:
URL: https://github.com/apache/nuttx/pull/13305#issuecomment-2481266141
Hi all, I'm continuing this PR's work in #14831. Let's giving this new berry a NuttX welcome together! :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "casaroli (via GitHub)" <gi...@apache.org>.
casaroli commented on PR #13305:
URL: https://github.com/apache/nuttx/pull/13305#issuecomment-2595082736
thank you @PeterBee97 for taking over this.
I will soon add the other pimoroni boards.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WIP: Raspberry Pi Pico 2 RP2350 [nuttx]
Posted by "acassis (via GitHub)" <gi...@apache.org>.
acassis commented on code in PR #13305:
URL: https://github.com/apache/nuttx/pull/13305#discussion_r1746216384
##########
Documentation/platforms/arm/rp23xx/boards/raspberrypi-pico-2/index.rst:
##########
@@ -0,0 +1,137 @@
+===============================
+Raspberry Pi Pico
Review Comment:
```suggestion
Raspberry Pi Pico 2
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org