1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

23 Commits

Author SHA1 Message Date
Ivan Grokhotkov
788095c66e Remove implementations of WDT-related functions
which were not correct since 0.9.3 anyway
2015-06-25 00:13:06 +03:00
Ivan Grokhotkov
26eede862f Add function to update sketch from Stream 2015-06-05 14:07:55 +03:00
Ivan Grokhotkov
becc1d32ed rename EspClass::eraseESPconfig to eraseConfig 2015-06-05 14:07:42 +03:00
Markus Sattler
5a19cc24bf correct addr 2015-05-25 13:13:05 +02:00
Markus Sattler
5852c484ca add ESP.eraseESPconfig() to erase the ESP SDK configuration (including wifi)
improve WiFiMulti
2015-05-25 12:29:26 +02:00
Markus Sattler
dc52cf82c5 read the rst reason from the SDK if stored.
add String getResetInfo(void); and struct rst_info * getResetInfoPtr(void);
2015-05-25 11:15:29 +02:00
Ivan Grokhotkov
4fdd546ad5 Fix build 2015-05-24 15:35:18 +03:00
ficeto
ba65783177 add method to get the actual size of the flash 2015-05-18 22:34:34 +03:00
ficeto
18349b2090 fix buffer and block size 2015-05-18 21:45:00 +03:00
Markus Sattler
163858dc44 fix use SPI.beginTransaction crash 2015-05-07 19:25:25 +02:00
Markus Sattler
5c915ff385 add Winbond flash chip Ids 2015-05-05 18:41:38 +02:00
Markus Sattler
1d2d8f8dd2 add function to get flash size based of flash Chip id 2015-04-30 16:06:01 +02:00
Markus Sattler
55b2d88d07 in Arduino.h make some errors by compiling in some cases moved to Esp.cpp 2015-04-30 15:19:36 +02:00
Markus Sattler
fab5104cff use User-defined literals for kHz, MHz, GHz, kBit, MBit, GBit, kB, MB and GB
see #145
2015-04-30 15:04:10 +02:00
Ivan Grokhotkov
cf9da93b61 Remove some definitions from global namespace
Names like kB, MB and kHz are likely to collide with variable names in user sketches.
Nowadays this should be implemented using c++14 user-defined literals (http://en.cppreference.com/w/cpp/language/user_literal)
2015-04-30 19:06:11 +08:00
Ivan Grokhotkov
a4536d5935 Minor code style changes 2015-04-30 18:54:16 +08:00
Markus Sattler
724baf7910 add functions to read out the flash config
Serial.print(F("Flash Chip Size: "));
Serial.println(ESP.getFlashChipSize());

Serial.print(F("Flash Chip Speed: "));
Serial.println(ESP.getFlashChipSpeed());

Serial.print(F("Flash Chip Mode: 0x"));
Serial.println(ESP.getFlashChipMode(), HEX);
2015-04-30 10:42:17 +02:00
Markus Sattler
8cb330eadf add ESP.getFlashChipId() 2015-04-29 22:33:15 +02:00
Markus Sattler
6bcb8198b8 add to ESP class:
getChipId
getSDKversion
getBootVersion
getBootMode
getCPUfreqMHz

add some defines for AVR like WDT control
2015-04-19 10:20:33 +02:00
Markus Sattler
8aa93b6bf6 add EspClass::getFreeHeap see #81 2015-04-19 09:50:58 +02:00
Markus Sattler
6cf87708c5 add void restart(void) and uint16_t getVCC(void) to Esp class 2015-04-17 11:05:02 +02:00
Ivan Grokhotkov
6b593a7978 Add ESP.reset() method 2015-04-12 02:07:56 +08:00
Ivan Grokhotkov
5c94d333c5 Add watchdog and deep sleep APIs
requested in #34
2015-04-11 10:58:57 +08:00