After some help from Moshe and others in the Google group, I managed to get a pair of new Elecrow M5 to work. Basically, it seems the flash_id is different on these models: 0xC84016 instead of 0x464016.
After butchering Linar's code, I forced it to find the M5 and it works now. I'll test it on the ground tomorrow to see if everything is working.
@Linar, I am not sure of your flash_id logic so, do you want me to put in another case or try merging? Not really a github user :(
Thanks,
Vlastimir
EEPROM version: 97
WARNING! None of supported RFICs is detected!
WARNING! Barometric pressure sensor is NOT detected.
INFO: ESP32-S3 DevKit is detected.
Flash memory ID: C84016
Hostname: SoftRF-8f36d0
Setting soft-AP configuration ... Ready
Setting soft-AP ... Ready
IP address: 192.168.1.1
HTTP server has started at port: 80
Data output device(s):
NMEA - USB CDC
GDL90 - USB CDC
D1090 - NULL
#elif defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32S31)
switch (flash_id)
{
.
.
.
.
case MakeFlashId(GIGADEVICE_ID, GIGADEVICE_GD25Q64):
/* Heltec Tracker has no PSRAM onboard /
esp32_board = ESP32_HELTEC_TRACKER;
hw_info.model = SOFTRF_MODEL_MIDI;
break;
case MakeFlashId(ZBIT_ID, ZBIT_ZB25VQ32B):
case MakeFlashId(TBD_ID, TBD_25Q32):
/
* Elecrow TinkNode M2 has OPI PSRAM in the WROOM module.
* ESP32 Arduino Core 2.0.x is unable to detect OPI PSRAM
* unless we do a psram_type=opi custom build.
/
esp32_board = ESP32_ELECROW_TN_M5; / allow psramFound() to fail */
break;
default:
esp32_board = ESP32_ELECROW_TN_M5;
break;
}
SX126x RFIC is detected.
WARNING! Barometric pressure sensor is NOT detected.
INFO: Elecrow ThinkNode M5 is detected.
Flash memory ID: C84016
INFO: GNSS module FW version: URANUS5,V5.3.0.0
Hostname: SoftRF-8f36d0
Setting soft-AP configuration ... Ready
Setting soft-AP ... Ready
IP address: 192.168.1.1
HTTP server has started at port: 80
E (11777) ledc: freq_hz=0 duty_resolution=8
Data output device(s):
NMEA - USB CDC
GDL90 - USB CDC
D1090 - NULL