Add initial RP2040 support by tannewt · Pull Request #4031 · adafruit/circuitpython · GitHub
Skip to content

Add initial RP2040 support#4031

Merged
dhalbert merged 12 commits into
adafruit:mainfrom
tannewt:rp2040
Jan 21, 2021
Merged

Add initial RP2040 support#4031
dhalbert merged 12 commits into
adafruit:mainfrom
tannewt:rp2040

Conversation

@tannewt

@tannewt tannewt commented Jan 21, 2021

Copy link
Copy Markdown
Member

The RP2040 is new microcontroller from Raspberry Pi that features
two Cortex M0s and eight PIO state machines that are good for
crunching lots of data. It has 264k RAM and a built in UF2
bootloader too.

Datasheet: https://datasheets.raspberrypi.org/rp2040/rp2040_datasheet.pdf

The RP2040 is new microcontroller from Raspberry Pi that features
two Cortex M0s and eight PIO state machines that are good for
crunching lots of data. It has 264k RAM and a built in UF2
bootloader too.

Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
@tannewt tannewt requested a review from dhalbert January 21, 2021 07:20
@tannewt tannewt added rp2040 Raspberry Pi RP2040 enhancement labels Jan 21, 2021
tannewt and others added 3 commits January 20, 2021 23:30
again, we need to stop using a bad cache for ESP32-S2 builds

@dhalbert dhalbert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did an extremely quick pass. Fantastic!

  • I did update the esp32s2 build cache key, but the esp32s2 builds are failing due to a newly guarded include in supervisor/shared/safe_mode.c. I would try to fix it but I can't push to your PR's.
  • Trivial copyediting. Not important.
  • Calling the port raspberrypi might be confusing given one of your aspirations. 😃 Did you think about rp2 or similar?

Comment thread ports/raspberrypi/bindings/rp2pio/StateMachine.c Outdated
Comment thread ports/raspberrypi/bindings/rp2pio/StateMachine.c Outdated
Comment thread py/circuitpy_mpconfig.h Outdated
Comment thread py/circuitpy_mpconfig.h Outdated
Comment thread supervisor/shared/safe_mode.c Outdated
@tannewt

tannewt commented Jan 21, 2021

Copy link
Copy Markdown
Member Author

@dhalbert

dhalbert commented Jan 21, 2021

Copy link
Copy Markdown
Collaborator
* Calling the port `raspberrypi` might be confusing given one of your aspirations. smiley  Did you think about `rp2` or similar?

I know it might be confusing. MicroPython is rp2 so we can't use it. My thought is that this is the chip manufacturer. For raspberry pi boards we'll add ports/broadcom.

Fine by me! Could be rpi or rp2x but raspberrypi fine as well. I will just type [tab] 😄 .

@dhalbert

Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for changes!

@dhalbert dhalbert merged commit 2249a33 into adafruit:main Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement rp2040 Raspberry Pi RP2040

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants