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
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#define __STACK_SIZE APP_HP_STACK_SIZE
#define __HEAP_SIZE APP_HP_HEAP_SIZE
#define __APP_HEAP_SIZE 0x00004000
#define __APP_HEAP_SIZE 0x00008000
#define __ROM_BASE APP_MRAM_HP_BASE
#define __ROM_SIZE APP_MRAM_HP_SIZE

Expand Down Expand Up @@ -77,6 +77,8 @@ SECTIONS

*lv_*(.text* .rodata*)

*(.text*)

. = ALIGN(16);
} > MRAM

Expand Down Expand Up @@ -113,7 +115,6 @@ SECTIONS

.code.at_itcm : ALIGN(8)
{
*(.text*)
*(.itcm*) /* Object targeting ITCM */
. = ALIGN(16);
} > ITCM AT > MRAM
Expand Down Expand Up @@ -163,23 +164,24 @@ SECTIONS
#if __HAS_BULK_SRAM
.bss.at_sram0 (NOLOAD) : ALIGN(8)
{
*(ethos_arena) /* Writable activation arena. */
*(.bss.lcd_crop_and_interpolate_buf) /* LCD crop and intrepolate image processing buffer. */
*(.bss.lcd_frame_buf) /* LCD frame Buffer. */
*(.bss.camera_frame_buf) /* Camer Frame Buffer */
*(.bss.camera_frame_buf) /* Camera Frame Buffer */
*(.bss.camera_frame_bayer_to_rgb_buf) /* (Optional) Camera Frame Buffer for Bayer to RGB Conversion. */
*(.bss.*)
} > SRAM0
#endif

.bss (NOLOAD) : ALIGN(8)
{
__bss_start__ = .;
*(.bss)
*(.bss.*)
*(COMMON)

. = ALIGN(8);
__bss_end__ = .;
} > DTCM
} > DTCM

.nonsecure0_region (NOLOAD) :
{
Expand All @@ -191,7 +193,7 @@ SECTIONS
* (.driver.usbd0)
. = ALIGN(TGU_BLOCK_SIZE);
__ns_region_0_end = .;
} > DTCM
} > SRAM0

.__app_heap (NOLOAD) : ALIGN(8)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#define __STACK_SIZE APP_HP_STACK_SIZE
#define __HEAP_SIZE APP_HP_HEAP_SIZE
#define __APP_HEAP_SIZE 0x00004000
#define __APP_HEAP_SIZE 0x00008000
#define __ROM_BASE APP_MRAM_HP_BASE
#define __ROM_SIZE APP_CODE_MRAM_SIZE

Expand Down Expand Up @@ -78,6 +78,8 @@ SECTIONS

*lv_*(.text* .rodata*)

*(.text*)

. = ALIGN(16);
} > MRAM

Expand Down Expand Up @@ -145,7 +147,6 @@ SECTIONS

.code.at_itcm : ALIGN(8)
{
*(.text*)
*(.itcm*) /* Object targeting ITCM */
. = ALIGN(16);
} > ITCM AT > MRAM
Expand All @@ -171,18 +172,19 @@ SECTIONS
#if __HAS_BULK_SRAM
.bss.at_sram0 (NOLOAD) : ALIGN(8)
{
*(ethos_arena) /* Writable activation arena. */
*(.bss.lcd_crop_and_interpolate_buf) /* LCD crop and intrepolate image processing buffer. */
*(.bss.lcd_frame_buf) /* LCD frame Buffer. */
*(.bss.camera_frame_buf) /* Camer Frame Buffer */
*(.bss.camera_frame_buf) /* Camera Frame Buffer */
*(.bss.camera_frame_bayer_to_rgb_buf) /* (Optional) Camera Frame Buffer for Bayer to RGB Conversion. */
*(.bss.*)
} > SRAM0
#endif

.bss (NOLOAD) : ALIGN(8)
{
__bss_start__ = .;
*(.bss)
*(.bss.*)
*(COMMON)

. = ALIGN(8);
Expand All @@ -199,7 +201,7 @@ SECTIONS
* (.driver.usbd0)
. = ALIGN(TGU_BLOCK_SIZE);
__ns_region_0_end = .;
} > DTCM
} > SRAM0

.__app_heap (NOLOAD) : ALIGN(8)
{
Expand Down
Loading