1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
61cc11da22 revert e02932f (#619 works now without it) (#5056) 2018-08-19 04:38:18 -03:00
429f40d321 sdk: update to 2.2.0
- update libraries and header files
- remove libmesh
- update PHY init data
2018-02-19 12:43:01 +03:00
a9224266f3 Arduino boards with ESP8266 (#3121)
default crystal freq 26M for all boards, 40M for arduino
2017-04-11 10:19:30 -05:00
ae13809c81 Update SDK to 2.0.0
- Update SDK header files and libraries to SDK 2.0.0 plus 2.0.0_16_08_09
  patch
- Remove mem_manager.o from libmain.a (replaced with umm_malloc)
- Disable switch from DIO to QIO mode for certain flash chips (saves
  IRAM space)
- Add user_rf_cal_sector_set; it points to rf_init_data sector.
- Change the way rf_init_data is spoofed.
  This is now done by wrapping spi_flash_read and returning the data we
  need during startup sequence.
- Place lwip library into flash using linker script instead of section
  attributes (saves IRAM space)
2017-02-03 04:21:20 +03:00
29186ecb7d Merge pull request #1832 from esp8266/sdk-1.5.2
Update SDK to 1.5.2 (#1653)
2016-03-30 21:07:37 +03:00
05c078ba5b Don't set RF mode on boot unless it was overridden
The change in 297bb17 enabled RF after deep sleep, even if deep sleep was done with RF_DISABLED option (thanks @vlast3k for pointing this out).
Now we check the value returned by __get_rf_mode, and only call system_phy_set_rfoption if RF_MODE override was provided by user.
2016-03-30 08:47:50 +03:00
477e9cfb8a Update SDK to 1.5.2 (#1653)
patch included: http://bbs.espressif.com/viewtopic.php?f=46&t=1856
2016-03-29 17:24:37 +03:00
297bb17c53 Fix RF_MODE override
__get_rf_mode was declared but was not used
2016-03-13 22:42:51 +03:00
730764075e Declare __get_adc_mode and __get_rf_mode with C++ linkage
Workaround for #1759. Using extern "C" qualifiers in sketch breaks compilation in Arduino IDE 1.6.8.
2016-03-13 22:35:18 +03:00
28c96179a0 Update core_esp8266_phy.c
add #include <string.h> to fix warning: incompatible implicit declaration of built-in function 'memcpy'
2016-01-14 16:30:26 -08:00
63f1e40106 Fix RAM corruption caused by our hook of register_chipv6_phy(init_data*).
"init_data", when non-NULL, is on the heap, and the register_chipv6_phy call
sometimes modifies data in (at least) the offset range [128:249], suggesting
that it is a buffer larger than 128 bytes in size (the size of our
"phy_init_data" buffer).  When we use our static buffer (prior to this
change), the call could would overwrite the .rodata section and lead to
undefined behaviour.

To address this, just patch the heap-allocated buffer with our data.

Move phy_init_data to flash as it's now readonly and never modified.
2015-12-21 19:18:29 -08:00
b66ddbf93a Update to SDK 1.5 (#1102) 2015-12-17 23:14:59 +03:00
e02932fcdd Only erase RTC RAM if sleep mode doesn't look valid (#619)
Source: http://esp8266.ru/forum/threads/mem-check-fail.168/#post-7354
2015-08-05 08:41:15 -04:00
5b82668a75 Fix warning for __run_user_rf_pre_init declaration 2015-07-30 13:52:20 +03:00
42332fc46e allow user to run code in user_rf_pre_init.
add void to "C" functions.

example:
extern "C" void __run_user_rf_pre_init(void) {
    system_phy_set_rfoption(2);
}

see: #515 and #413
2015-07-25 09:22:37 +02:00
2ab4e360cc upate phy with values from SDK 1.1.2 (esp_init_data_default.bin) 2015-07-01 17:57:31 +02:00
3c846b720c Merge pull request #469 from Testato/patch-3
Update core_esp8266_phy.c
2015-06-26 20:19:41 +03:00
411773dffa Update core_esp8266_phy.c 2015-06-25 11:38:43 +02:00
4d740bd8e1 Update core_esp8266_phy.c 2015-06-25 11:35:24 +02:00
cd5228f7c2 Update core_esp8266_phy.c 2015-06-25 11:34:53 +02:00
61f800ec14 Update core_esp8266_phy.c 2015-06-25 11:33:34 +02:00
9dce0c4181 Provide selection between A0 and VCC (#443, #338) 2015-06-25 01:04:07 +03:00
432385604c Update core_esp8266_phy.c
added vdd33_const explanation from official Espressif documentation
2015-06-24 22:32:59 +02:00
dc08418f08 Provide init data for register_chipv6_phy 2015-06-22 03:18:02 +03:00