Hello,
To configure the use of the external flash you could check at SDK\docs\wireless\Bluetooth\
Low Energy Application Developer’s Guide.pdf -> chapter "11.7.3 Enabling OTA upgrade in external flash on QN9090 and K32W061"
This section will explain how to Enable upgrade in external Flash for the QN9090, where the board DK6Programmer will be responsible to generate the binary in order to upload the binary file.
You do have to make sure that are set at the carpet board the file board.h
#if gOTA_externalFlash_d == 0
At the carpet source on the file app_preinclude.h it has to be set
#define gOTA_externalFlash_d 1
By doing this it will use the library that is already supported with the external flash MX25R8035F_c that can be found in the board DK6. Look more about the library using this path: Framework>Flash>External>Source>Eeprom_MX25R8035F.c
Since you want to use the MX77L12850F you should make your own library adapting it.
Hope the answer finds you well. If you have fodder question, don't hesitate to ask.
Regards,
Itzel