Search found 4 matches

by porkmenudo
Mon Jul 25, 2022 9:10 am
Forum: General Discussion
Topic: Permanently mmap-ed partition?
Replies: 8
Views: 10444

Re: Permanently mmap-ed partition?

Ok, thanks for the clarification!
by porkmenudo
Sat Jul 23, 2022 12:17 pm
Forum: General Discussion
Topic: Permanently mmap-ed partition?
Replies: 8
Views: 10444

Re: Permanently mmap-ed partition?

Ok, thanks for the clarification!
by porkmenudo
Thu Jul 21, 2022 2:19 am
Forum: General Discussion
Topic: Permanently mmap-ed partition?
Replies: 8
Views: 10444

Re: Permanently mmap-ed partition?

How about if the size of the mmap-ed region is big, say 1MB? Does it have any effect?
by porkmenudo
Tue Jul 19, 2022 3:16 pm
Forum: General Discussion
Topic: Permanently mmap-ed partition?
Replies: 8
Views: 10444

Permanently mmap-ed partition?

Every example usage of esp_partition_mmap I see is followed by a spi_flash_munmap a few lines later. However,
is there any harm in mmap-ing a partition at the beginning of app_main, using a global variable for out_ptr, and not munmap-ing it for the lifetime of the app?