diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-19 18:11:40 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-03-19 18:11:47 +0100 |
commit | 09ae129e9e97e25ddde0c4acdace8c3c1da32b2b (patch) | |
tree | 4191c9cf8f563a647192568c693c13b79620d17d /target/arm | |
parent | 10e7e6eddb7efd545199a5b817dde03130389626 (diff) |
add basic bits and bytes for stm32f429 support
Diffstat (limited to 'target/arm')
-rw-r--r-- | target/arm/Makefile | 3 | ||||
-rw-r--r-- | target/arm/kernel/st-stm32f429 | 12 | ||||
-rw-r--r-- | target/arm/systems/st-stm32f429 | 11 |
3 files changed, 26 insertions, 0 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile index 06abe009d..57f4fcd66 100644 --- a/target/arm/Makefile +++ b/target/arm/Makefile @@ -12,6 +12,9 @@ endif ifeq ($(ADK_TARGET_KERNEL_UIMAGE),y) KERNEL:=$(LINUX_DIR)/arch/arm/boot/uImage endif +ifeq ($(ADK_TARGET_KERNEL_XIPIMAGE),y) +KERNEL:=$(LINUX_DIR)/arch/arm/boot/xipImage +endif QEMU_ARGS:=${ADK_QEMU_ARGS} ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ),y) diff --git a/target/arm/kernel/st-stm32f429 b/target/arm/kernel/st-stm32f429 new file mode 100644 index 000000000..32c1a786c --- /dev/null +++ b/target/arm/kernel/st-stm32f429 @@ -0,0 +1,12 @@ +CONFIG_ARM_SINGLE_ARMV7M=y +CONFIG_ARCH_STM32=y +CONFIG_SET_MEM_PARAM=y +CONFIG_DRAM_BASE=0x90000000 +CONFIG_FLASH_MEM_BASE=0x08000000 +CONFIG_FLASH_SIZE=0x00200000 +CONFIG_XIP_KERNEL=y +CONFIG_XIP_PHYS_ADDR=0x08008000 +CONFIG_SERIAL_NONSTANDARD=y +CONFIG_SERIAL_STM32=y +CONFIG_SERIAL_STM32_CONSOLE=y + diff --git a/target/arm/systems/st-stm32f429 b/target/arm/systems/st-stm32f429 new file mode 100644 index 000000000..389e5b74d --- /dev/null +++ b/target/arm/systems/st-stm32f429 @@ -0,0 +1,11 @@ +config ADK_TARGET_SYSTEM_ST_STM32F429 + bool "STMicroelectronics STM32F429" + depends on ADK_TARGET_LITTLE_ENDIAN + select ADK_TARGET_CPU_ARM_CORTEX_M4 + select ADK_TARGET_WITH_SERIAL + select ADK_TARGET_UCLINUX + select ADK_TARGET_KERNEL_XIPIMAGE + select ADK_HOST_BUILD_OPENOCD + help + STMicroelectronics STM32F429 + |