Commit Graph

14850 Commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
233b4720b4 esp_flash: fix write issue using buffer on stack out of lifetime 2020-09-10 03:17:39 +00:00
boarchuz
137bc6658c ulp: typo fix
rd_reg comment references incorrect OPCODE ("OPCODE_WR_REG"); amended to "OPCODE_RD_REG".

Merges https://github.com/espressif/esp-idf/pull/4098
2020-09-10 01:33:50 +02:00
Ivan Grokhotkov
77afbd51ae sleep: fix esp32 light sleep duration
Commit aa43ed8 was fixing the light sleep overhead calculation for
ESP32-S2. However it also changed the overhead values for ESP32,
resulting in incorrect light sleep time. This caused regression in
light sleep example test.

Revert the original values for the ESP32, keep different set of values
for each chip.
2020-09-09 23:34:54 +02:00
Ivan Grokhotkov
3e6d1804a3 Merge branch 'bugfix/ulp_as_version' into 'master'
ulp: fix ULP assembler version detection for localized systems

See merge request espressif/esp-idf!10366
2020-09-10 04:24:51 +08:00
Krzysztof Budzynski
19c0d04446 Merge branch 'add-version-support-chart' into 'master'
docs: add chart of version support period to version.rst

Closes IDF-1708

See merge request espressif/esp-idf!10026
2020-09-10 00:43:16 +08:00
Ivan Grokhotkov
c284927222 Merge branch 'bugfix/eclipse_make_py3' into 'master'
tools: Fix Python 3 incompatibility for building with Eclipse on Windows

See merge request espressif/esp-idf!10369
2020-09-10 00:34:11 +08:00
Ivan Grokhotkov
287bfeb7fd Merge branch 'bugfix/parttool_example_test_fail' into 'master'
fix multiple example test failures

Closes IDFCI-39 and IDFCI-124

See merge request espressif/esp-idf!10350
2020-09-10 00:27:07 +08:00
Roland Dobai
edd7c1a2ee ulp: fix ULP assembler version detection for localized systems 2020-09-09 16:56:15 +02:00
David Čermák
e6f0087448 Merge branch 'bugfix/httpd_ws_sock_type' into 'master'
https_server: Added WSS server example and some http(s)+ws updates

Closes IDFGH-3822, IDFGH-3668, IDFGH-3766, and IDFGH-3444

See merge request espressif/esp-idf!10262
2020-09-09 20:57:11 +08:00
David Čermák
13d265e4d3 Merge branch 'bugfix/wifi_create_and_start_ap' into 'master'
Set default AP handlers in wifi_create_and_start_ap()

See merge request espressif/esp-idf!10343
2020-09-09 20:51:05 +08:00
Roland Dobai
3c7954ea49 tools: Fix Python 3 incompatibility for building with Eclipse on Windows 2020-09-09 13:00:37 +02:00
Jiang Jiang Jian
b5e9047e47 Merge branch 'bugfix/lightsleep_reslove_crash' into 'master'
Fix reboot or crash when enable lightsleep on esp32s2

Closes WIFI-2248

See merge request espressif/esp-idf!10327
2020-09-09 18:39:42 +08:00
martin.gano
7a9abe3ec5 add chart of version support to version.rst 2020-09-09 11:32:44 +02:00
Martin Gano
9e099f97d9 add script with support parsing releases from git 2020-09-09 11:08:05 +02:00
Ivan Grokhotkov
26016534d8 bootloader: move rtc_retain_mem functions back into .iram_loader.text
Introduced 66a32c17 when bootloader_common was moved out of the loader
section.

Also add a test for this configuration.
2020-09-09 10:35:29 +02:00
David Cermak
6f3fa81863 http_server: Simplified httpd_get_client_list() to return clients in int array 2020-09-09 08:00:20 +02:00
David Cermak
2f22a43a5d http_server example test: Simplify client code in the test to use ws package 2020-09-09 08:00:20 +02:00
David Cermak
5e1e5f8be9 http_server: Add a flag to enable using control frames in user handlers 2020-09-09 08:00:20 +02:00
David Cermak
76ca826758 https_server example: Add new WSS server example
Added a new https server example with WS support which runs
* keep-alive thread to send PINGs to clients
* async message to all active WS clients
Moved the existing https-server example to a subfolder

Closes https://github.com/espressif/esp-idf/issues/5733
Closes https://github.com/espressif/esp-idf/issues/5686
2020-09-09 08:00:38 +02:00
David Cermak
fe862f413f https_server: Fix use of open_fn from application level
https-server uses the open_fn() callback and potentially overwrites user defined callback. This commit adds the user defined open_fn() to https-server's context and calls it upon openning a session
2020-09-09 08:00:20 +02:00
David Cermak
fbf2680427 esp_http_server: Add Websocket API to return list of active clients
Closes https://github.com/espressif/esp-idf/issues/5406
2020-09-09 08:00:20 +02:00
Ivan Grokhotkov
5db977c512 Merge branch 'bugfix/cxx_flag_operators' into 'master'
esp_eth: moved extern "C" after includes

See merge request espressif/esp-idf!10345
2020-09-08 23:42:55 +08:00
Ivan Grokhotkov
fb43cfbf6a examples/parttool: fix the test to work on parallel test runner
Pass the DUT port to parttool_example.py as an argument.
2020-09-08 17:35:15 +02:00
Ivan Grokhotkov
fa8e0438b4 Merge branch 'bugfix/deepsleep_flush_uarts_correct' into 'master'
esp32s2/soc: Fix periph_ll_periph_enabled

