mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-25 18:46:45 +00:00
Also pull a deviceID from esp32c6 devices (#8092)
This commit is contained in:
parent
f77ca2533b
commit
a8c66547cc
@ -204,7 +204,7 @@ NodeDB::NodeDB()
|
||||
|
||||
int saveWhat = 0;
|
||||
// Get device unique id
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3) || defined(CONFIG_IDF_TARGET_ESP32C6)
|
||||
uint32_t unique_id[4];
|
||||
// ESP32 factory burns a unique id in efuse for S2+ series and evidently C3+ series
|
||||
// This is used for HMACs in the esp-rainmaker AIOT platform and seems to be a good choice for us
|
||||
|
Loading…
Reference in New Issue
Block a user