bootloader_common_check_chip_validity() function
Check if the image (bootloader and application) has valid chip ID and revision
Arguments
type
image type, bootloader or application
Return value
- ESP_OK: image and chip are matched well - ESP_FAIL: image doesn't match to the chip
bootloader_common_check_chip_validity() is called by 1 function and calls 4 functions:
![]()
bootloader_common_check_chip_validity()
bootloader_common_check_chip_validity() reads 11 variables:
![]()
bootloader_common_check_chip_validity()