ADAU1466 second page addressing

Hi all, 

We are implementing the interface for controlling an ADAU1466 from an MCU and we've found that the second page addressing is quite inconvenient. This is because the addresses of parameters that live on the second page can not be made relative to the first page.

Currently we need to pass the PARAM.h header file through a Python script that reads both the ADDR #define and the MEMORYPAGE #define. If the MEMORYPAGE is 1 then we add the first page offset to the address. This is far from ideal for us as it requires maintaining a Python script. 

Long story short, is there any way to better handle this scenario? We'd need the PARAM.h to include the CORE ADDRESS instead of the SLAVE CONTROL PORT ADDRESS.

Thank you in advance. 

Manuel