Hello,
I'm sorry, but based on the provided information I cannot give you any helpful advice.
Can you share more information what you have changed? In which files (based on the original STM32L496 Build Environment) have you done modifications?
What is the display size that you are using?
Can you provide the ewconfig.h file and other files with modifications?
Best regards,
Manfred.