build: Format build items

Use yaml.dump(data, default_flow_style=False, allow_unicode=True) with a
custom representer for integer default values to format all build items.
This commit is contained in:
Sebastian Huber
2023-01-12 10:03:27 +01:00
parent cac528f85a
commit 336823191a
154 changed files with 540 additions and 544 deletions

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 32768
default: 0x00008000
default-by-variant: []
description: |
offset of RAM region from memory area base

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 1048576
default: 0x00100000
default-by-variant: []
description: |
length of nocache RAM region

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 0x8000000
default: 0x08000000
default-by-variant: []
description: |
length of memory area available to the BSP

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 1073741824
default: 0x40000000
default-by-variant: []
description: |
base address of memory area available to the BSP

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 32768
default: 0x00008000
default-by-variant: []
description: |
offset of RAM region from memory area base

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 1048576
default: 0x00100000
default-by-variant: []
description: |
length of nocache RAM region

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 0x8000000
default: 0x08000000
default-by-variant: []
description: |
length of memory area available to the BSP

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 1073741824
default: 0x40000000
default-by-variant: []
description: |
base address of memory area available to the BSP

View File

@@ -1,14 +1,14 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- assert-ge: 0x1
- assert-le: 0x800
- assert-ge: 1
- assert-le: 2048
- env-assign: null
- format-and-define: null
build-type: option
copyrights:
- Copyright (C) 2021 On-Line Applications Research (OAR)
default: 0x40
default: 0x00000040
default-by-variant: []
description: |
Defines the number of MMU translation table pages to provide.

View File

@@ -9,12 +9,11 @@ copyrights:
default:
- -mcpu=cortex-a72
- -march=armv8-a
default-by-variant: []
includes: []
description: |
ABI flags
links: []
enabled-by: true
includes: []
links: []
name: ABI_FLAGS
type: build

View File

@@ -14,37 +14,10 @@ install:
source:
- bsps/aarch64/raspberrypi/include/bsp.h
- bsps/aarch64/raspberrypi/include/tm27.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/aarch64/raspberrypi/include/bsp/irq.h
- bsps/aarch64/raspberrypi/include/bsp/raspberrypi.h
source:
- bsps/aarch64/raspberrypi/console/console.c
- bsps/aarch64/raspberrypi/start/bspstart.c
- bsps/aarch64/raspberrypi/start/bspstarthooks.c
- bsps/aarch64/raspberrypi/start/bspstartmmu.c
- bsps/aarch64/shared/clock/arm-generic-timer-aarch64.c
- bsps/aarch64/shared/cache/cache.c
- bsps/aarch64/shared/mmu/vmsav8-64.c
- bsps/shared/dev/clock/arm-generic-timer.c
- bsps/shared/dev/irq/arm-gicv2.c
- bsps/shared/dev/irq/arm-gicv2-get-attributes.c
- bsps/shared/dev/serial/console-termios-init.c
- bsps/shared/dev/serial/console-termios.c
- bsps/shared/dev/serial/arm-pl011.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/btimer/btimer-cpucounter.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspreset-arm-psci.c
- bsps/shared/start/gettargethash-default.c
- bsps/shared/start/sbrk.c
- bsps/shared/start/wkspaceinitone.c
- bsps/shared/start/mallocinitmulti.c
- bsps/shared/start/bspgetworkarea-default.c
links:
- role: build-dependency
uid: ../grp
@@ -72,5 +45,28 @@ links:
uid: ../../obj
- role: build-dependency
uid: ../../objirq
source:
- bsps/aarch64/raspberrypi/console/console.c
- bsps/aarch64/raspberrypi/start/bspstart.c
- bsps/aarch64/raspberrypi/start/bspstarthooks.c
- bsps/aarch64/raspberrypi/start/bspstartmmu.c
- bsps/aarch64/shared/clock/arm-generic-timer-aarch64.c
- bsps/aarch64/shared/cache/cache.c
- bsps/aarch64/shared/mmu/vmsav8-64.c
- bsps/shared/dev/clock/arm-generic-timer.c
- bsps/shared/dev/irq/arm-gicv2.c
- bsps/shared/dev/irq/arm-gicv2-get-attributes.c
- bsps/shared/dev/serial/console-termios-init.c
- bsps/shared/dev/serial/console-termios.c
- bsps/shared/dev/serial/arm-pl011.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/btimer/btimer-cpucounter.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bspfatal-default.c
- bsps/shared/start/bspreset-arm-psci.c
- bsps/shared/start/gettargethash-default.c
- bsps/shared/start/sbrk.c
- bsps/shared/start/wkspaceinitone.c
- bsps/shared/start/mallocinitmulti.c
- bsps/shared/start/bspgetworkarea-default.c
type: build

