1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-16 00:43:00 +03:00
Commit Graph

201 Commits

Author SHA1 Message Date
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
a4536d5935 Minor code style changes 2015-04-30 18:54:16 +08:00
3d25914302 fix c&p fail 2015-04-30 11:34:44 +02:00
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
8cb330eadf add ESP.getFlashChipId() 2015-04-29 22:33:15 +02:00
22f063b913 add _bv macro from avr
see #125
2015-04-29 07:01:34 +08:00
2472970933 fix some warnings
warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
warning: defined but not used [-Wunused-variable]
warning: declared 'static' but never defined [-Wunused-function]
warning: suggest parentheses around '&&' within '||' [-Wparentheses}
2015-04-29 07:01:28 +08:00
2b3302c714 add new macro for force function to ram
move uart_interrupt_handler in ram
2015-04-29 07:01:19 +08:00
a8658c8f1c Merge pull request #107 from Makuna/StrNAdditions
missing strn program space wrappers
2015-04-26 17:42:22 +08:00
468dff5e73 Merge pull request #108 from Makuna/strnlen
strnlen implementation
2015-04-26 17:41:38 +08:00
be5f1f83c1 HardwareSerial: add other configs than 8N1 2015-04-26 00:20:39 +02:00
7f6a588773 include stdlib_noniso.h in Arduino.h see #110 2015-04-25 10:43:10 +02:00
ca4c361a58 strnlen implementation
since there is no ets_strnlen, provide an implementation
2015-04-24 15:59:34 -07:00
b2fa3d5b1f missing strn program space wrappers 2015-04-24 15:46:02 -07:00
1d6fc00fdb uart_interrupt_handler is now in ram 2015-04-24 21:15:41 +02:00
021ca1972b fix bug #98 2015-04-22 16:44:30 +02:00
69734ed239 add INPUT_PULLDOWN support 2015-04-21 19:46:23 +02:00
f033fe8e6e Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-21 19:25:23 +02:00
554233f4d3 add prototypes for ets_vsnprintf and ets_vprintf
fix some compiler warnings
2015-04-21 18:34:23 +02:00
d6bb217a56 Fix for undefined reference to strtok_r 2015-04-20 01:10:00 -05:00
7ceff75e33 test for #86 2015-04-19 10:25:25 +02:00
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
8aa93b6bf6 add EspClass::getFreeHeap see #81 2015-04-19 09:50:58 +02:00
b6ea1e45af add includes for <stddef.h> <stdarg.h> <stdio.h> to Arduino.h
add strtok
2015-04-17 12:19:58 +02:00
6cf87708c5 add void restart(void) and uint16_t getVCC(void) to Esp class 2015-04-17 11:05:02 +02:00
4d3d818944 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-12 15:31:59 +02:00
6b593a7978 Add ESP.reset() method 2015-04-12 02:07:56 +08:00
56641b462f Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-04-11 10:16:19 +02:00
273ee1a3b7 fix possible null ptrs in HardwareSerial.cpp 2015-04-11 10:14:38 +02:00
1866ef0c98 Move some functions to .irom0.text 2015-04-11 10:59:36 +08:00
5c94d333c5 Add watchdog and deep sleep APIs
requested in #34
2015-04-11 10:58:57 +08:00
0bd2ea1948 remove some warnings 2015-04-06 19:54:01 +02:00
f165a0afcd use Eclipse auto Format to get rip auf the tab, space and code style inconsistency 2015-04-06 19:33:50 +02:00
78ee754677 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_noniso.c
2015-04-06 19:20:25 +02:00
3bb2de4a85 add flush() to unref() see #50 2015-04-06 19:17:19 +02:00
0276148613 fix printf corrupts Serial.print 2015-04-06 19:15:10 +02:00
be6b8f8a2d add more libc functions
add missing ICACHE_RODATA_ATTR define in #else case
2015-04-06 18:41:03 +02:00
ef75292d24 Definition of F() macro 2015-04-04 10:32:19 +03:00
5550792d7d add __ieee754 functions 2015-04-03 22:56:46 +02:00
b21ff941b2 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_noniso.c
2015-04-03 18:51:13 +03:00
3b839f8907 add macro for vsnprintf_P and snprintf_P 2015-04-03 14:27:21 +02:00
0efbe3a0c8 remove completed libc 2015-04-03 13:41:29 +02:00
18effc3f9e fix sign handling in atof
fix #40
2015-04-03 12:50:09 +03:00
d97b7c2847 Temporary fix for __dso_handle issue
#39
2015-04-03 02:19:16 +03:00
ddb2343bc0 Initial support for CPU frequency selection 2015-04-03 02:18:13 +03:00
e6f3a59a52 Add atof implementation
Fix #27
2015-04-03 00:55:41 +03:00
3df5388b8f Merge branch 'esp8266' of github.com:esp8266/Arduino into esp8266 2015-04-03 00:03:30 +03:00
dbee544ed8 Provide replacements for malloc, free and other libc functions
#11
2015-04-03 00:01:51 +03:00
fb286ff1d4 fix C&P Fail 2015-04-01 22:52:09 +02:00
1ee7ecdaa2 rewrite HardwareSerial code for UART0 + UART1 support in ESP8266 2015-04-01 22:47:13 +02:00