diff --git a/bsp/imxrt/docs/figures/link-lds.png b/bsp/imxrt/docs/figures/link-lds.png index 012f8760cc..6b17d0d71b 100644 Binary files a/bsp/imxrt/docs/figures/link-lds.png and b/bsp/imxrt/docs/figures/link-lds.png differ diff --git a/bsp/imxrt/docs/figures/link-scf.png b/bsp/imxrt/docs/figures/link-scf.png index 19393ea1b6..883f970886 100644 Binary files a/bsp/imxrt/docs/figures/link-scf.png and b/bsp/imxrt/docs/figures/link-scf.png differ diff --git a/bsp/imxrt/imxrt1052-fire-pro/board/linker_scripts/link.lds b/bsp/imxrt/imxrt1052-fire-pro/board/linker_scripts/link.lds index 7845498153..f52f7e6461 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/board/linker_scripts/link.lds +++ b/bsp/imxrt/imxrt1052-fire-pro/board/linker_scripts/link.lds @@ -65,7 +65,7 @@ MEMORY m_flash_config (RX) : ORIGIN = 0x60000000, LENGTH = 0x00001000 m_ivt (RX) : ORIGIN = 0x60001000, LENGTH = 0x00001000 m_interrupts (RX) : ORIGIN = 0x60002000, LENGTH = 0x00000400 - m_text (RX) : ORIGIN = 0x60002400, LENGTH = 0x1fffdbff + m_text (RX) : ORIGIN = 0x60002400, LENGTH = 0x01FFDC00 m_data (RW) : ORIGIN = 0x20000000, LENGTH = 0x00020000 m_data2 (RW) : ORIGIN = 0x20200000, LENGTH = 0x00040000 } diff --git a/bsp/imxrt/imxrt1052-fire-pro/board/linker_scripts/link.sct b/bsp/imxrt/imxrt1052-fire-pro/board/linker_scripts/link.sct index f7ceb52456..7a551bc6d5 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/board/linker_scripts/link.sct +++ b/bsp/imxrt/imxrt1052-fire-pro/board/linker_scripts/link.sct @@ -36,7 +36,7 @@ #define m_interrupts_size 0x00000400 #define m_text_start 0x60002400 -#define m_text_size 0x1fffdbff +#define m_text_size 0x01FFDC00 #define m_data_start 0x20000000 #define m_data_size 0x00020000 diff --git a/bsp/imxrt/libraries/templates/imxrt1050xxx/board/Kconfig b/bsp/imxrt/libraries/templates/imxrt1050xxx/board/Kconfig index 906d923ed0..09e4c4e637 100644 --- a/bsp/imxrt/libraries/templates/imxrt1050xxx/board/Kconfig +++ b/bsp/imxrt/libraries/templates/imxrt1050xxx/board/Kconfig @@ -3,6 +3,8 @@ menu "Hardware Drivers Config" config SOC_IMXRT1052CVL5B bool select SOC_MIMXRT1050_SERIES + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "On-chip Peripheral Drivers" diff --git a/bsp/imxrt/libraries/templates/imxrt1064xxx/board/Kconfig b/bsp/imxrt/libraries/templates/imxrt1064xxx/board/Kconfig index a5f694a6dd..7bfd46cf4b 100644 --- a/bsp/imxrt/libraries/templates/imxrt1064xxx/board/Kconfig +++ b/bsp/imxrt/libraries/templates/imxrt1064xxx/board/Kconfig @@ -13,6 +13,8 @@ config SOC_MIMXRT1064DVL6A bool select SOC_MIMXRT1064_SERIES select BSP_USING_4MFLASH + select RT_USING_COMPONENTS_INIT + select RT_USING_USER_MAIN default y menu "On-chip Peripheral Drivers"