This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to size PSTORAGE_CMD_QUEUE_SIZE

Hi, I was looking at the .map for my project and I noticed that pstorage.c was taking up a bunch of RAM (~600 bytes), which I thought was a lot, so I went into pstrorage_platform.h and reduced PSTORAGE_CMD_QUEUE_SIZE to 20 from 30. My reasoning was that I only call pstorage commands during bonding and ancs actions, so I probably will never need to queue 30 commands. However, I was wondering if that is a valid assumption. Is it ok to reduce the queue size for pstorage.c? thanks

Related