Meaning of INTERNAL_FLASH_OTA_ADDRESS and INTERNAL_FLASH_FAC_ADDRESS

Hi,
I found the belowing two macro definition in flash_mal.h. What’s the meaning of them?
#define INTERNAL_FLASH_OTA_ADDRESS (USER_FIRMWARE_IMAGE_LOCATION+FIRMWARE_IMAGE_SIZE) #define INTERNAL_FLASH_FAC_ADDRESS (USER_FIRMWARE_IMAGE_LOCATION+FIRMWARE_IMAGE_SIZE+FIRMWARE_IMAGE_SIZE)

Any answer would be appreciated!

Hi @ielec
They are the location where the device stores the binary received via OTA, and the location of the factory reset binary.
Cheers,
mat.

@mdma It’s glad to hear that you have came back to the forum. There are some stupid questions I’v asked before when I was a new bee to Photon firmware. Now I have gotten the answers to most of them. Thanks for your patient reply any way and I look forward to your help on the way to discovery the mystery of the Photon firmware.

Thanks,
ielec