1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/stm32
Gilles DOFFE 7b7a75c3ca cpu/stm32: setup memory length for stm32mp157x
The stm32mp157c has the particularity to not having flash memory but
only SRAM.
Thus a part of SRAM must be considered as a ROM to flash the firmware
into.
In case of the stm32mp157c, the RETRAM (64kB) is used as ROM and the
4 banks of SRAM (384kB) are used as RAM.
However, as ROM_LEN, RAM_LEN, ROM_START_ADDRESS, RAM_START_ADDRESS and
ROM_OFFSET could be overloaded by user, set them with "?=" operator.
If the ROM_START_ADDRESS and the RAM_START_ADDRESS are not set at the
end of that file, it is a classic stm32 MCU with flash, thus set this
variables with common memory addresses for stm32 MCU family:
ROM_START_ADDR ?= 0x08000000
RAM_START_ADDR ?= 0x20000000

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
..
bootloader cpu/stm32: implement reset to bootloader 2020-06-05 18:41:06 +02:00
dist cpu/stm32: do not retrieve cmsis headers 2020-11-13 10:43:08 +01:00
include cpu/stm32: define CPU_IRQ_NUMOF for stm32mp157cac 2020-11-13 10:43:08 +01:00
kconfigs cpu/stm32: do not build bootloader for mp1 2020-11-13 10:43:08 +01:00
ldscripts cpu/stm32: introduce unique directory for stm32 cpus 2020-05-20 13:39:10 +02:00
periph cpu/stm32: add stm32mp1_eng_mode pseudomodule 2020-11-13 10:43:08 +01:00
stmclk cpu/stm32: add stm32mp1_eng_mode pseudomodule 2020-11-13 10:43:08 +01:00
vectors cpu/stm32: handle generated irqs.h in build system 2020-09-02 11:30:49 +02:00
cpu_common.c cpu/stm32: add stm32mp1 peripheral busses 2020-11-13 10:43:08 +01:00
cpu_init.c cpu/stm32: add stm32mp1_eng_mode pseudomodule 2020-11-13 10:43:08 +01:00
doc.txt cpu/stm32: rework clock configuration documentation 2020-10-27 08:54:09 +01:00
Kconfig cpu/stm32: do not build bootloader for mp1 2020-11-13 10:43:08 +01:00
Makefile cpu/stm32: only build bootloader when the module is loaded 2020-09-28 21:07:01 +02:00
Makefile.dep cpu/stm32: Add stm32_eth_auto for auto-negotiation 2020-10-22 12:37:23 +02:00
Makefile.features cpu/stm32: do not build bootloader for mp1 2020-11-13 10:43:08 +01:00
Makefile.include cpu/stm32: do not retrieve cmsis headers 2020-11-13 10:43:08 +01:00
stm32_info.mk cpu/stm32: get info from stm32mp1 cpu model 2020-11-13 10:43:08 +01:00
stm32_line.mk cpu/stm32: extend CPU_LINES for G4 and L1 2020-09-30 10:31:29 +02:00
stm32_mem_lengths.mk cpu/stm32: setup memory length for stm32mp157x 2020-11-13 10:43:08 +01:00
stm32_riotboot.mk cpu/stm32: introduce CPU_FAM_SHORT variable 2020-05-26 12:27:12 +02:00