Replies: 1 comment
-
how did you read the value provided by the linker? You'd need to do something like: extern "C" {
static __application_size: u8;
}
let application_size = core::ptr::addr_of!(__application_size); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been trying to determine the size of my flashed application using the linker script without much success however.
I've tried
PROVIDE(__application_size = __etext - __stext)
which resulted in a value of 57 which is wayy to small to be realistic, as didPROVIDE(__application_size = SIZEOF(.text))
Which makes me wonder if it's even possible to embedd the size of the application and if so how ?
Beta Was this translation helpful? Give feedback.
All reactions