island
9b7454de0c
support wifi&bt coexist (v0.9.1)
...
1. refactor wifi modem sleep
2. refactor wifi and bt phy enable/diable coexistence
3. support wifi&bt coexist (v0.9.1)
3. add coex pause resume
4. fix bt library interrupt reaction slowly
5. make a2dp more smooth when coex
6. add coexist preference option
7. Make CI do not check libcoexist.a printf/ets_printf
8. disable Wifi RX AMPDU when software coexistence enable && update wifi lib
9. bluetooth call modem sleep api
2018-04-02 13:44:48 +08:00
Jiang Jiang Jian
21099c10f4
Merge branch 'feature/support_enrollee_feature_in_APSTA_mode' into 'master'
...
feature/support WPS enrollee in APSTA mode
See merge request idf/esp-idf!2120
2018-03-30 16:14:43 +08:00
Roland Dobai
7c4b3d50f8
Make error codes globally unique
2018-03-27 08:12:54 +02:00
Ivan Grokhotkov
2e7613b656
Merge branch 'feature/use_esp_err_to_name' into 'master'
...
Use esp_err_to_name in examples & optionally disable it in Kconfig
See merge request idf/esp-idf!2013
2018-03-27 11:50:21 +08:00
Deng Xin
6c3bdd45cf
feature/support WPS enrollee in APSTA mode
...
Add the feature WPS enrollee in APSTA mode
close github issue: https://github.com/espressif/esp-idf/issues/1608
2018-03-23 15:41:59 +08:00
Ivan Grokhotkov
27bf18ad6b
Merge branch 'test/wifi_stop_deinit' into 'master'
...
test(wifi): add test for wifi stop and deinit.
See merge request idf/esp-idf!2022
2018-03-23 13:45:20 +08:00
Ivan Grokhotkov
887b6e2925
Merge branch 'bugfix/rtc_clk_32k_bootstrap' into 'master'
...
bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC
See merge request idf/esp-idf!2085
2018-03-21 18:38:49 +08:00
Konstantin Kondrashov
f7df532ec0
bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC
...
1. External 32kHz crystal is started for too long or it may not start at all. It is often observed at the first start.
2. At the first start, it is possible that the crystal did not start. And the recorded period was recorded as 0. Which led to a division error by zero during the transition to the deep sleep mode (Maybe somewhere else).
3. Added a unit test to test a new method of oscillation an external crystal.
4. Added a new method of oscillating of an external crystal. The legs of the crystal are fed with a 32 kHz frequency.
The new method eliminates these errors.
Added unit test: `\esp-idf\components\soc\esp32\test\test_rtc_clk.c`: `make TEST_COMPONENTS=soc`
- 8 Test starting external RTC crystal. Will pass.
`Bootstrap cycles for external 32kHz crystal` - is specified in the file Kconfig by default 100.
QA tested a new method of oscillation the crystal on 25 boards. The supply of square waves on the crystal showed a 100% result in contrast to the previous method of launching the crystal. After the tests, the old method was deleted.
Closes TW19143
2018-03-21 13:27:56 +05:00
Jiang Jiang Jian
8478823039
Merge branch 'bugfix/dfs_rtc_fixes' into 'master'
...
DFS related fixes
See merge request idf/esp-idf!2102
2018-03-21 12:02:48 +08:00
Ivan Grokhotkov
7167ad45ab
pm: improve debug output from esp_pm_dump_locks
...
- separate mode stats from lock stats by an extra comment line
- add CPU frequency column to the mode stats
- don’t print a row for light sleep if light sleep is not enabled
2018-03-20 18:08:19 +08:00
Ivan Grokhotkov
9377d4acd4
pm: fix incorrect configuration at startup
...
s_cpu_freq_by_mode array was statically initialised with 80MHz CPU
frequency in CPU_MAX and APB_MAX modes, but sdkconfig setting for the
CPU frequency could have been different. For the case of 240MHz CPU
frequency, this would cause a frequency switch between 240MHz and
80MHz to happen, even though such switch is not supported in the fast
path switching functions used by the DFS implementation.
This fixes the issue by moving initialisation into esp_pm_impl_init,
which is called at startup before the first mode switch can happen.
Fixes https://github.com/espressif/esp-idf/issues/1729 .
2018-03-20 18:06:58 +08:00
Liu Zhi Fu
21c0b59315
esp32: optimize WiFi TX
...
1. Optimize TX retry counter
2. Optimize TX timeout
2018-03-20 15:24:32 +08:00
Jiang Jiang Jian
45eb556ddf
Merge branch 'bugfix/wpa2_assert_when_use_sha256_signature' into 'master'
...
bugfix of wpa2 assert when use sha256 do signature
See merge request idf/esp-idf!2089
2018-03-20 15:19:55 +08:00
Deng Xin
bc97b0f380
bugfix of wpa2 assert when use sha256 do signature
...
The order of wpa2_crypto_funcs_t structure mismatch between IDF and wifi libray
close github issue https://github.com/espressif/esp-idf/issues/1297
2018-03-20 11:08:20 +08:00
Liu Zhi Fu
078cd81f10
esp32: Fix wifi stop never return issue
...
Fix esp_wifi_stop() never return issue
2018-03-19 21:16:29 +08:00
michael
c2a68ae0d3
test(wifi): add test for wifi stop and deinit.
2018-03-19 08:23:52 +00:00
Liu Zhi Fu
8f61716647
esp32: Fix esp_wifi_stop never returns issue
...
esp_wifi_stop may never return when run esp_wifi_start/stop repeatly.
2018-03-15 11:25:13 +08:00
Ivan Grokhotkov
36098f3cac
Merge branch 'bugfix/make_MEMMAP_SMP_config_dependent' into 'master'
...
bugfix/remove MEMMAP_SMP config
See merge request idf/esp-idf!1988
2018-03-14 13:02:55 +08:00
Roland Dobai
f891eac827
ESP32: Optionally disable lookup-tables for esp_err_to_name
2018-03-13 14:26:54 +01:00
Deng Xin
768d6e09ab
Bugfix of wpa2 task assert when suddenly disconnect
2018-03-12 21:41:24 +08:00
Tian Hao
127d213b29
component/esp32: fix esp_timer bug
...
1. fix the bug that cause esp_timer_get_time is not accuracy(the max margin may be 106s).
2. fix the bug that causes esp timer come too early.
2018-02-28 10:49:45 +08:00
Darian Leung
33aee51727
bugfix/remove MEMMAP_SMP config
...
This commit removes the MEMMAP_SMP config option.
Dependencies on this config will now depend on !FREERTOS_UNICORE
2018-02-27 17:56:44 +08:00
Ivan Grokhotkov
d1559732b0
Merge branch 'feature/ignore_no_psram' into 'master'
...
Add option to continue running (with less ram) if psram is enabled but not detected
See merge request idf/esp-idf!1911
2018-02-26 20:33:28 +08:00
Ivan Grokhotkov
a9ae4e2696
Merge branch 'bugfix/config_minor_missing_deps' into 'master'
...
Kconfig: esp32/freertos: add some missing dependencies
See merge request idf/esp-idf!1966
2018-02-26 05:57:27 +08:00
Mahavir Jain
bf31afd2c3
Kconfig: esp32/freertos: add some missing dependencies
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-02-21 12:31:10 +05:30
Daniël van Eeden
bd0b3a7d6b
Fix esp_sleep_wakeup_cause_t docs. Merges https://github.com/espressif/esp-idf/pull/1634
...
value and description didn't match
2018-02-20 20:22:14 +01:00
Roland Dobai
4322e31c98
Make it easier to look up error messages
...
tools/gen_esp_err_to_name.py generates
components/esp32/esp_err_to_name.c for lookup of the error codes from
all of the IDF project and easily identify all codes in one place
2018-02-15 14:19:03 +01:00
Jeroen Domburg
dc864c4108
Add option to continue running (with less ram) if psram is enabled but not detected
2018-02-12 13:44:11 +08:00
Ivan Grokhotkov
a5f9563ef7
esp32: increase default event task stack size by 256 bytes
...
At debug log level, default event task stack size was not sufficient,
the stack was overflown by 232 bytes when WiFi connection happened.
2018-02-11 13:06:01 +08:00
Ivan Grokhotkov
417ef19084
Merge branch 'feature/tls_support' into 'master'
...
FreeRTOS TLS support
See merge request idf/esp-idf!1902
2018-02-09 12:34:20 +08:00
Alexey Gerenkov
f8c42369f1
freertos: Adds C11 TLS support
2018-02-07 18:46:57 +03:00
Liu Zhi Fu
5497c5ed9a
esp32: fix esp_wifi_deinit causes assert
...
Update wifi lib to fix esp_wifi_deinit causes system assert issue
2018-02-06 13:01:51 +00:00
Ivan Grokhotkov
8173d42581
Merge branch 'feature/partition_table_md5' into 'master'
...
Partition table md5 check
See merge request idf/esp-idf!1891
2018-02-05 20:58:52 +08:00
Roland Dobai
cf7a4cc650
Protect partition table by MD5 checksum
2018-02-05 11:36:03 +01:00
wangmengyang
a31d07ba25
move rodata segment of libphy.a to dram
...
1. rodata segment of libphy.a(about 1200B) can be accessed by ISRs, so put it into DRAM
2018-02-02 13:00:11 +08:00
Jiang Jiang Jian
17f01eb718
Merge branch 'feature/wifi_throughput_optimization' into 'master'
...
lwip/esp32/examples: wifi throughput optimization
See merge request idf/esp-idf!1861
2018-01-31 15:44:43 +08:00
Liu Zhi Fu
2242bf9b37
lwip/esp32/examples: wifi throughput optimizations
...
1. Put some lwip udp rx/tx relating functions to IRAM
2. Put some wifi rx/tx relating functions to IRAMa
3. Reduce wifi dynamic malloc from 4 to 1 for each ebuf
4. Update iperf example accordingly
5. Update libphy.a to v383
2018-01-30 16:27:49 +08:00
Angus Gratton
1249659931
Merge branch 'bugfix/system_restore_duplicate' into 'master'
...
esp32: remove duplicate definition of system_restore
See merge request idf/esp-idf!1864
2018-01-29 14:02:02 +08:00
Ivan Grokhotkov
1979235df2
esp32: remove duplicate definition of system_restore
...
Fixes https://github.com/espressif/esp-idf/issues/1520 .
2018-01-28 19:26:37 +08:00
wangmengyang
95af1c22b5
components/phy: add IRAM_ATTR attribute to the two APIs used in phy calibration
...
1. the two APIs used in phy calibration are called in bluetooth baseband ISR, so locate the them in IRAM
2018-01-26 17:12:59 +08:00
XiaXiaotian
1bc87e972b
Added two functions in PHY API for disable interrupts and add rfcal data checking to PHY
2018-01-25 17:58:14 +08:00
Jiang Jiang Jian
c73ea7a804
Merge branch 'bugfix/wifi_fix_sniffer_rx_misc_data_assert' into 'master'
...
Fix the bug that in sniffer mode it asserts when receive misc data at first
See merge request !1837
2018-01-25 14:09:46 +08:00
XiaXiaotian
cdd7a87674
Fix the bug that in sniffer mode it asserts when receive misc data at first
...
close github issue#1037 WiFi Promiscuous filter breaks w/
WIFI_PROMIS_FILTER_MASK_ALL and issue#1404
esp_wifi_set_promiscuous_filter set WIFI_PROMIS_FILTER_MASK_ALL error
2018-01-24 16:06:53 +08:00
michael
fcfcab7678
feat(attr): add new macro DMA_ATTR
and WORD_ALIGNED_ATTR
to help dma buffer declaration.
2018-01-24 11:28:14 +08:00
Jack
624828ce83
Dump the frame of the other core when interrupt watchdog happens
2018-01-18 23:10:29 +00:00
Angus Gratton
f620a3c4f3
Merge branch 'bugfix/int_wdt_in_ocd_mode' into 'master'
...
panic: prevent INT WDT from re-triggering in OCD mode
See merge request !1764
2018-01-16 15:07:26 +08:00
Ivan Grokhotkov
2ddee72996
Merge branch 'feature/toolchain-80-g6c4433a' into 'master'
...
Toolchain: Update to version 1.22.0-80-g6c4433a
See merge request !1771
2018-01-11 21:44:42 +08:00
Angus Gratton
38e15e6241
build: Remove explict -lstdc++-psram-workaround
...
This is now handled internally to the toolchain.
2018-01-11 10:32:02 +11:00
Jiang Jiang Jian
16391c2748
Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'
...
Fix bug that when we do full calibration init data bin is not used
See merge request !1746
2018-01-10 17:01:53 +08:00
Jack
11c0daef62
Fix bug that when we do full calibration init data bin is not used
2018-01-09 15:31:34 +08:00