Commit graph

8005 commits

Author SHA1 Message Date
KonstantinKondrashov
648f25e275 esp_timer: Add Test case when set_alarm needs set timer < now_time 2019-12-14 04:36:41 +08:00
KonstantinKondrashov
8061659b5f esp_timer: Fix set_alarm. Case when timestamp < now_time
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.

Closes: WIFI-1511
2019-12-12 14:44:13 +08:00
Jiang Jiang Jian
f8bcf2f459 Merge branch 'bugfix/hfp_client_indication_v3.2' into 'release/v3.2'
component/bt: Fix bugs in HFP feature v3.2

See merge request espressif/esp-idf!6853
2019-12-12 13:53:54 +08:00
Jiang Jiang Jian
c1d6c0a5bc Merge branch 'bugfix/jump_time_54_sec_v3.2' into 'release/v3.2'
esp_timer: Fix time jumps back ~ 54sec (v3.2)

See merge request espressif/esp-idf!6470
2019-12-12 13:53:33 +08:00
Jiang Jiang Jian
32f2e7f509 Merge branch 'bugfix/wifi_internal_memory_v3.2' into 'release/v3.2'
wifi: Include DMA reserved pool when allocating internal-only memory (v3.2)

See merge request espressif/esp-idf!6629
2019-12-12 13:53:14 +08:00
Jiang Jiang Jian
887decf42a Merge branch 'component_bt/osi_fixed_queue_v3.2' into 'release/v3.2'
component_bt/: fix pointer type in fixed_queue v3.2

See merge request espressif/esp-idf!6848
2019-12-12 12:16:59 +08:00
Jiang Jiang Jian
65db2bf87c Merge branch 'bugfix/btdm_disable_some_secrity_mask_v3.2' into 'release/v3.2'
components/bt: Disable some unsupported security mask

See merge request espressif/esp-idf!6727
2019-12-09 22:03:54 +08:00
Jiang Jiang Jian
26272b46cb Merge branch 'bugfix/phy_critical_v3.2' into 'release/v3.2'
fix bug that phy_enter_critical cannot effect on dual-core

See merge request espressif/esp-idf!6942
2019-12-09 22:00:29 +08:00
Angus Gratton
b0fce6855a Merge branch 'bugfix/update_libexpat_v3.2' into 'release/v3.2'
expat: Update library from 2.2.5 to 2.2.9 (v3.2)

See merge request espressif/esp-idf!6923
2019-12-09 13:20:55 +08:00
Tian Hao
a05cc294eb fix bug that phy_enter_critical cannot effect on dual-core
Sometimes, libphy.a call phy_enter_critical() to protect accessing critical sections, such like
operating on I2C, but it may not effect when both the CPU core call it. It may cause accessing
I2C blocking and cannot recover by esp_restart(), until do HW reboot.
2019-12-09 12:52:36 +08:00
Roland Dobai
f3aa9cc800 expat: Update library from 2.2.5 to 2.2.9 2019-12-05 09:22:01 +01:00
weitianhua
b584cecea2 adaptation for nano-format 2019-11-29 17:58:52 +08:00
Jiang Jiang Jian
42d7524b91 Merge branch 'bugfix/http_client_buffer_overflow_v3.2' into 'release/v3.2'
Fix HTTP client buffer overflow (v3.2)

See merge request espressif/esp-idf!6669
2019-11-28 11:53:50 +08:00
weitianhua
2a13317e44 component_bt/:bugfix_hfp_client_indication_define_and_cnum_error 2019-11-27 17:06:18 +08:00
weitianhua
e3b5a38cf6 component_bt/: fix pointer type in fixed_queue 2019-11-27 16:17:16 +08:00
Jiang Jiang Jian
7a557368e3 Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.2' into 'release/v3.2'
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.2)

See merge request espressif/esp-idf!6767
2019-11-25 10:34:26 +08:00
Angus Gratton
87357d8cf3 Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v3.2' into 'release/v3.2'
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v3.2)

See merge request espressif/esp-idf!6605
2019-11-21 12:00:20 +08:00
KonstantinKondrashov
3265b7ce0c ci: Add test configs for 32kHz crystals 2019-11-20 16:07:17 +08:00
KonstantinKondrashov
3a402fa7b2 soc/esp32: Add test_env for 32kHz XTAL unit tests 2019-11-20 16:07:17 +08:00
Jack
9d557afe26 esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback 2019-11-19 22:58:05 +08:00
David Cermak
1176d8be6f http_client: added comments to http header generation function 2019-11-19 14:07:54 +00:00
David Cermak
0d0cb3b991 http_client: possible buffer overflow fixed when determining last header item to be written
closes IDF-694
2019-11-19 14:07:54 +00:00
Angus Gratton
b1254618cd Merge branch 'bugfix/mqtt_example_url_update_v3.2' into 'release/v3.2'
MQTT: update default broker URL for examples (backport v3.2)

See merge request espressif/esp-idf!6404
2019-11-19 11:28:39 +08:00
baohongde
63feac091d components/bt: Disable some unsupported security mask 2019-11-17 13:54:17 +08:00
Jiang Jiang Jian
3cd682e9f9 Merge branch 'bugfix/fix_the_bug_in_espnow_example_v3.2' into 'release/v3.2'
espnow: fix the bug for calling esp_wifi_set_channel (backport v3.2)

