boards: rpi_pico: Add flash support

Add flash support for the rpi_pico board

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
This commit is contained in:
Yonatan Schachter 2022-07-14 21:17:15 +03:00 committed by Fabio Baltieri
commit df3eff5500
3 changed files with 5 additions and 0 deletions

View file

@ -78,6 +78,9 @@ hardware features:
* - PWM * - PWM
- :kconfig:option:`CONFIG_PWM` - :kconfig:option:`CONFIG_PWM`
- :dtcompatible:`raspberrypi,pico-pwm` - :dtcompatible:`raspberrypi,pico-pwm`
* - Flash
- :kconfig:option:`CONFIG_FLASH`
- :dtcompatible:`raspberrypi,pico-flash`
Pin Mapping Pin Mapping
=========== ===========

View file

@ -18,6 +18,7 @@
chosen { chosen {
zephyr,sram = &sram0; zephyr,sram = &sram0;
zephyr,flash = &flash0; zephyr,flash = &flash0;
zephyr,flash-controller = &flash_controller;
zephyr,console = &uart0; zephyr,console = &uart0;
zephyr,shell-uart = &uart0; zephyr,shell-uart = &uart0;
zephyr,code-partition = &code_partition; zephyr,code-partition = &code_partition;

View file

@ -17,3 +17,4 @@ supported:
- hwinfo - hwinfo
- watchdog - watchdog
- pwm - pwm
- flash