Search found 2 matches

by hattmt
Fri Feb 12, 2021 1:01 pm
Forum: ESP-IDF
Topic: [SOLVED] Create a variable at an absolute address in flash
Replies: 3
Views: 3073

Re: Create a variable at an absolute address in flash

Thank you for you reply ,
I did it , in editing the .ld , it worked
by hattmt
Thu Jul 23, 2020 3:48 pm
Forum: ESP-IDF
Topic: [SOLVED] Create a variable at an absolute address in flash
Replies: 3
Views: 3073

[SOLVED] Create a variable at an absolute address in flash

Hi, I would like to know how we can create a variable at an absolute address in the binary file, like the definition for ARM compiler: const uint32_t variable __attribute__((at(0x08010000))) = 0X15056687; http://www.keil.com/support/man/docs/armcc/armcc_chr1359124981140.htm I tried with the linker(....