nodemcu / nodemcu-firmware

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

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

Closed serg3295 closed 1 month ago

serg3295 commented 1 month 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 1 month 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.