Add some variables to linker

farbodpmz
Posts: 2
Joined: Thu Sep 08, 2022 6:29 am

Add some variables to linker

Postby farbodpmz » Wed Dec 28, 2022 5:49 pm

Hello
I am using esp32 with rust. I am going to use deftm library library.Sp I need to add these fields to linker in compile time.
EXTERN(_defmt_acquire);
EXTERN(_defmt_release);
EXTERN(__defmt_default_timestamp);
EXTERN(__DEFMT_MARKER_TIMESTAMP_WAS_DEFINED);
PROVIDE(_defmt_timestamp = __defmt_default_timestamp);
PROVIDE(_defmt_panic = __defmt_default_panic);

Any idea?

Who is online

Users browsing this forum: Majestic-12 [Bot] and 80 guests