mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-13 18:51:57 +00:00
Extracts the max32 flashprog linker section to a dedicated linker script that is conditionally included only when the flash driver is enabled. This prepares max32 soc family to set SOC_LINKER_SCRIPT directly to the common arm cortex-m linker script. Signed-off-by: Maureen Helm <maureen.helm@analog.com>
11 lines
187 B
Plaintext
11 lines
187 B
Plaintext
/*
|
|
* Copyright (c) 2023 Analog Devices, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
SECTION_DATA_PROLOGUE(.flashprog,, SUBALIGN(4))
|
|
{
|
|
KEEP(*(.flashprog*)) /* Flash program */
|
|
}
|