-
Notifications
You must be signed in to change notification settings - Fork 8.2k
boards: waveshare: rp2040_plus: add 16M flash board #92384
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Copyright (c) 2025 David Schneider | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| config BOARD_RP2040_PLUS_16MB | ||
| select SOC_RP2040 |
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think I can do a multi-line suggestion, but I think the more Zephyr-y way of doing this would be to define multiple boards here. Like this: This would mean the |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,11 @@ | ||
| board: | ||
| name: rp2040_plus | ||
| full_name: RP2040-Plus | ||
| vendor: waveshare | ||
| socs: | ||
| - name: rp2040 | ||
| boards: | ||
| - name: rp2040_plus | ||
| full_name: RP2040-Plus | ||
| vendor: waveshare | ||
| socs: | ||
| - name: rp2040 | ||
| - name: rp2040_plus_16mb | ||
| full_name: RP2040-Plus-16MB | ||
| vendor: waveshare | ||
| socs: | ||
| - name: rp2040 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| #include "rp2040_plus.dts" | ||
|
|
||
| &flash0 { | ||
| reg = <0x10000000 DT_SIZE_M(16)>; | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| identifier: rp2040_plus | ||
| name: Waveshare RP2040-Plus | ||
| type: mcu | ||
| arch: arm | ||
| flash: 16384 | ||
| ram: 264 | ||
| toolchain: | ||
| - zephyr | ||
| - gnuarmemb | ||
| supported: | ||
| - uart | ||
| - gpio | ||
| - adc | ||
| - i2c | ||
| - spi | ||
| - hwinfo | ||
| - watchdog | ||
| - pwm | ||
| - flash | ||
| - dma | ||
| - counter | ||
| - clock | ||
| - usbd |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| CONFIG_SERIAL=y | ||
| CONFIG_CONSOLE=y | ||
| CONFIG_UART_CONSOLE=y | ||
| CONFIG_GPIO=y | ||
| CONFIG_USE_DT_CODE_PARTITION=y | ||
| CONFIG_BUILD_OUTPUT_UF2=y | ||
| CONFIG_BUILD_OUTPUT_HEX=y | ||
| CONFIG_UART_INTERRUPT_DRIVEN=y | ||
| CONFIG_RESET=y | ||
| CONFIG_CLOCK_CONTROL=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't be adding
boolto these symbols, will have to do a workaround similar to:though this still doesn't make sense as the w25q080 is an 8Mbit part?