A mesh node contains multiple lights.
Assume a light contains 5 Elements (Main, Temperature, Hue, Saturation, Light LC). Each light has 30 model servers implemented.
When I use this with 2 Lights (10 elements and 60 + 2 models), works fine, code builds and executes without any assertion. At this time ACCESS_FLASH_PAGE_COUNT is 1.
When I changed light count to 3 (15 elements and 90 + 2 models), Changed ACCESS_FLASH_PAGE_COUNT to 2, code builds but during execution it asserts.
What is going wrong, do I need to change any more things in order to use the ACCESS_FLASH_PAGE_COUNT as 2?
I did look into the macro in access.c which does a static check during build time and calculated the requied page_count.
Is there any restrictions for using maximum number of ACCESS_FLASH_PAGE_COUNT?