1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

add ESP.getFlashChipId()

This commit is contained in:
Markus Sattler 2015-04-29 22:33:15 +02:00
parent 70ade65582
commit 8cb330eadf
2 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,11 @@ uint32_t EspClass::getChipId(void)
return system_get_chip_id();
}
uint32_t EspClass::getFlashChipId(void)
{
return spi_flash_get_id();
}
const char * EspClass::getSDKversion(void)
{
return system_get_sdk_version();

View File

@ -69,6 +69,7 @@ class EspClass {
uint32_t getFreeHeap(void);
uint32_t getChipId(void);
uint32_t getFlashChipId(void);
const char * getSDKversion(void);