Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions records/hic_hal/kl27z.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ common:
- FLASH_SSD_CONFIG_ENABLE_FLEXNVM_SUPPORT=0
- FLASH_DRIVER_IS_FLASH_RESIDENT=1
- DAPLINK_NO_ASSERT_FILENAMES
- BOOTLOADER_CONFIG
- OS_CLOCK=48000000
includes:
- source/hic_hal/freescale/kl27z
Expand Down
7 changes: 6 additions & 1 deletion source/hic_hal/freescale/kinetis.ld
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : DAPLINK_STACK_SIZE;
MEMORY
{
#if defined(DAPLINK_BL)
#if defined(BOOTLOADER_CONFIG)
m_interrupts (RX) : ORIGIN = DAPLINK_ROM_APP_START, LENGTH = 0x3C0
m_bootloader_config (RX) : ORIGIN = DAPLINK_ROM_APP_START + 0x3C0, LENGTH = 0x40
#else
m_interrupts (RX) : ORIGIN = DAPLINK_ROM_APP_START, LENGTH = 0x400
#endif
m_flash_config (RX) : ORIGIN = DAPLINK_ROM_APP_START + 0x400, LENGTH = 0x10
m_text (RX) : ORIGIN = DAPLINK_ROM_APP_START + 0x410, LENGTH = DAPLINK_ROM_APP_SIZE - 0x410
#else
Expand All @@ -61,12 +65,14 @@ SECTIONS
} > m_interrupts

#if defined(DAPLINK_BL)
#if defined(BOOTLOADER_CONFIG)
.bootloader_config :
{
. = ALIGN(4);
KEEP(*(.BootloaderConfig)) /* Bootloader Configuration Area (BCA) */
. = ALIGN(4);
} > m_bootloader_config
#endif

.flash_config :
{
Expand Down Expand Up @@ -245,4 +251,3 @@ SECTIONS

ASSERT(__StackLimit >= __HeapLimit, "region overflowed with stack and heap")
}