Also, I am having issues troubleshooting, since (according to microchip docs) you cannot cast a pointer to 24bit flash data, and the watch window cannot properly monitor a (__pack_upper_byte char *) pointer.
My problem is that in troubleshooting this code, the data at this location changes for different builds, due to the add\removed troubleshooting code. Due to the requirement of the __pack_upper_byte pointer to manage accessing the packed data, and not knowing how to ensure the required struct is placed across 0x1FFFF\0x20000.
Is there a way to declare a __pack_upper_byte char array, that is located at a fixed program memory address of 0x1FFF0, and is large enough to go through to address 0x20010?
I tried the following, but could not get it to build.
GFX_FONT_SPACE char __attribute__(address(0x1FFF0))) dataDebug =