See merge request espressif/esp-idf!6694
2019-11-14 19:28:40 +08:00
zhangyanjiao
6ce1bea29a espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled. 2019-11-13 17:51:52 +08:00
Jiang Jiang Jian
99ab26ac32 Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.2' into 'release/v3.2'
esp32: fix some WiFi bugs 1009 (backport v3.2)

See merge request espressif/esp-idf!6296
2019-11-12 11:28:02 +08:00
Angus Gratton
03762d5f65 Merge branch 'bugfix/i2s-bootloader-random-disable_v3.2' into 'release/v3.2'
bugfix(bootloader): fix bug about i2s bootloader_random_disable for release/v3.2

See merge request espressif/esp-idf!6600
2019-11-08 18:02:47 +08:00
Angus Gratton
da8103bb59 bt: Include DMA reserved pool when allocating internal-only memory
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:38:29 +08:00
Angus Gratton
ce44590c8b wifi: Include DMA reserved pool when allocating internal-only memory
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:38:29 +08:00
Marius Vikhammer
9c051965d2 MQTT: update default broker URL for examples
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-11-06 01:26:48 +00:00
KonstantinKondrashov
ee84cbdf4e esp_timer: Fix System time jumps back ~54secs
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-11-05 12:47:17 +00:00
KonstantinKondrashov
48a3f7d716 esp32: Add UTs to check the System time does not jump back 2019-11-05 12:47:17 +00:00
Ivan Grokhotkov
01007698b7 esp_timer: handle esp_timer_delete in timer task
Closes https://github.com/espressif/esp-idf/issues/3458
2019-11-05 12:47:17 +00:00
Chen Zheng Wei
e5d7addcf7 bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v3.2
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
2019-11-05 17:04:42 +08:00
Jiang Jiang Jian
b8243b5fbe Merge branch 'bugfix/btdm_disable_bt_gatt_v3.2' into 'release/v3.2'
components/bt: Disable BR/EDR GATT

See merge request espressif/esp-idf!6508
2019-11-01 13:58:40 +08:00
Angus Gratton
a456543b8a Merge branch 'bugfix/multi_heap_printf_backport_v3.2' into 'release/v3.2'
heap: Fix printf usage in heap poisoning (backport v3.2)

See merge request espressif/esp-idf!6090
2019-11-01 13:24:27 +08:00
Jiang Jiang Jian
81c45ffe14 Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v3.2' into 'release/v3.2'
components/bt: Fix assert when deinit A2DP while playing music

See merge request espressif/esp-idf!6537
2019-11-01 11:57:39 +08:00
liu zhifu
09e657460f esp32: fix some WiFi bugs
Fix following WiFi bugs:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Avoid recalculating PMK if esp_wifi_set_config() is not called
6. Fix the bug that WiFi stop leads to task watchdog
7. Fix smartconfig IPC crash
8. Fix the crash bug that sniffer may access flash when cached is disabled
9. Fix 5.5M signal test bug
2019-11-01 03:34:06 +00:00
Ivan Grokhotkov
077bd351e4 Merge branch 'bugfix/can_driver_assertions_v3.2' into 'release/v3.2'
drivers/can: fix skipped function calls when assertions disabled (backport v3.2)

See merge request espressif/esp-idf!6407
2019-10-30 03:53:45 +08:00
Jiang Jiang Jian
fb4b29e83a Merge branch 'bugfix/mdns_invalid_hostname_queries_v3.2' into 'release/v3.2'
mdns: fix crash for hostname queries (backport v3.2)

See merge request espressif/esp-idf!6501
2019-10-30 00:51:44 +08:00
baohongde
840a011c01 components/bt: Fix assert when deinit A2DP while playing music 2019-10-29 20:11:26 +08:00
Angus Gratton
2b5f488d88 ci: Temporarily ignore CAN example test failures
Due to internal CI issue.
2019-10-28 15:37:04 +08:00
Darian Leung
896ba6a83e can: Fix reset mode entry and exit calls
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-28 15:35:42 +08:00
baohongde
56afe0fdca components/bt: Disable BR/EDR GATT 2019-10-28 11:36:52 +08:00
Marius Vikhammer
e94215443b mdns: fix crash for hostname queries
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
 was used as instance name.

Closes https://github.com/espressif/esp-idf/issues/4224
2019-10-28 11:04:46 +08:00
Jiang Jiang Jian
7aee8722fe Merge branch 'bugfix/msys2_toolchain_path_note_v3.2' into 'release/v3.2'
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces (v3.2)

See merge request espressif/esp-idf!6458
2019-10-25 11:36:29 +08:00
Jiang Jiang Jian
d3ac9cc863 Merge branch 'feature/esptool_v2.8_v3.2' into 'release/v3.2'
esptool: Bump to v2.8 release (v3.2)

See merge request espressif/esp-idf!6462
2019-10-25 11:35:53 +08:00
Jiang Jiang Jian
1d3b83e2c0 Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.2' into 'release/v3.2'
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.2(backport v3.2)

See merge request espressif/esp-idf!5920
2019-10-25 10:58:28 +08:00
Angus Gratton
5067ecaebe Merge branch 'bugfix/select_with_sdmmc_mount_v3.2' into 'release/v3.2'
VFS: Fix bug which occurs when driver is installed during a select() call (v3.2)

See merge request espressif/esp-idf!6431
2019-10-24 11:29:02 +08:00