summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/lpc32xx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--spec/build/bsps/arm/lpc32xx/abi.yml18
-rw-r--r--spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/bspmzxstage1.yml21
-rw-r--r--spec/build/bsps/arm/lpc32xx/bspmzxstage2.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/bspphycore.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/grp.yml84
-rw-r--r--spec/build/bsps/arm/lpc32xx/obj.yml69
-rw-r--r--spec/build/bsps/arm/lpc32xx/objnet.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optdismmu.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optdisroprot.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optdisrwdc.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optdmachn.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optenwdgrst.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optethrmii.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optoscmain.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optoscrtc.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optotgi2c.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/optotgvbus.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/optperiphclk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optresetvec.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optscratchsz.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/optstopeth.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optstopgpdma.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optstopusb.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optu3clk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optu4clk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optu5clk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optu6clk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart1baud.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart2baud.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart3baud.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart4baud.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart5baud.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart6baud.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart7baud.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/tstmzxstage1.yml23
36 files changed, 717 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/lpc32xx/abi.yml b/spec/build/bsps/arm/lpc32xx/abi.yml
new file mode 100644
index 0000000000..ae245b4eb0
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm926ej-s
+- -mthumb
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml b/spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml
new file mode 100644
index 0000000000..9a9762dd5d
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc32xx_mzx
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc32xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/bspmzxstage1.yml b/spec/build/bsps/arm/lpc32xx/bspmzxstage1.yml
new file mode 100644
index 0000000000..09a70a0654
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/bspmzxstage1.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc32xx_mzx_stage_1
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc32xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstmzxstage1
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/bspmzxstage2.yml b/spec/build/bsps/arm/lpc32xx/bspmzxstage2.yml
new file mode 100644
index 0000000000..ff709b0bc3
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/bspmzxstage2.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc32xx_mzx_stage_2
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc32xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/bspphycore.yml b/spec/build/bsps/arm/lpc32xx/bspphycore.yml
new file mode 100644
index 0000000000..74396727d6
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/bspphycore.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc32xx_phycore
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc32xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/grp.yml b/spec/build/bsps/arm/lpc32xx/grp.yml
new file mode 100644
index 0000000000..510909428c
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/grp.yml
@@ -0,0 +1,84 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optdismmu
+- role: build-dependency
+ uid: optdisroprot
+- role: build-dependency
+ uid: optdisrwdc
+- role: build-dependency
+ uid: optdmachn
+- role: build-dependency
+ uid: optenwdgrst
+- role: build-dependency
+ uid: optethrmii
+- role: build-dependency
+ uid: optoscmain
+- role: build-dependency
+ uid: optoscrtc
+- role: build-dependency
+ uid: optotgi2c
+- role: build-dependency
+ uid: optotgvbus
+- role: build-dependency
+ uid: optperiphclk
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: optscratchsz
+- role: build-dependency
+ uid: optstopeth
+- role: build-dependency
+ uid: optstopgpdma
+- role: build-dependency
+ uid: optstopusb
+- role: build-dependency
+ uid: optu3clk
+- role: build-dependency
+ uid: optu4clk
+- role: build-dependency
+ uid: optu5clk
+- role: build-dependency
+ uid: optu6clk
+- role: build-dependency
+ uid: optuart1baud
+- role: build-dependency
+ uid: optuart2baud
+- role: build-dependency
+ uid: optuart3baud
+- role: build-dependency
+ uid: optuart4baud
+- role: build-dependency
+ uid: optuart5baud
+- role: build-dependency
+ uid: optuart6baud
+- role: build-dependency
+ uid: optuart7baud
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/lpc32xx/obj.yml b/spec/build/bsps/arm/lpc32xx/obj.yml
new file mode 100644
index 0000000000..70ee86302c
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/obj.yml
@@ -0,0 +1,69 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/lpc32xx/include/bsp.h
+ - bsps/arm/lpc32xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/lpc32xx/include/bsp/boot.h
+ - bsps/arm/lpc32xx/include/bsp/emc.h
+ - bsps/arm/lpc32xx/include/bsp/hsu.h
+ - bsps/arm/lpc32xx/include/bsp/i2c.h
+ - bsps/arm/lpc32xx/include/bsp/irq.h
+ - bsps/arm/lpc32xx/include/bsp/lpc-clock-config.h
+ - bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
+ - bsps/arm/lpc32xx/include/bsp/lpc32xx.h
+ - bsps/arm/lpc32xx/include/bsp/mmu.h
+ - bsps/arm/lpc32xx/include/bsp/nand-mlc.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_1
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore
+links: []
+source:
+- bsps/arm/lpc32xx/console/console-config.c
+- bsps/arm/lpc32xx/console/hsu.c
+- bsps/arm/lpc32xx/i2c/i2c.c
+- bsps/arm/lpc32xx/irq/irq.c
+- bsps/arm/lpc32xx/nand/nand-mlc-erase-block-safe.c
+- bsps/arm/lpc32xx/nand/nand-mlc-read-blocks.c
+- bsps/arm/lpc32xx/nand/nand-mlc-write-blocks.c
+- bsps/arm/lpc32xx/nand/nand-mlc.c
+- bsps/arm/lpc32xx/nand/nand-select.c
+- bsps/arm/lpc32xx/rtc/rtc-config.c
+- bsps/arm/lpc32xx/start/boot.c
+- bsps/arm/lpc32xx/start/bspidle.c
+- bsps/arm/lpc32xx/start/bspreset.c
+- bsps/arm/lpc32xx/start/bspstart.c
+- bsps/arm/lpc32xx/start/bspstarthooks.c
+- bsps/arm/lpc32xx/start/emc.c
+- bsps/arm/lpc32xx/start/restart.c
+- bsps/arm/lpc32xx/start/system-clocks.c
+- bsps/arm/lpc32xx/start/timer.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/clock/clock-nxp-lpc.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/dev/serial/uart-output-char.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/objnet.yml b/spec/build/bsps/arm/lpc32xx/objnet.yml
new file mode 100644
index 0000000000..8534edceaf
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/shared/net/lpc-ethernet.c
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optdismmu.yml b/spec/build/bsps/arm/lpc32xx/optdismmu.yml
new file mode 100644
index 0000000000..b431f04841
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optdismmu.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ disable MMU
+enabled-by: true
+links: []
+name: LPC32XX_DISABLE_MMU
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optdisroprot.yml b/spec/build/bsps/arm/lpc32xx/optdisroprot.yml
new file mode 100644
index 0000000000..5ce23607b8
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optdisroprot.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ disable MMU protection of read-only sections
+enabled-by: true
+links: []
+name: LPC32XX_DISABLE_READ_ONLY_PROTECTION
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optdisrwdc.yml b/spec/build/bsps/arm/lpc32xx/optdisrwdc.yml
new file mode 100644
index 0000000000..55765c3e8e
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optdisrwdc.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ disable cache for read-write data sections
+enabled-by: true
+links: []
+name: LPC32XX_DISABLE_READ_WRITE_DATA_CACHE
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optdmachn.yml b/spec/build/bsps/arm/lpc32xx/optdmachn.yml
new file mode 100644
index 0000000000..4c826a5f01
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optdmachn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 8
+default-by-variant: []
+description: |
+ DMA channel count
+enabled-by: true
+format: '{}'
+links: []
+name: LPC_DMA_CHANNEL_COUNT
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optenwdgrst.yml b/spec/build/bsps/arm/lpc32xx/optenwdgrst.yml
new file mode 100644
index 0000000000..d36a5c0398
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optenwdgrst.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ bsp_reset() will use the watchdog to reset the chip
+enabled-by: true
+links: []
+name: LPC32XX_ENABLE_WATCHDOG_RESET
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optethrmii.yml b/spec/build/bsps/arm/lpc32xx/optethrmii.yml
new file mode 100644
index 0000000000..ccb4c95abc
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optethrmii.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable RMII for Ethernet
+enabled-by: true
+links: []
+name: LPC32XX_ETHERNET_RMII
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optoscmain.yml b/spec/build/bsps/arm/lpc32xx/optoscmain.yml
new file mode 100644
index 0000000000..aadb9b6799
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optoscmain.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 13000000
+default-by-variant: []
+description: |
+ main oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_OSCILLATOR_MAIN
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optoscrtc.yml b/spec/build/bsps/arm/lpc32xx/optoscrtc.yml
new file mode 100644
index 0000000000..09aab2d9c6
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optoscrtc.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 32768
+default-by-variant: []
+description: |
+ RTC oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_OSCILLATOR_RTC
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optotgi2c.yml b/spec/build/bsps/arm/lpc32xx/optotgi2c.yml
new file mode 100644
index 0000000000..72137d9c27
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optotgi2c.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 88
+ variants:
+ - arm/lpc32xx_mzx.*
+description: |
+ USB OTG transceiver I2C address used by USB stack
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optotgvbus.yml b/spec/build/bsps/arm/lpc32xx/optotgvbus.yml
new file mode 100644
index 0000000000..0d9d6b65f5
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optotgvbus.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: USB_OTG_VBUS_POWER_WITH_CHARGE_PUMP
+ variants:
+ - arm/lpc32xx_mzx.*
+description: |
+ USB OTG transceiver VBUS policy
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_USB_OTG_TRANSCEIVER_VBUS
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optperiphclk.yml b/spec/build/bsps/arm/lpc32xx/optperiphclk.yml
new file mode 100644
index 0000000000..70be8d51bf
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optperiphclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 13000000
+default-by-variant: []
+description: |
+ peripheral clock in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_PERIPH_CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optresetvec.yml b/spec/build/bsps/arm/lpc32xx/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optscratchsz.yml b/spec/build/bsps/arm/lpc32xx/optscratchsz.yml
new file mode 100644
index 0000000000..c54f1ae7b3
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optscratchsz.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 4096
+ variants:
+ - arm/lpc32xx_mzx.*
+description: |
+ size of scratch area
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_SCRATCH_AREA_SIZE
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optstopeth.yml b/spec/build/bsps/arm/lpc32xx/optstopeth.yml
new file mode 100644
index 0000000000..2d430a1862
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optstopeth.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop Ethernet controller at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC32XX_STOP_ETHERNET
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optstopgpdma.yml b/spec/build/bsps/arm/lpc32xx/optstopgpdma.yml
new file mode 100644
index 0000000000..5096cc48a9
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optstopgpdma.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop general purpose DMA at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC32XX_STOP_GPDMA
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optstopusb.yml b/spec/build/bsps/arm/lpc32xx/optstopusb.yml
new file mode 100644
index 0000000000..e2bbc72f5f
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optstopusb.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop USB controller at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC32XX_STOP_USB
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optu3clk.yml b/spec/build/bsps/arm/lpc32xx/optu3clk.yml
new file mode 100644
index 0000000000..e8aa25671f
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optu3clk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4998
+default-by-variant: []
+description: |
+ clock configuration for UART 3
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LPC32XX_CONFIG_U3CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optu4clk.yml b/spec/build/bsps/arm/lpc32xx/optu4clk.yml
new file mode 100644
index 0000000000..19c36967e1
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optu4clk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4998
+default-by-variant: []
+description: |
+ clock configuration for UART 4
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LPC32XX_CONFIG_U4CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optu5clk.yml b/spec/build/bsps/arm/lpc32xx/optu5clk.yml
new file mode 100644
index 0000000000..66a67dea95
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optu5clk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4998
+default-by-variant: []
+description: |
+ clock configuration for UART 5
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LPC32XX_CONFIG_U5CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optu6clk.yml b/spec/build/bsps/arm/lpc32xx/optu6clk.yml
new file mode 100644
index 0000000000..364e3143f9
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optu6clk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4998
+default-by-variant: []
+description: |
+ clock configuration for UART 6
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LPC32XX_CONFIG_U6CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart1baud.yml b/spec/build/bsps/arm/lpc32xx/optuart1baud.yml
new file mode 100644
index 0000000000..d0b7a546db
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart1baud.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ baud for UART 1
+enabled-by: true
+links: []
+name: LPC32XX_UART_1_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart2baud.yml b/spec/build/bsps/arm/lpc32xx/optuart2baud.yml
new file mode 100644
index 0000000000..5bdf8be11b
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart2baud.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ baud for UART 2
+enabled-by: true
+links: []
+name: LPC32XX_UART_2_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart3baud.yml b/spec/build/bsps/arm/lpc32xx/optuart3baud.yml
new file mode 100644
index 0000000000..95e63cf56e
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart3baud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UART 3
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_UART_3_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart4baud.yml b/spec/build/bsps/arm/lpc32xx/optuart4baud.yml
new file mode 100644
index 0000000000..d210bd3c6b
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart4baud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UART 4
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_UART_4_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart5baud.yml b/spec/build/bsps/arm/lpc32xx/optuart5baud.yml
new file mode 100644
index 0000000000..0021d5c9ed
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart5baud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UART 5
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_UART_5_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart6baud.yml b/spec/build/bsps/arm/lpc32xx/optuart6baud.yml
new file mode 100644
index 0000000000..dc856fa33e
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart6baud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UART 6
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_UART_6_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart7baud.yml b/spec/build/bsps/arm/lpc32xx/optuart7baud.yml
new file mode 100644
index 0000000000..867d534e57
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart7baud.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ baud for UART 7
+enabled-by: true
+links: []
+name: LPC32XX_UART_7_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/tstmzxstage1.yml b/spec/build/bsps/arm/lpc32xx/tstmzxstage1.yml
new file mode 100644
index 0000000000..0bb2da517c
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/tstmzxstage1.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ ftp01: exclude
+ iostream: exclude
+ mghttpd01: exclude
+ monitor02: exclude
+ pppd: exclude
+ rtems: exclude
+ sp71: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build