<embassy-learner[> "A question ( maybe dumb ) about:..." <- > <@embassy-learner:matrix.org> A question ( maybe dumb ) about:
> https://doc.rust-lang.org/stable/core/slice/fn.from_raw_parts.html
> 
> I got it working like this:
> ```Rust
> let image_slice = unsafe {
> core::slice::from_raw_parts(
>           BASE_ADDRESS_APP as *const u8,
>           boot_status.offset as usize,
>           )
>  };                                    
> ```
> Suppose I call this another time I got the slice full of 00, is something related to lifetime? Do I need to drop it in someway before allocating again?

sorry...just found my error!! :)