1# Raspberry Pi RP2XXX MCU line
2
3# Copyright (c) 2021 Nordic Semiconductor ASA
4# Copyright (c) 2021 Yonatan Schachter
5# SPDX-License-Identifier: Apache-2.0
6
7config SOC_SERIES_RP2040
8	select ARM
9	select CPU_CORTEX_M0PLUS
10	select CPU_CORTEX_M_HAS_SYSTICK
11	select CPU_CORTEX_M_HAS_VTOR
12	select CPU_HAS_ARM_MPU
13	select HAS_RPI_PICO
14	select XIP
15	select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
16	help
17	  Enable support for Raspberry Pi RP2040 MCU series
18
19if SOC_SERIES_RP2040
20
21config RP2_REQUIRES_SECOND_STAGE_BOOT
22	bool
23	default y if FLASH_LOAD_OFFSET = 0x100
24
25# Flash type used by the SoC. The board should select the one used.
26
27config RP2_FLASH_W25Q080
28	bool
29	help
30	  Configure RP2 to use a W25Q080 flash chip, or similar. Should be selected
31	  by the board definition, not the user.
32
33config RP2_FLASH_GENERIC_03H
34	bool
35	help
36	  Configure RP2 to use a flash chip supporting the standard 03h command.
37	  Should be selected by the board definition, not the user.
38
39config RP2_FLASH_IS25LP080
40	bool
41	help
42	  Configure RP2 to use a IS25LP080 flash chip, or similar. Should be selected
43	  by the board definition, not the user.
44
45config RP2_FLASH_W25X10CL
46	bool
47	help
48	  Configure RP2 to use a W25X10CL flash chip, or similar. Should be selected
49	  by the board definition, not the user.
50
51config RP2_FLASH_AT25SF128A
52	bool
53	help
54	  Configure RP2 to use a AT25SF128A flash chip, or similar. Should be selected
55	  by the board definition, not the user.
56
57endif
58