Binary translations from external flash
The example in the help link below shows loading loading the translation from a file, but not from memory addressed external flash. This is what I'm using and mem_addr contains the expected data. The second argument to setTranslation() is a void pointer, so is uint8_t * correct type to use? Does the pointer always have to remain in scope, i.e. I can't switch back to block mode?
uint8_t *mem_addr;
OSPI_NOR_EnableMemMappedQuadMode()
FrontendApplication::FrontendApplication(Model& m, FrontendHeap& heap)
: FrontendApplicationBase(m, heap)
{
OSPI_NOR_EnableMemMappedQuadMode();
mem_addr = (uint8_t *)(OCTOSPI1_BASE);
Texts::setTranslation(GB, mem_addr);
Texts::setLanguage(GB);
}