ନ୍ୟୁଜ୍

I am programming and testing the same code firmware for ESP32 and ESP32S2 but when I change the from one to another it throws Error Compiling for Board ESP32 Dev Module.
Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), ...