Skip to content

Commit c9500c6

Browse files
committed
Bootloader support for MK24F1 for Keil toolchain
1 parent aaa09d5 commit c9500c6

File tree

1 file changed

+12
-4
lines changed
  • targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_ARM_STD

1 file changed

+12
-4
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K24F/TARGET_MCU_K24F1M/device/TOOLCHAIN_ARM_STD/MK24FN1M0xxx12.sct

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,22 @@
5555
#define __ram_vector_table_size__ 0x00000000
5656
#endif
5757

58-
#define m_interrupts_start 0x00000000
58+
#if !defined(MBED_APP_START)
59+
#define MBED_APP_START 0
60+
#endif
61+
62+
#if !defined(MBED_APP_SIZE)
63+
#define MBED_APP_SIZE 0x100000
64+
#endif
65+
66+
#define m_interrupts_start MBED_APP_START
5967
#define m_interrupts_size 0x00000400
6068

61-
#define m_flash_config_start 0x00000400
69+
#define m_flash_config_start MBED_APP_START + 0x400
6270
#define m_flash_config_size 0x00000010
6371

64-
#define m_text_start 0x00000410
65-
#define m_text_size 0x000FFBF0
72+
#define m_text_start MBED_APP_START + 0x410
73+
#define m_text_size MBED_APP_SIZE - 0x410
6674

6775
#define m_interrupts_ram_start 0x1FFF0000
6876
#define m_interrupts_ram_size __ram_vector_table_size__

0 commit comments

Comments
 (0)