Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Waveshare RP2040 board series #124

Merged
merged 12 commits into from
Sep 21, 2023
Merged

Conversation

rexut
Copy link
Member

@rexut rexut commented Sep 21, 2023

This integrates new hardware related to #122 – [HW] Waveshare RP2040.

evaluated interfaces:

  * UART0 (UART) TX/RX : Zephyr Shell Console
  * USB OTG FS DM/DP (device) : Zephyr Shell Console
  * I2C0 (I2C) SDA/SCL : Zephyr Shell Command 'i2c'
  * TIMER/RTC/WATCHDOG : Zephyr Shell Command 'timer'
  * PWM0 (PWM) : Zephyr Shell Command 'pwm'
  * PWM1 (PWM) : Zephyr Shell Command 'pwm'
  * ADC (CH[0-4]) : Zephyr Shell Command 'adc'
  * SPI1 (SPI) MOSI/NSS/SCK/MISO : on RP2040-LCD-0.96
  * User LED : Zephyr Shell Command 'gpio'
    only for Waveshare RP2040-Plus and RP2040-LCD-0.96
  * WS2812 LED strip : Zephyr WS2812 Sample Application
    only for Waveshare RP2040-One, RP2040-Zero,
    RP2040-Matrix, RP2040-Tiny and RP2040-ETH
  * ST7735S LCD over SPI1 : Zephyr Display Sample Application
    only for Waveshare RP2040-LCD-0.96
  * SWD (SWDIO/SWCLK) : OpenOCD flash and debug
    only for Waveshare RP2040-Plus and RP2040-LCD-0.96

configured but not yet tested interfaces:

  * UART1 (UART) TX/RX
  * I2C1 (I2C) SDA/SCL
  * SPI0 (SPI) MOSI/NSS/SCK/MISO

open tasks / missing pieces:

  * CH9120 network driver for Zephyr (missing driver integration)

Signed-off-by: Stephan Linz <[email protected]>
Map DTS node label 'rpipico_serial', 'rpipico_i2c' and 'rpipico_spi'
from board to the Grove DTS node label 'grove_uart', 'grove_i2c' and
'grove_spi'.

Declare the board specific PWM nexus interface for the laced Grove
interface with about ten more or less independent PWM channels usable
by additional Grove shields on higher level.

Signed-off-by: Stephan Linz <[email protected]>
- support waveshare_rp2040_plus
- support all '@usbcons' board revisions

Signed-off-by: Stephan Linz <[email protected]>
- support waveshare_rp2040_plus
- support all '@usbcons' board revisions

Signed-off-by: Stephan Linz <[email protected]>
- support waveshare_rp2040_plus
- support all '@usbcons' board revisions

Signed-off-by: Stephan Linz <[email protected]>
- support waveshare_rp2040_plus
- support all '@usbcons' board revisions

Signed-off-by: Stephan Linz <[email protected]>
@github-actions
Copy link

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@rexut rexut force-pushed the devel/waveshare_rp2040 branch from 2f8de5b to 1cf63ac Compare September 21, 2023 07:29
Copy link
Contributor

@tobiaskaestner tobiaskaestner left a comment

Choose a reason for hiding this comment

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

LGTM, many thanks!

@rexut rexut merged commit 1cf63ac into main Sep 21, 2023
8 checks passed
@rexut rexut deleted the devel/waveshare_rp2040 branch September 27, 2023 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants