update all dependencies. separate LTO profile

This commit is contained in:
2021-12-16 11:27:21 +01:00
parent e803befa38
commit 099a3d2d02
7 changed files with 27848 additions and 5 deletions

View File

@ -12,7 +12,11 @@ lto = false
debug = true
[profile.release]
# Can be problematic for debugging
lto = true
# Can be problematic for debugging and is definitely problematic with RTT
lto = false
debug = true
opt-level = 's'
[profile.release-lto]
inherits = "release"
lto = true

3
jlink-gdb.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
JLinkGDBServer -select USB -device Cortex-M0 -endian little -if JTAG-speed auto \
-LocalhostOnly

21524
sections/sec-debug.txt Normal file

File diff suppressed because it is too large Load Diff

6312
sections/sec-release-lto.txt Normal file

File diff suppressed because it is too large Load Diff