linker: arm: add stm32 ccm sections
The STM32 has special Core Coupled Memory, ccm for short, that can only be accessed through the CPU and can not be use for DMA. The following 3 sections have been added. - ccm_bss for zero initialized data - ccm_data for initialized data - ccm_noinit for uninitialized data Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
parent
1aa1edaafa
commit
581446d8cd
4 changed files with 63 additions and 0 deletions
|
@ -235,6 +235,19 @@ extern char _vector_end[];
|
|||
/* end address of image, used by newlib for the heap */
|
||||
extern char _end[];
|
||||
|
||||
#ifdef CONFIG_CCM_BASE_ADDRESS
|
||||
extern char __ccm_data_rom_start[];
|
||||
extern char __ccm_start[];
|
||||
extern char __ccm_data_start[];
|
||||
extern char __ccm_data_end[];
|
||||
extern char __ccm_bss_start[];
|
||||
extern char __ccm_bss_end[];
|
||||
extern char __ccm_noinit_start[];
|
||||
extern char __ccm_noinit_end[];
|
||||
extern char __ccm_end[];
|
||||
#endif /* CONFIG_CCM_BASE_ADDRESS */
|
||||
|
||||
|
||||
#endif /* ! _ASMLANGUAGE */
|
||||
|
||||
#endif /* _LINKERDEFS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue