Skip to content

Commit e6acc47

Browse files
SuhashiniNaikmarcmo
authored andcommitted
Add stack usage in ArmNoneEabi.cmake
- For viewing the SU on puncover - .su files will be generated under cmake-build-s32k148 - view Stack Worst-Case Scenarios and SU on puncover tools/puncover_tool/output/index.html - Add generated tools/puncover_tool/output to .gitignore - Updated puncover_tool.yml
1 parent ed362a6 commit e6acc47

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

.github/workflows/puncover_tool.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
path: |
3131
cmake-build-s32k148
32-
key: ${{ runner.os }}-cmake-s32k148-${{ hashFiles('**/*.cpp', '**/*.h', '**/*.cmake', '**/*.txt', '**/*.c', '**/*.s', 'admin/cmake/ArmNoneEabi.cmake') }}
32+
key: ${{ runner.os }}-cmake-s32k148-${{ hashFiles('**/*.cpp', '**/*.h', '**/*.cmake', '**/*.txt', '**/*.c', '**/*.s') }}
3333

3434
- name: Install Poetry
3535
uses: snok/[email protected]

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ venv
1515
.envrc
1616
.DS_Store
1717
*.egg-info
18+
tools/puncover_tool/output/
1819
.docker_history/
1920
.sccache/
2021
doc/doxygenOut

.treefmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ excludes = [
3232
"admin/cmake/CodeCoverage.cmake",
3333
"docker/**",
3434
"tools/clang-format-wrapper",
35+
"tools/puncover_tool/**",
3536
]
3637

3738
[formatter.cpp]

admin/cmake/ArmNoneEabi.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ set(C_COMMON_FLAGS
2121
"${CPU_BUILD_FLAGS} -mthumb -fshort-enums \
2222
-mno-unaligned-access -Wno-psabi \
2323
-fno-asynchronous-unwind-tables -fno-builtin -fno-common \
24-
-ffunction-sections -fdata-sections")
24+
-ffunction-sections -fdata-sections -fstack-usage")
2525

2626
set(CMAKE_ASM_FLAGS "-g -mcpu=cortex-m4")
2727
set(CMAKE_C_FLAGS "${C_COMMON_FLAGS} -ffreestanding")

0 commit comments

Comments
 (0)