View File

@@ -7,9 +7,9 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2021 Gedare Bloom <gedare@rtems.org>
default: 0x0
default: 0x00000000
default-by-variant:
- value: 32768
- value: 0x00008000
variants:
- aarch64/xilinx_versal_qemu
description: |

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2021 Gedare Bloom <gedare@rtems.org>
default: 0x100000
default: 0x00100000
default-by-variant: []
description: |
length of nocache RAM region

View File

@@ -7,9 +7,9 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 32768
default: 0x00008000
default-by-variant:
- value: 0x0
- value: 0x00000000
variants:
- aarch64/xilinx_zynqmp_lp64_cfc400x
- aarch64/xilinx_zynqmp_lp64_zu3eg

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 0x100000
default: 0x00100000
default-by-variant: []
description: |
length of nocache RAM region

View File

@@ -6,7 +6,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 4096
default: 0x00001000
default-by-variant: []
description: |
size of NOCACHE section in bytes

View File

@@ -3,15 +3,15 @@ actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00000000
default-by-variant: []
description: |
Size of the NULL pointer protection area in bytes. This memory area reduces
the size of the ITCM available to the application.
enabled-by: true
format: '{:#010x}'
links: []
name: ATSAM_MEMORY_NULL_SIZE
description: |
Size of the NULL pointer protection area in bytes. This memory area reduces
the size of the ITCM available to the application.
type: build
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -6,7 +6,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 2097152
default: 0x00200000
default-by-variant: []
description: |
size of QSPI flash in bytes

View File

@@ -6,7 +6,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0
default: 0x00000000
default-by-variant: []
description: |
Size of tightly coupled memories (TCM) in bytes. Note that the ITCM is

View File

@@ -8,9 +8,9 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 436207616
default: 0x1a000000
default-by-variant:
- value: 2583691264
- value: 0x9a000000
variants:
- arm/fvp_cortex_r52
description: |

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 354418688
default: 0x15200000
default-by-variant: []
description: |
Defines the size in bytes of the device area.

View File

@@ -7,9 +7,9 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 2147483648
default: 0x80000000
default-by-variant:
- value: 1024
- value: 0x00000400
variants:
- arm/fvp_cortex_r52
description: |

View File

@@ -7,9 +7,9 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 33554432
default: 0x02000000
default-by-variant:
- value: 33553408
- value: 0x01fffc00
variants:
- arm/fvp_cortex_r52
description: |

View File

@@ -7,9 +7,9 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 1048576
default: 0x00100000
default-by-variant:
- value: 1024
- value: 0x00000400
variants:
- arm/fvp_cortex_r52
description: |

View File

@@ -1,11 +1,11 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
INCLUDE ${IMXRT_DEFAULT_LINKCMDS}
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
install-path: ${BSP_LIBDIR}
links: []
target: linkcmds
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,3 +1,4 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
MEMORY {
@@ -57,11 +58,10 @@ content: |
imxrt_memory_extram_nocache_begin = ORIGIN (EXTRAM_NOCACHE);
imxrt_memory_extram_nocache_end = ORIGIN (EXTRAM_NOCACHE) + LENGTH (EXTRAM_NOCACHE);
imxrt_memory_extram_nocache_size = LENGTH (EXTRAM_NOCACHE);
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
install-path: ${BSP_LIBDIR}
links: []
target: linkcmds.memory
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,17 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- env-assign: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: linkcmds.flexspi
default-by-variant: []
description: |
The default linker command file. Must be linkcmds.sdram, linkcmds.ocram or
linkcmds.flexspi.
enabled-by: true
format: '{}'
links: []
name: IMXRT_DEFAULT_LINKCMDS
description: |
The default linker command file. Must be linkcmds.sdram, linkcmds.ocram or
linkcmds.flexspi.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,17 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x20000
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00020000
default-by-variant: []
description: |
Size of the DTCM in bytes. Note that these sizes depend on fuses or software
settings done by a bootloader (together with ITCM and OCRAM).
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_DTCM_SIZE
description: |
Size of the DTCM in bytes. Note that these sizes depend on fuses or software
settings done by a bootloader (together with ITCM and OCRAM).
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,17 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 1048576
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00100000
default-by-variant: []
description: |
Size of the nocache area at the end of the external RAM in bytes. Must not be
bigger than IMXRT_MEMORY_EXTRAM_SIZE.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_EXTRAM_NOCACHE_SIZE
description: |
Size of the nocache area at the end of the external RAM in bytes. Must not be
bigger than IMXRT_MEMORY_EXTRAM_SIZE.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,17 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x80000000
default-by-variant: []
description: |
Base address of the external RAM. An external ram can be for example be a
SDRAM connected to SEMC or a HyperRAM connected to FlexSPI.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_EXTRAM_ORIGIN
description: |
Base address of the external RAM. An external ram can be for example be a
SDRAM connected to SEMC or a HyperRAM connected to FlexSPI.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x2000000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x02000000
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_EXTRAM_SIZE
description: |
Size of the external RAM in bytes. An external ram can be for example be a
SDRAM connected to SEMC or a HyperRAM connected to FlexSPI. The size has to
be at least big enough to hold the non cached section with size
IMXRT_MEMORY_EXTRAM_NOCACHE_SIZE at the end of the RAM.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_EXTRAM_SIZE
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x1000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00001000
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_FLASH_CFG_SIZE
description: |
Size of the flash configuration area at the start of the FlexSPI / SEMC flash
in bytes. Either 4 KByte for FlexSPI NOR / SEMC NOR or 1 Kbyte for most other.
Take a look at the i.MX RT1050 Processor Reference Manual chapter 9.7 "Program
image" for details.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_FLASH_CFG_SIZE
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,18 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x1000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00001000
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_FLASH_IVT_SIZE
description: |
Size of the image vector table, boot data structure, device configuration data
and similar program image header information. Take a look at the i.MX RT1050
Processor Reference Manual chapter 9.7 "Program image" for details.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_FLASH_IVT_SIZE
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
- define-unquoted: IMXRT_MEMORY_FLASH_ORIGIN
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x60000000
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_FLASH_ORIGIN
description: |
Origin of the external flash memory. That can be for example a flash
connected to FlexSPI or to SEMC. The default value is for a HyperFlash
connected to FlexSPI.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_FLASH_ORIGIN
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,20 +1,20 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
- define-unquoted: IMXRT_MEMORY_FLASH_SIZE
build-type: option
default: 0x4000000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x04000000
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_FLASH_SIZE
description: |
Size of the external flash area in bytes. Has to be big enough to hold the
i.MXRT initial vector table (IVT) and configuration information. The sizes of
these are defined with IMXRT_MEMORY_FLASH_IVT_SIZE and
IMXRT_MEMORY_FLASH_CFG_SIZE.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_FLASH_SIZE
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,18 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x1ff00
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x0001ff00
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_ITCM_SIZE
description: |
Size of the ITCM in bytes. Note that these sizes depend on fuses or software
settings done by a bootloader (together with DTCM and OCRAM). The ITCM size
has to take the IMXRT_MEMORY_NULL_SIZE into account!
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_ITCM_SIZE
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,18 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x100
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00000100
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_NULL_SIZE
description: |
Size of the NULL pointer protection area in bytes. This memory area reduces
the size of the ITCM available to the application. If you adapt this, you
have to adapt IMXRT_MEMORY_ITCM_SIZE too.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_NULL_SIZE
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,17 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00000000
default-by-variant: []
description: |
Size of the nocache area at the end of the OCRAM in bytes. Must not be bigger
than IMXRT_MEMORY_OCRAM_SIZE.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_OCRAM_NOCACHE_SIZE
description: |
Size of the nocache area at the end of the OCRAM in bytes. Must not be bigger
than IMXRT_MEMORY_OCRAM_SIZE.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x40000
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00040000
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_OCRAM_SIZE
description: |
Size of the OCRAM in bytes. Note that these sizes depend on fuses or software
settings done by a bootloader (together with ITCM and DTCM). The size has to
be at least big enough to hold the non cached section with size
IMXRT_MEMORY_OCRAM_NOCACHE_SIZE at the end of the RAM.
enabled-by: true
format: '{:#010x}'
links: []
name: IMXRT_MEMORY_OCRAM_SIZE
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -5,15 +5,15 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0
default: 0x00000000
default-by-variant:
- value: 14
- value: 0x0000000e
variants:
- arm/lm3s6965.*
- value: 16
- value: 0x00000010
variants:
- arm/lm3s3749.*
- value: 21
- value: 0x00000015
variants:
- arm/lm4f120.*
description: |

View File

@@ -5,12 +5,12 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0
default: 0x00000000
default-by-variant:
- value: 94
- value: 0x0000005e
variants:
- arm/lpc17xx_ea.*
- value: 94
- value: 0x0000005e
variants:
- arm/lpc40xx_ea.*
description: |

View File

@@ -5,9 +5,9 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0
default: 0x00000000
default-by-variant:
- value: 2147483712
- value: 0x80000040
variants:
- arm/lpc24xx_ncs_rom_ext
description: |

View File

@@ -5,9 +5,9 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0
default: 0x00000000
default-by-variant:
- value: 88
- value: 0x00000058
variants:
- arm/lpc32xx_mzx.*
description: |

View File

@@ -5,7 +5,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 4998
default: 0x00001386
default-by-variant: []
description: |
clock configuration for UART 3

View File

@@ -5,7 +5,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 4998
default: 0x00001386
default-by-variant: []
description: |
clock configuration for UART 4

View File

@@ -5,7 +5,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 4998
default: 0x00001386
default-by-variant: []
description: |
clock configuration for UART 5

View File

@@ -5,7 +5,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 4998
default: 0x00001386
default-by-variant: []
description: |
clock configuration for UART 6

View File

@@ -12,8 +12,8 @@ default-by-variant:
- arm/fvp_cortex_r52
description: |
Defines the frequency in Hz of the ARM Generic Timer.
format: '{}'
enabled-by: true
format: '{}'
links: []
name: ARM_GENERIC_TIMER_FREQ
type: build

View File

@@ -5,15 +5,15 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 709033984
default: 0x2a430000
default-by-variant:
- value: 2856517632
- value: 0xaa430000
variants:
- arm/fvp_cortex_r52
description: |
Defines the base address of the memory-mapped system level ARM Generic Timer.
format: '{:#010x}'
enabled-by: true
format: '{:#010x}'
links: []
name: ARM_GENERIC_TIMER_SYSTEM_BASE
type: build

View File

@@ -5,16 +5,16 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 1
default: 0x00000001
default-by-variant:
- value: 257
- value: 0x00000101
variants:
- arm/fvp_cortex_r52
description: |
Defines the initialization value of the CNTCR register of the memory-mapped
system level ARM Generic Timer.
format: '{:#010x}'
enabled-by: true
format: '{:#010x}'
links: []
name: ARM_GENERIC_TIMER_SYSTEM_CNTCR
type: build

View File

@@ -8,7 +8,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 16384
default: 0x00004000
default-by-variant: []
description: |
Defines the size of the MMU translation table in bytes. The translation

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 2097152
default: 0x00200000
default-by-variant: []
description: |
No-cache region length

View File

@@ -7,7 +7,7 @@ actions:
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 268435456
default: 0x10000000
default-by-variant: []
description: |
RAM region length

View File

@@ -1,8 +1,11 @@
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:
- -mthumb
- -mcpu=cortex-m7
@@ -17,12 +20,9 @@ default-by-variant:
variants:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco-m4
description: |
ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
description: |
ABI flags
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,11 +1,11 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
INCLUDE ${STM32H7_DEFAULT_LINKCMDS}
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
install-path: ${BSP_LIBDIR}
links: []
target: linkcmds
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,4 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: script
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
do-build: |
bld.install_as("${BSP_LIBDIR}/linkcmds.flash", "linkcmds.flash")
do-configure: |
@@ -44,6 +47,3 @@ links: []
prepare-build: null
prepare-configure: null
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,4 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: script
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
do-build: |
bld.install_as("${BSP_LIBDIR}/linkcmds.flash_sdram", "linkcmds.flash_sdram")
do-configure: |
@@ -44,6 +47,3 @@ links: []
prepare-build: null
prepare-configure: null
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,3 +1,4 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
MEMORY {
@@ -82,11 +83,10 @@ content: |
stm32h7_memory_sdram_2_begin = ORIGIN (SDRAM_2);
stm32h7_memory_sdram_2_end = ORIGIN (SDRAM_2) + LENGTH (SDRAM_2);
stm32h7_memory_sdram_2_size = LENGTH (SDRAM_2);
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
install-path: ${BSP_LIBDIR}
links: []
target: linkcmds.memory
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,4 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: script
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
do-build: |
bld.install_as("${BSP_LIBDIR}/linkcmds.sdram", "linkcmds.sdram")
do-configure: |
@@ -44,6 +47,3 @@ links: []
prepare-build: null
prepare-configure: null
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,4 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: script
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
do-build: |
bld.install_as("${BSP_LIBDIR}/linkcmds.sram", "linkcmds.sram")
do-configure: |
@@ -44,6 +47,3 @@ links: []
prepare-build: null
prepare-configure: null
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,4 +1,7 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: script
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
do-build: |
bld.install_as("${BSP_LIBDIR}/linkcmds.sram_sdram", "linkcmds.sram_sdram")
do-configure: |
@@ -44,6 +47,3 @@ links: []
prepare-build: null
prepare-configure: null
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,11 +1,14 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- script: |
cores = ["CORE_CM7", "CORE_CM4", "BOOT_CORE_DEFINE_NOT_NEEDED"]
if value not in cores:
conf.fatal("STM32H7 boot core '{}' is not one of {}".format(value, cores))
conf.define_cond(value, True)
cores = ["CORE_CM7", "CORE_CM4", "BOOT_CORE_DEFINE_NOT_NEEDED"]
if value not in cores:
conf.fatal("STM32H7 boot core '{}' is not one of {}".format(value, cores))
conf.define_cond(value, True)
build-type: option
copyrights:
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
default: BOOT_CORE_DEFINE_NOT_NEEDED
default-by-variant:
- value: CORE_CM7
@@ -16,13 +19,10 @@ default-by-variant:
variants:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco-m4
description: |
Select the boot core. Possible values are CORE_CM7 and CORE_CM4
enabled-by: true
format: '{}'
links: []
name: STM32H7_BOOT_CORE
description: |
Select the boot core. Possible values are CORE_CM7 and CORE_CM4
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>

View File

@@ -1,20 +1,20 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- env-assign: null
- define-condition: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: true
default-by-variant: []
enabled-by: true
format: '{}'
links: []
name: STM32H7_ENABLE_MPU_ALIGNMENT
description: |
Enable the alignment of the size of the combined start and text sections and
the rodata section to meet MPU region alignment requirements. This increases
the memory footprint. It enables a write-protection of the start, text, and
rodata sections. It makes the data sections non-executable.
enabled-by: true
format: '{}'
links: []
name: STM32H7_ENABLE_MPU_ALIGNMENT
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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:
- value: false
@@ -10,13 +13,10 @@ default-by-variant:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Enable UART4 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART4
description: |
Enable UART4 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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:
- value: false
@@ -11,13 +14,10 @@ default-by-variant:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Enable UART5 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART5
description: |
Enable UART5 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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:
- value: false
@@ -11,13 +14,10 @@ default-by-variant:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Enable UART7 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART7
description: |
Enable UART7 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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:
- value: false
@@ -9,13 +12,10 @@ default-by-variant:
- arm/stm32h7b3i-dk
- arm/stm32h757i-eval
- arm/stm32h757i-eval-m4
description: |
Enable UART8 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART8
description: |
Enable UART8 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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:
- value: false
@@ -11,13 +14,10 @@ default-by-variant:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Enable UART9 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART9
description: |
Enable UART9 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,16 +1,16 @@
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 USART1 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART1
description: |
Enable USART1 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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:
- value: false
@@ -11,13 +14,10 @@ default-by-variant:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Enable USART10 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART10
description: |
Enable USART10 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,21 +1,20 @@
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:
default-by-variant:
- value: false
variants:
- arm/stm32h757i-eval
- arm/stm32h757i-eval-m4
description: |
Enable USART2 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART2
description: |
Enable USART2 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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:
- value: false
@@ -11,13 +14,10 @@ default-by-variant:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Enable USART3 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART3
description: |
Enable USART3 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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:
- value: false
@@ -11,13 +14,10 @@ default-by-variant:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Enable USART6 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART6
description: |
Enable USART6 device in console driver.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: null
default-by-variant:
- value: GPIO_PIN_13
variants:
- arm/nucleo-h743zi
description: |
GPIO B pins used for the ETH pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_ETH_GPIOB_PINS
description: |
GPIO B pins used for the ETH pin configuration.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: ( GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13 )
default-by-variant:
- value: ( GPIO_PIN_2 | GPIO_PIN_11 | GPIO_PIN_13 )
variants:
- arm/nucleo-h743zi
description: |
GPIO G pins used for the ETH pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_ETH_GPIOG_PINS
description: |
GPIO G pins used for the ETH pin configuration.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -4,6 +4,8 @@ actions:
- assert-uint32: null
- format-and-define: null
build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: 25000000
default-by-variant:
- value: 8000000
@@ -12,12 +14,10 @@ default-by-variant:
- value: 24000000
variants:
- arm/stm32h7b3i-dk
description: |
Frequency of the external high speed oscillator (HSE).
enabled-by: true
format: '{}'
links: []
name: STM32H7_HSE_FREQUENCY
description: |
Frequency of the external high speed oscillator (HSE).
type: build
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- env-assign: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: linkcmds.sdram
default-by-variant:
- value: linkcmds.flash
@@ -12,15 +15,12 @@ default-by-variant:
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
- arm/nucleo-h743zi
enabled-by: true
format: '{}'
links: []
name: STM32H7_DEFAULT_LINKCMDS
description: |
The default linker command file. Must be either linkcmds.flash,
linkcmds.sdram, linkcmds.sram, linkcmds.sram_sdram
or linkcmds.flash_sdram
enabled-by: true
format: '{}'
links: []
name: STM32H7_DEFAULT_LINKCMDS
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,16 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x20000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00020000
default-by-variant: []
description: |
Size of the Data Tightly Coupled Memory (DTCM) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_DTCM_SIZE
description: |
Size of the Data Tightly Coupled Memory (DTCM) in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +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) 2022 Karel Gardas <karel@functional.vision>
default: FLASH_LATENCY_4
default-by-variant:
- value: FLASH_LATENCY_6
variants:
- arm/stm32h7b3i-dk
description: |
Internal Flash latency
enabled-by: true
format: '{}'
links: []
name: STM32H7_FLASH_LATENCY
description: |
Internal Flash latency
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>

View File

@@ -1,20 +1,20 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x8000000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x08000000
default-by-variant:
- value: 0x8100000
- value: 0x08100000
variants:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco-m4
description: |
Origin address of the internal flash.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_FLASH_ORIGIN
description: |
Origin address of the internal flash.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,21 +1,20 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x200000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00200000
default-by-variant:
default-by-variant:
- value: 0x100000
- value: 0x00100000
variants:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco-m4
description: |
Size of the internal flash in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_FLASH_SIZE
description: |
Size of the internal flash in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,18 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0xff00
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x0000ff00
default-by-variant: []
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_ITCM_SIZE
description: |
Size of the Instruction Tightly Coupled Memory (ITCM) in bytes. The size
must take the NULL pointer protection memory area into account
(STM32H7_MEMORY_NULL_SIZE).
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_ITCM_SIZE
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,16 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00000000
default-by-variant: []
description: |
Size of the NAND flash in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_NAND_SIZE
description: |
Size of the NAND flash in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,16 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00000000
default-by-variant: []
description: |
Size of the NOR flash or PSRAM in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_NOR_SIZE
description: |
Size of the NOR flash or PSRAM in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,17 +1,17 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 256
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00000100
default-by-variant: []
description: |
Size of the NULL pointer protection area in bytes. This memory area reduces
the size of the ITCM available to the application (STM32H7_MEMORY_ITCM_SIZE).
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_NULL_SIZE
description: |
Size of the NULL pointer protection area in bytes. This memory area reduces
the size of the ITCM available to the application (STM32H7_MEMORY_ITCM_SIZE).
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,16 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x20000000
default-by-variant: []
description: |
Size of the peripheral memory in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_PERIPHERAL_SIZE
description: |
Size of the peripheral memory in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,16 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00000000
default-by-variant: []
description: |
Size of the QUADSPI memory in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_QUADSPI_SIZE
description: |
Size of the QUADSPI memory in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,10 +1,13 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 33554432
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x02000000
default-by-variant:
- value: 0
- value: 0x00000000
variants:
- arm/stm32h7b3i-dk
- arm/stm32h757i-eval
@@ -12,13 +15,10 @@ default-by-variant:
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
- arm/nucleo-h743zi
description: |
Size of the SDRAM 1 in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SDRAM_1_SIZE
description: |
Size of the SDRAM 1 in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,22 +1,22 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00000000
default-by-variant:
- value: 33554432
- value: 0x02000000
variants:
- arm/stm32h757i-eval
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Size of the SDRAM 2 in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SDRAM_2_SIZE
description: |
Size of the SDRAM 2 in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x20000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00020000
default-by-variant:
- value: 0x10000
- value: 0x00010000
variants:
- arm/stm32h7b3i-dk
description: |
Size of the SRAM 1 (D2 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_1_SIZE
description: |
Size of the SRAM 1 (D2 domain) in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x20000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00020000
default-by-variant:
- value: 0x10000
- value: 0x00010000
variants:
- arm/stm32h7b3i-dk
description: |
Size of the SRAM 2 (D2 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_2_SIZE
description: |
Size of the SRAM 2 (D2 domain) in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x8000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00008000
default-by-variant:
- value: 0x0
- value: 0x00000000
variants:
- arm/stm32h7b3i-dk
description: |
Size of the SRAM 3 (D2 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_3_SIZE
description: |
Size of the SRAM 3 (D2 domain) in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x10000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00010000
default-by-variant:
- value: 0x8000
- value: 0x00008000
variants:
- arm/stm32h7b3i-dk
description: |
Size of the SRAM 4 (D3 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_4_SIZE
description: |
Size of the SRAM 4 (D3 domain) in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x80000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00080000
default-by-variant:
- value: 0xA0000
- value: 0x000a0000
variants:
- arm/stm32h7b3i-dk
description: |
Size of the AXI SRAM (D1 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_AXI_SIZE
description: |
Size of the AXI SRAM (D1 domain) in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,16 +1,16 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
default: 0x1000
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
default: 0x00001000
default-by-variant: []
description: |
Size of backup SRAM in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_BACKUP_SIZE
description: |
Size of backup SRAM in bytes.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,19 +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: stm32h7_usart1_instance
default-by-variant:
- value: stm32h7_usart3_instance
variants:
- arm/nucleo-h743zi
description: |
UART/USART instance used for printk() and getchark().
enabled-by: true
format: '{}'
links: []
name: STM32H7_PRINTK_INSTANCE
description: |
UART/USART instance used for printk() and getchark().
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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) 2022 Karel Gardas <karel@functional.vision>
default: PWR_LDO_SUPPLY
default-by-variant:
- value: PWR_DIRECT_SMPS_SUPPLY
@@ -11,13 +14,13 @@ default-by-variant:
- arm/stm32h757i-eval-m4
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Board power supply mechanism configuration. WARNING: wrong configuration here
may result in your board being unaccessible using ST-Link interface! Please
consult board datasheet for more information about various power supply
options and about how to fix possible misconfiguration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_PWR_SUPPLY
description: |
Board power supply mechanism configuration. WARNING: wrong configuration here may result in your board being unaccessible using ST-Link interface! Please consult board datasheet for more information about various power supply options and about how to fix possible misconfiguration.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>

View File

@@ -1,7 +1,10 @@
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) 2022 Karel Gardas <karel@functional.vision>
default: GPIO_AF4_USART1
default-by-variant:
- value: GPIO_AF7_USART1
@@ -9,13 +12,10 @@ default-by-variant:
- arm/stm32h7b3i-dk
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
Alternate function mapping for the USART1 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART1_ALT_FUNC
description: |
Alternate function mapping for the USART1 pin configuration.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2022 Karel Gardas <karel@functional.vision>

View File

@@ -1,7 +1,10 @@
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) 2021-22 embedded brains GmbH (http://www.embedded-brains.de)
default: ( GPIO_PIN_14 | GPIO_PIN_15 )
default-by-variant:
- value: ( GPIO_PIN_9 | GPIO_PIN_10 )
@@ -9,13 +12,10 @@ default-by-variant:
- arm/stm32h7b3i-dk
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
description: |
GPIO pins used for the USART1 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART1_GPIO_PINS
description: |
GPIO pins used for the USART1 pin configuration.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021-22 embedded brains GmbH (http://www.embedded-brains.de)

View File

@@ -1,7 +1,10 @@
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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
default: GPIOD
default-by-variant:
- value: GPIOA
@@ -13,13 +16,10 @@ default-by-variant:
variants:
- arm/stm32h757i-eval
- arm/stm32h757i-eval-m4
description: |
GPIO registers used for the USART1 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART1_GPIO_REGS
description: |
GPIO registers used for the USART1 pin configuration.
type: build
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)

Some files were not shown because too many files have changed in this diff Show More