Skip to content

Commit

Permalink
Update armmem on embedded targets to elfmem
Browse files Browse the repository at this point in the history
Signed-off-by: João Silva <jgc3silva@gmail.com>
  • Loading branch information
vankxr committed Jun 11, 2024
1 parent c383ce3 commit 6f1c730
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/exp-mmw-int-fw-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:

- name: Install build dependencies
run: |
# Install armmem
wget https://github.com/vankxr/armmem/releases/download/1.0-1/armmem_1.0-1_amd64.deb
sudo dpkg -i armmem_1.0-1_amd64.deb
# Install elfmem
wget https://github.com/vankxr/elfmem/releases/download/2.0-0/elfmem_2.0-0_amd64.deb
sudo dpkg -i elfmem_2.0-0_amd64.deb
# Install Core pack
git clone https://github.com/vankxr/Core-CMSIS
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/exp-template-fw-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:

- name: Install build dependencies
run: |
# Install armmem
wget https://github.com/vankxr/armmem/releases/download/1.0-1/armmem_1.0-1_amd64.deb
sudo dpkg -i armmem_1.0-1_amd64.deb
# Install elfmem
wget https://github.com/vankxr/elfmem/releases/download/2.0-0/elfmem_2.0-0_amd64.deb
sudo dpkg -i elfmem_2.0-0_amd64.deb
# Install Core pack
git clone https://github.com/vankxr/Core-CMSIS
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pmc-fw-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:

- name: Install build dependencies
run: |
# Install armmem
wget https://github.com/vankxr/armmem/releases/download/1.0-1/armmem_1.0-1_amd64.deb
sudo dpkg -i armmem_1.0-1_amd64.deb
# Install elfmem
wget https://github.com/vankxr/elfmem/releases/download/2.0-0/elfmem_2.0-0_amd64.deb
sudo dpkg -i elfmem_2.0-0_amd64.deb
# Install Core pack
git clone https://github.com/vankxr/Core-CMSIS
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rv-fw-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
- name: Install build dependencies
run: |
# Install armmem
wget https://github.com/vankxr/armmem/releases/download/1.0-1/armmem_1.0-1_amd64.deb
sudo dpkg -i armmem_1.0-1_amd64.deb
# Install elfmem
wget https://github.com/vankxr/elfmem/releases/download/2.0-0/elfmem_2.0-0_amd64.deb
sudo dpkg -i elfmem_2.0-0_amd64.deb
timeout-minutes: 5

- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion software/exp/mmw-int/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ version:

mem-usage: $(TARGET).elf
@echo ---------------------------------------------------------------------------
@armmem -l $(LDSCRIPT) -d -h $<
@armmem -l $(LDSCRIPT) -d -h -z -e ".ARM,.ARM.attributes,.debug_info,.debug_abbrev,.debug_loclists,.debug_aranges,.debug_rnglists,.debug_line,.debug_str,.comment,.debug_frame,.debug_line_str,.symtab,.strtab,.shstrtab,.min_heap_stack" $<

make-dir:
@mkdir -p $(OBJECTDIRSTRUCT)
Expand Down
2 changes: 1 addition & 1 deletion software/exp/template/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ version:

mem-usage: $(TARGET).elf
@echo ---------------------------------------------------------------------------
@armmem -l $(LDSCRIPT) -d -h $<
@armmem -l $(LDSCRIPT) -d -h -z -e ".ARM,.ARM.attributes,.debug_info,.debug_abbrev,.debug_loclists,.debug_aranges,.debug_rnglists,.debug_line,.debug_str,.comment,.debug_frame,.debug_line_str,.symtab,.strtab,.shstrtab,.min_heap_stack" $<

make-dir:
@mkdir -p $(OBJECTDIRSTRUCT)
Expand Down
2 changes: 1 addition & 1 deletion software/pmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ version:

mem-usage: $(TARGET).elf
@echo ---------------------------------------------------------------------------
@armmem -l $(LDSCRIPT) -d -h $<
@armmem -l $(LDSCRIPT) -d -h -z -e ".ARM,.ARM.attributes,.debug_info,.debug_abbrev,.debug_loclists,.debug_aranges,.debug_rnglists,.debug_line,.debug_str,.comment,.debug_frame,.debug_line_str,.symtab,.strtab,.shstrtab,.min_heap_stack" $<

make-dir:
@mkdir -p $(OBJECTDIRSTRUCT)
Expand Down
2 changes: 1 addition & 1 deletion software/rv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ version:

mem-usage: $(TARGET).elf
@echo ---------------------------------------------------------------------------
@armmem -l $(LDSCRIPT) -d -h $<
@elfmem -l $(LDSCRIPT) -d -h -z -e ".riscv,.riscv.attributes,.debug_info,.debug_abbrev,.debug_loclists,.debug_aranges,.debug_rnglists,.debug_line,.debug_str,.debug_line_str,.comment,.debug_frame,.symtab,.strtab,.shstrtab,.min_heap_stack" $<

make-dir:
@mkdir -p $(OBJECTDIRSTRUCT)
Expand Down

0 comments on commit 6f1c730

Please sign in to comment.