Skip to content

Commit

Permalink
improve arm-2d project performance (#104)
Browse files Browse the repository at this point in the history
* [project]add arm2d project.

* add examples

* lock framerate

* Update .gitignore

* Delete project.uvguix.gabriel

* Update hal_entry.c

* add RTE content

* improve performance

---------

Co-authored-by: Rbb666 <[email protected]>
  • Loading branch information
GorgonMeducer and Rbb666 authored Jun 11, 2024
1 parent 1b5b42c commit c34b68e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ extern "C" {
// <7=> 128 pixel
// <i> Make sure the y and height of the PFB is always aligned to 2^n pixels
#ifndef __DISP0_CFG_PFB_PIXEL_ALIGN_HEIGHT__
# define __DISP0_CFG_PFB_PIXEL_ALIGN_HEIGHT__ 0
# define __DISP0_CFG_PFB_PIXEL_ALIGN_HEIGHT__ 3
#endif

// <o>PFB Block Count <1-65535>
Expand Down
4 changes: 2 additions & 2 deletions projects/arm2d/vision_board_mipi_2.0inch_arm2d/project.uvoptx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
<DebugFlag>
<trace>0</trace>
<periodic>0</periodic>
<aLwin>1</aLwin>
<aLwin>0</aLwin>
<aCover>0</aCover>
<aSer1>0</aSer1>
<aSer2>0</aSer2>
Expand Down Expand Up @@ -939,7 +939,7 @@

<Group>
<GroupName>::Acceleration</GroupName>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>1</RteFlg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@
<targetInfo name="Target 1"/>
</targetInfos>
</file>
<file attr="config" category="preIncludeGlobal" name="Library\Include\template\arm_2d_cfg.h" version="1.3.5">
<file attr="config" category="preIncludeGlobal" name="Library\Include\template\arm_2d_cfg.h" version="1.3.6">
<instance index="0">RTE\Acceleration\arm_2d_cfg.h</instance>
<component Cclass="Acceleration" Cgroup="Arm-2D" Csub="Core" Cvendor="ARM" Cversion="1.1.7" condition="CMSIS-DSP"/>
<package name="Arm-2D" schemaVersion="1.7.28" url="https://www.keil.com/pack/" vendor="ARM" version="9.9.99"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,10 @@ LOAD_REGION_FLASH FLASH_ORIGIN ALIGN 0x80 LIMITED_FLASH_LENGTH
*(.dtcm_data*)
}

DTCM_NO_INIT_DATA +0 UNINIT {
*(.bss.noinit.arm_2d_pfb_pool)
}

; The required minimum ending alignment is an 8 byte boundary for ECC compatibility.
; There is no way to control the ending alignment of DTCM_DATA, so this dedicated section acts as padding and as the true load and execution section limit of DTCM_DATA.
; "Load Addr" will show "-" in the map file making it seem as if no padding is actually in the binary, but "Load base:" will show otherwise.
Expand Down

0 comments on commit c34b68e

Please sign in to comment.