See merge request espressif/esp-idf!10083
2020-09-08 23:21:43 +08:00
Island
c7b699868f Merge branch 'bugfix/ble_mesh_nimble_ccc_handle' into 'master'
ble_mesh: nimble: Fix updating ccc handle with wrong value

See merge request espressif/esp-idf!10095
2020-09-08 19:56:13 +08:00
Jakob Hasse
f7f46905ec esp_eth: moved extern "C" after includes 2020-09-08 17:44:57 +08:00
Hrishikesh Dhayagude
edb8b91efc Set default AP handlers in wifi_create_and_start_ap() 2020-09-08 11:36:07 +05:30
Chen Yi Qun
b9a0d509a2 UART: Add return in uart_wait_tx_done
uart_wait_tx_done quit due to timeout but without return ESP_ERR_TIMEOUT.
2020-09-08 02:45:14 +00:00
lly
8a3ccd855f ble_mesh: nimble: Fix updating ccc handle with wrong value 2020-09-08 00:47:42 +00:00
Krzysztof Budzynski
ba55320e1e Merge branch 'bugfix/doc_main_readme_build' into 'master'
Fix the setup instructions in the main README

See merge request espressif/esp-idf!10285
2020-09-08 02:14:01 +08:00
Ivan Grokhotkov
3a51584fbb Merge branch 'bugfix/uart_read_o2' into 'master'
hal: workaround for UART FIFO read on ESP32 with -O2 optimization

Closes IDFCI-97

See merge request espressif/esp-idf!10263
2020-09-08 00:01:48 +08:00
Roland Dobai
23eadafd38 Fix the setup instructions in the main README 2020-09-07 16:06:05 +02:00
Island
122874bf86 Merge branch 'bugfix/ble_mesh_remove_assert' into 'master'
ble_mesh: stack: Avoid unnecessary assert in mesh stack

See merge request espressif/esp-idf!10118
2020-09-07 21:45:27 +08:00
Anton Maklakov
2b7e02c9ed Merge branch 'revert-983220e2' into 'master'
ci: enable RS485 related tests again

See merge request espressif/esp-idf!10277
2020-09-07 20:47:04 +08:00
KonstantinKondrashov
0319eb5984 esp32s2/soc: Fix periph_ll_periph_enabled
Logs, before to go the deepsleep, were not completely flushed.
2020-09-07 08:32:18 +00:00
Zhang Hu
6a5faa0fd7 Driver(I2S): Fix I2S PDM clock incorrect issue when using APLL.
closes https://github.com/espressif/esp-idf/issues/5127

closes https://github.com/espressif/esp-idf/issues/5386
2020-09-07 08:08:22 +00:00
baohongde
898baf20f8 components/bt: Fix SPP using NULL point with dynamic memory 2020-09-07 15:41:30 +08:00
ninh
aa43ed8bb8 fix reboot or crash when enable lightsleep on esp32s2 2020-09-07 15:38:00 +08:00
David Čermák
8ff8a05334 Merge branch 'bugfix/switch_icmp_unit_test_from_baidu_to_taobao' into 'master'
unit_test: increase icmp unit test timeout configuration

See merge request espressif/esp-idf!10284
2020-09-07 14:54:01 +08:00
Jiang Jiang Jian
472c40f84e Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd' into 'master'
Bugfix/l2cap link timeout llcp prog btu wtd

Closes BT-941 and BT-973

See merge request espressif/esp-idf!10119
2020-09-07 14:10:46 +08:00
Fu Hanxi
bd83088ba5 fix blehr queue python 2 3 compatibility 2020-09-07 12:16:06 +08:00
Fu Hanxi
d5c8acc69c add gitignore for component unit test apps 2020-09-07 12:12:11 +08:00
Fu Hanxi
edc7cc9c00 add component_ut in assign-test and target-test stage.
Add one template_test python file to get test case
2020-09-07 12:12:11 +08:00
Fu Hanxi
e35328afd9 build component unit test apps
use idf_py_actions supported targets
2020-09-07 12:11:55 +08:00
morris
31aa16bbe6 unit_test: switch icmp test server to taobao 2020-09-06 09:42:44 +08:00
Jiang Jiang Jian
b89d1a47f0 Merge branch 'bugfix/change_pcm_config_position' into 'master'
bugfix/ Change PCM config to the right position

See merge request espressif/esp-idf!10185
2020-09-05 13:48:04 +08:00
Ivan Grokhotkov
0acf94f10f esp_timer: fix CONFIG_PM_USE_RTC_TIMER_REF option usage
Also remove PM_USE_RTC_TIMER_REF in esp32s2, since this option is only
used in FRC implementation of esp_timer.

Closes https://github.com/espressif/esp-idf/issues/4991
2020-09-04 19:19:26 +00:00
Mahavir Jain
228adfa6b1 Merge branch 'feature/ota_incremental_erase_during_write' into 'master'
Feature/ota incremental erase during write

See merge request espressif/esp-idf!9726
2020-09-04 20:00:07 +08:00
David Čermák
ddd8ca6671 Merge branch 'bugfix/fix_transport_ssl_blocking' into 'master'
transport: fix transport ssl blocking

See merge request espressif/esp-idf!10120
2020-09-04 17:47:14 +08:00
Jakob Hasse
40d80b981a Fixed unity fixture for ESP32/S2
* Created compile switch for UNITY_MAIN
  since it was using exit() syscall leading to
  abort() on ESP
2020-09-04 17:37:47 +08:00