Skip to content

Commit

Permalink
chorre: update sscma linker
Browse files Browse the repository at this point in the history
  • Loading branch information
LynnL4 committed Jan 2, 2025
1 parent 3e441d3 commit 4d64ff2
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 58 deletions.
43 changes: 8 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,13 @@
# Prerequisites
*.d
# macOS
.DS_Store

# Compiled Object files
*.slo
*.lo
*.o
*.obj
# VScode
.vscode

# Precompiled Headers
*.gch
*.pch
# Logs
*.log

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.lib

# Executables
*.exe
*.out
*.app

# Various build files
# Output files
we2_image_gen_local/secureboot_tool/sb_content_cert.log
we2_image_gen_local/secureboot_tool/cert/ICVSBContent_Cert.txt
we2_image_gen_local/secureboot_tool/cert/ICVSBContent.crt
Expand All @@ -41,8 +18,4 @@ we2_image_gen_local/output_case1_sec_wlcsp/**
we2_image_gen_local/Images_ForSendData.txt
we2_image_gen_local/Images.txt

*.elf
*.map
*.img

.vscode/
*.img
37 changes: 23 additions & 14 deletions EPII_CM55M_APP_S/app/scenario_app/sscma/linker/a1102.ld
Original file line number Diff line number Diff line change
Expand Up @@ -59,38 +59,47 @@ SECTIONS

.text.ext :
{
. = ALIGN(4);
. = ALIGN(8);
*libdriver.*:*(.text* .rodata*)

// . = ALIGN(4);
// *libfatfs.*:*(.text* .rodata*)
//. = ALIGN(8);
//*libfatfs.*:*(.text* .rodata*)

. = ALIGN(8);
*libcommon.*:*(.text* .rodata*)

// . = ALIGN(4);
// *libcommon.*:*(.text* .rodata*)
. = ALIGN(8);
*libcmsis_drivers.*:*(.text* .rodata*)

. = ALIGN(4);
. = ALIGN(8);
*lib_cmsis_nn_7_0_0.*:*(.text* .rodata*)

. = ALIGN(8);
*libsensordp.*:*(.text* .rodata*)

. = ALIGN(8);
*lib_i2c_comm.*:*(.text* .rodata*)

. = ALIGN(4);
. = ALIGN(8);
*lib_img_proc.*:*(.text* .rodata*)

. = ALIGN(4);
. = ALIGN(8);
*lib_spi_eeprom.*:*(.text* .rodata*)

. = ALIGN(4);
. = ALIGN(8);
*lib_spi_psram.*:*(.text* .rodata*)

. = ALIGN(4);
. = ALIGN(8);
*lib_spi_ptl.*:*(.text* .rodata*)

. = ALIGN(4);
. = ALIGN(8);
*libaudio.*:*(.text* .rodata*)

. = ALIGN(4);
. = ALIGN(8);
*libsscma_micro.*:*(.text* .rodata*)

// . = ALIGN(4);
// *libtflmtag2209_u55tag2205_gnu.*:*(.text* .rodata*)
// . = ALIGN(8);
// *libtflmtag2412_u55tag2411_cmsisnn_gnu.*:*(.text* .rodata*)

} > CM55M_S_APP_DATA

Expand Down
19 changes: 11 additions & 8 deletions EPII_CM55M_APP_S/app/scenario_app/sscma/linker/grove.ld
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,20 @@ SECTIONS
. = ALIGN(8);
*libdriver.*:*(.text* .rodata*)

// . = ALIGN(8);
// *libfatfs.*:*(.text* .rodata*)
//. = ALIGN(8);
//*libfatfs.*:*(.text* .rodata*)

// . = ALIGN(8);
// *libcommon.*:*(.text* .rodata*)
. = ALIGN(8);
*libcommon.*:*(.text* .rodata*)

// . = ALIGN(8);
// *libcmsis_drivers.*:*(.text* .rodata*)
//. = ALIGN(8);
//*libcmsis_drivers.*:*(.text* .rodata*)

. = ALIGN(8);
*libsensordp.*:*(.text* .rodata*)
*lib_cmsis_nn_7_0_0.*:*(.text* .rodata*)

//. = ALIGN(8);
//*libsensordp.*:*(.text* .rodata*)

. = ALIGN(8);
*lib_i2c_comm.*:*(.text* .rodata*)
Expand All @@ -96,7 +99,7 @@ SECTIONS
*libsscma_micro.*:*(.text* .rodata*)

// . = ALIGN(8);
// *libtflmtag2209_u55tag2205_gnu.*:*(.text* .rodata*)
// *libtflmtag2412_u55tag2411_cmsisnn_gnu.*:*(.text* .rodata*)

} > CM55M_S_APP_DATA

Expand Down
2 changes: 1 addition & 1 deletion EPII_CM55M_APP_S/app/scenario_app/sscma/sscma.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APPL_DEFINES += -DDBG_MORE -fno-threadsafe-statics -std=c++17
# Add new library here
# The source code should be loacted in ~\library\{lib_name}\
##
LIB_SEL = pwrmgmt tflmtag2209_u55tag2205 spi_eeprom sensordp fatfs sscma_micro
LIB_SEL = pwrmgmt tflmtag2412_u55tag2411 spi_eeprom sensordp fatfs sscma_micro
##
# middleware support feature
# Add new middleware here
Expand Down

0 comments on commit 4d64ff2

Please sign in to comment.