Closed
Description
Board
ESP32D0WR2
Device Description
custom module with ESP32D0WDR2
Hardware Configuration
no relevant
Version
v2.0.7
IDE Name
arduino IDE
Operating System
windows 10
Flash frequency
80M
PSRAM enabled
yes
Upload speed
921600
Description
ESP.getChipModel() returns Unknown, but it should return ESP32-D0WDR2-V3
revision is returned correctly by ESP.getChipRevision() (3 in this case).
arduino-esp32/cores/esp32/Esp.cpp
Line 290 in b98255d
Sketch
uint32_t chipId = 0;
void get_chip_id(void){
for(int i=0; i<17; i=i+8) {
chipId |= ((ESP.getEfuseMac() >> (40 - i)) & 0xff) << i;
}
printf("ESP32 Chip model = %s Rev %d\n", ESP.getChipModel(), ESP.getChipRevision());
printf("%d cores\n", ESP.getChipCores());
Serial.print("Chip ID: "); Serial.println(chipId);
}
### Debug Message
ESP32 Chip model = Unknown Rev 3
2 cores
Chip ID: xxxxxxx
Other Steps to Reproduce
It works fine with other variants, like D0WDQ6 for example.
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.