Skip to content

Commit

Permalink
Examples: update cdefault.yml (#88)
Browse files Browse the repository at this point in the history
- add program size information to GCC and CLANG build output
- suppress incorrect linker warning for GCC
  • Loading branch information
MiloradCvjetkovic authored Jan 17, 2025
1 parent a769610 commit fe3adcc
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ci/cdefault.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
default:

misc:
- for-compiler: AC6
C-CPP:
Expand Down Expand Up @@ -31,7 +32,9 @@ default:
Link:
- --specs=nano.specs
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections
- -Wl,--no-warn-rwx-segments # suppress incorrect linker warning

- for-compiler: CLANG
ASM:
Expand All @@ -46,6 +49,7 @@ default:
Link:
- -lcrt0
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections

- for-compiler: IAR
Expand Down
4 changes: 4 additions & 0 deletions Examples/FileSystem/cdefault.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
default:

misc:
- for-compiler: AC6
C-CPP:
Expand Down Expand Up @@ -31,7 +32,9 @@ default:
Link:
- --specs=nano.specs
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections
- -Wl,--no-warn-rwx-segments # suppress incorrect linker warning

- for-compiler: CLANG
ASM:
Expand All @@ -46,6 +49,7 @@ default:
Link:
- -lcrt0
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections

- for-compiler: IAR
Expand Down
4 changes: 4 additions & 0 deletions Examples/Network/cdefault.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
default:

misc:
- for-compiler: AC6
C-CPP:
Expand Down Expand Up @@ -31,7 +32,9 @@ default:
Link:
- --specs=nano.specs
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections
- -Wl,--no-warn-rwx-segments # suppress incorrect linker warning

- for-compiler: CLANG
ASM:
Expand All @@ -46,6 +49,7 @@ default:
Link:
- -lcrt0
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections

- for-compiler: IAR
Expand Down
4 changes: 4 additions & 0 deletions Examples/USB/Device/cdefault.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
default:

misc:
- for-compiler: AC6
C-CPP:
Expand Down Expand Up @@ -31,7 +32,9 @@ default:
Link:
- --specs=nano.specs
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections
- -Wl,--no-warn-rwx-segments # suppress incorrect linker warning

- for-compiler: CLANG
ASM:
Expand All @@ -46,6 +49,7 @@ default:
Link:
- -lcrt0
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections

- for-compiler: IAR
Expand Down
4 changes: 4 additions & 0 deletions Examples/USB/Host/cdefault.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
default:

misc:
- for-compiler: AC6
C-CPP:
Expand Down Expand Up @@ -31,7 +32,9 @@ default:
Link:
- --specs=nano.specs
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections
- -Wl,--no-warn-rwx-segments # suppress incorrect linker warning

- for-compiler: CLANG
ASM:
Expand All @@ -46,6 +49,7 @@ default:
Link:
- -lcrt0
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections

- for-compiler: IAR
Expand Down
4 changes: 4 additions & 0 deletions Test/Network/netio/cdefault.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
default:

misc:
- for-compiler: AC6
C-CPP:
Expand Down Expand Up @@ -31,7 +32,9 @@ default:
Link:
- --specs=nano.specs
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections
- -Wl,--no-warn-rwx-segments # suppress incorrect linker warning

- for-compiler: CLANG
ASM:
Expand All @@ -46,6 +49,7 @@ default:
Link:
- -lcrt0
- -Wl,-Map=$elf()$.map
- -Wl,-print-memory-usage
- -Wl,--gc-sections

- for-compiler: IAR
Expand Down

0 comments on commit fe3adcc

Please sign in to comment.