mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-08-02 12:14:28 +02:00
ESP.getChipModel() and ESP.getChipCores() (#3847)
* ESP.getChipModel() returns model of the chip * ESP.getChipCores() returns the core count. * Example gives chip model, revision and core count. * Read efuse for chipmodel Co-authored-by: Martijn Scheepers <ms@SDNengineering.nl>
This commit is contained in:
committed by
GitHub
parent
e34e0b45de
commit
7e9d42da68
@@ -75,6 +75,8 @@ public:
|
||||
uint32_t getMaxAllocPsram();
|
||||
|
||||
uint8_t getChipRevision();
|
||||
const char * getChipModel();
|
||||
uint8_t getChipCores();
|
||||
uint32_t getCpuFreqMHz(){ return getCpuFrequencyMhz(); }
|
||||
inline uint32_t getCycleCount() __attribute__((always_inline));
|
||||
const char * getSdkVersion();
|
||||
|
Reference in New Issue
Block a user