File tree Expand file tree Collapse file tree 13 files changed +370
-0
lines changed Expand file tree Collapse file tree 13 files changed +370
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2017, NXP
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+
7+ add_subdirectory (${SOC_SERIES} )
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2017, NXP
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+
7+ config SOC_FAMILY_LPC
8+ bool
9+ # omit prompt to signify a "hidden" option
10+ default n
11+
12+ if SOC_FAMILY_LPC
13+ config SOC_FAMILY
14+ string
15+ default "nxp_lpc"
16+ endif
17+
18+ source "arch/arm/soc/nxp_lpc/*/Kconfig.soc"
19+
20+ config SOC_PART_NUMBER
21+ string
22+ default SOC_PART_NUMBER_LPC54XXX if SOC_SERIES_LPC54XXX
23+
24+ help
25+ This string holds the full part number of the SoC. It is a hidden option
26+ that you should not set directly. The part number selection choice defines
27+ the default value for this string.
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2017, NXP
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+
7+ source "arch/arm/soc/nxp_lpc/*/Kconfig.defconfig.series"
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2017, NXP
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+
7+ source "arch/arm/soc/nxp_lpc/*/Kconfig.series"
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2017, NXP
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+
7+ zephyr_sources(
8+ soc.c
9+ )
Original file line number Diff line number Diff line change 1+ # Kconfig - NXP LPC54114 platform configuration options
2+ #
3+ # Copyright (c) 2017, NXP
4+ #
5+ # SPDX-License-Identifier: Apache-2.0
6+ #
7+
8+ if SOC_LPC54114
9+
10+ config SOC
11+ string
12+ default lpc54114
13+
14+ if PINMUX
15+
16+ config PINMUX_MCUX_LPC
17+ def_bool y
18+
19+ endif # PINMUX
20+
21+ if GPIO
22+
23+ config GPIO_MCUX_LPC
24+ def_bool y
25+
26+ endif # GPIO
27+
28+ if SERIAL
29+
30+ config USART_MCUX_LPC
31+ def_bool y
32+
33+ endif # SERIAL
34+
35+ endif # SOC_LPC54114
Original file line number Diff line number Diff line change 1+ # Kconfig - LPC54XXX series configuration options
2+ #
3+ # Copyright (c) 2017, NXP
4+ #
5+ # SPDX-License-Identifier: Apache-2.0
6+ #
7+
8+ if SOC_SERIES_LPC54XXX
9+
10+ config SOC_SERIES
11+ default lpc54xxx
12+
13+ config NUM_IRQS
14+ int
15+ # must be >= the highest interrupt number used
16+ default 40
17+
18+ source "arch/arm/soc/nxp_lpc/lpc54xxx/Kconfig.defconfig.lp*"
19+
20+ endif # SOC_SERIES_LPC54XXX
Original file line number Diff line number Diff line change 1+ # Kconfig - LPC LPC54XXX MCU line
2+ #
3+ # Copyright (c) 2017, NXP
4+ #
5+ # SPDX-License-Identifier: Apache-2.0
6+ #
7+
8+ config SOC_SERIES_LPC54XXX
9+ bool "LPC LPC54xxx Series MCU"
10+ select CPU_CORTEX_M
11+ select CPU_CORTEX_M4
12+ select SOC_FAMILY_LPC
13+ select SYS_POWER_LOW_POWER_STATE_SUPPORTED
14+ select CPU_HAS_SYSTICK
15+ help
16+ Enable support for LPC LPC54XXX MCU series
Original file line number Diff line number Diff line change 1+ # Kconfig - LPC LPC54XXX MCU line
2+ #
3+ # Copyright (c) 2017, NXP
4+ #
5+ # SPDX-License-Identifier: Apache-2.0
6+ #
7+
8+ choice
9+ prompt "LPC LPC54XXX MCU Selection"
10+ depends on SOC_SERIES_LPC54XXX
11+
12+ config SOC_LPC54114
13+ bool "SOC_LPC54114"
14+ select HAS_MCUX
15+
16+ endchoice
17+
18+ if SOC_SERIES_LPC54XXX
19+
20+ config SOC_PART_NUMBER_LPC54114J256BD64
21+ bool
22+
23+ config SOC_PART_NUMBER_LPC54XXX
24+ string
25+ default "LPC54114J256BD64" if SOC_PART_NUMBER_LPC54114J256BD64
26+
27+ help
28+ This string holds the full part number of the SoC. It is a hidden
29+ option that you should not set directly. The part number selection
30+ choice defines the default value for this string.
31+
32+ endif # SOC_SERIES_LPC54XXX
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2014 Wind River Systems, Inc.
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ /* *
8+ * @file
9+ * @brief Linker command/script file
10+ *
11+ * This is the linker script for both standard images and XIP images.
12+ */
13+
14+ #include < autoconf.h>
15+
16+ #include < arch/arm/cortex_m/scripts/linker.ld>
You can’t perform that action at this time.
0 commit comments