Add linkermap target for size analysis (#227)

* correct url link for led glasses driver
* add linkermap to ci
This commit is contained in:
Ha Thach
2021-10-13 00:02:52 +07:00
committed by GitHub
parent 66b6712682
commit 41db95f28e
4 changed files with 17 additions and 2 deletions
+11 -1
View File
@@ -63,11 +63,18 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v1
with:
submodules: true
submodules: true
- name: Checkout linkermap
uses: actions/checkout@v2
with:
repository: hathach/linkermap
path: linkermap
- name: Install Toolchains
run: |
pip3 install adafruit-nrfutil uritemplate requests intelhex
pip3 install linkermap/
npm install --global xpm
# 9.3.1-1.2.1 is xpack modified version which significantly increased compiled size to 6-7KB and cause flash overflow.
# Skip this version for now, we will try again with next official release from ARM
@@ -78,6 +85,9 @@ jobs:
run: |
make BOARD=${{ matrix.board }} all
make BOARD=${{ matrix.board }} copy-artifact
- name: Linker Map
run: make BOARD=${{ matrix.board }} linkermap
- uses: actions/upload-artifact@v2
with: