nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.68k stars 3.13k forks source link

node.chipid() returns "0x_unknown" for ESP32xx chips #3651

Closed serg3295 closed 6 months ago

serg3295 commented 6 months ago

The reason for this change is that the nodemcu-tool utility expects the node.chipid() command to exist in the Lua environment. However, ESP32c6|s2|h2 chips do not have a chipid, so node.chipid()function will return 0x_unknown for these chips.

marcelstoer commented 6 months ago

ESP32c6|s2|h2 chips do not have a chipid, so node.chipid()function will return 0x_unknown

Shouldn't the docs in node.md mention this? There's a - now outdated - comment in #3652.