Commit Graph

16050 Commits

Author SHA1 Message Date
Angus Gratton
92ae75f955 Merge branch 'feature/support_serial_port_env_args_in_tools' into 'master'
Support port and baud env args for otatool targets

Closes IDFGH-3289

See merge request espressif/esp-idf!10812
2021-01-14 07:51:45 +08:00
Angus Gratton
401ad7f2e1 Merge branch 'bugfix/c3_retention_memory_aligned_alloc' into 'master'
heap: support aligned_alloc for retention memory on ESP32-C3

See merge request espressif/esp-idf!11974
2021-01-14 06:38:09 +08:00
Mahavir Jain
9ca00064bd Merge branch 'bugfix/send_conn_close_header' into 'master'
file_serving example: Demonstrate use of connection close header from request headers

Closes IDFGH-3874

See merge request espressif/esp-idf!11922
2021-01-13 22:59:26 +08:00
Jiang Jiang Jian
755b5d617c Merge branch 'bugfix/fix_wps_example_issue' into 'master'
example: We should not check the return value of esp_wifi_connect() in any case

See merge request espressif/esp-idf!11897
2021-01-13 22:23:27 +08:00
Shubham Kulkarni
6f91d408ab file_serving example: Demonstrate use of connection close header from request headers
Closes: https://github.com/espressif/esp-idf/issues/5775
2021-01-13 13:01:15 +00:00
daiziyan
2e3367b97e update api-guides/build-system.rst to keep EN and CN in sync 2021-01-13 19:23:30 +08:00
morris
e9c131e174 fatfs: return EINVAL if truncate length is less than 0 2021-01-13 19:11:48 +08:00
Mahavir Jain
09604d6519 Merge branch 'bugfix/softap_prov_cookies' into 'master'
protocomm_httpd: Use HTTP cookies to track session

Closes IDFGH-4487

See merge request espressif/esp-idf!11883
2021-01-13 18:10:55 +08:00
dependabot[bot]
88aa3c2463 docs: bump cairosvg from 2.4.2 to 2.5.1 in /docs
Bumps [cairosvg](https://github.com/Kozea/CairoSVG) from 2.4.2 to 2.5.1.
- [Release notes](https://github.com/Kozea/CairoSVG/releases)
- [Changelog](https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst)
- [Commits](https://github.com/Kozea/CairoSVG/compare/2.4.2...2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Closes https://github.com/espressif/esp-idf/pull/6365
2021-01-13 19:41:16 +11:00
Michael (XIAO Xufeng)
3729a33c90 Merge branch 'docs/dac_dma_esp32s2' into 'master'
docs: updates the dac part on ESP32S2.

See merge request espressif/esp-idf!11821
2021-01-13 16:03:57 +08:00
jiangguangming
47f469b238 heap: support aligned_alloc for retention memory on ESP32-C3 2021-01-13 14:41:22 +08:00
Angus Gratton
78072b32ff Merge branch 'doc/linux_libusb_dep' into 'master'
doc: Add libusb package dependencies for Linux users

Closes IDFGH-1803, IDFGH-3170, and IDFGH-2585

See merge request espressif/esp-idf!11960
2021-01-13 14:39:35 +08:00
Jiang Jiang Jian
7ef49203bd Merge branch 'bugfix/wifi_fix_no_tbtt_in_station_softap_mode_when_listen_interval_sleep' into 'master'
esp_wifi: fix the issue that no tbtt is generated in station+softap mode when maximum modem sleep is enabled

See merge request espressif/esp-idf!11658
2021-01-13 14:17:08 +08:00
Michael (XIAO Xufeng)
da2be51868 docs: updates the dac part on ESP32S2.
Closes https://github.com/espressif/esp-idf/issues/6333
2021-01-13 14:00:03 +08:00
Angus Gratton
e2910d2ff5 doc: Add libusb package dependencies for Arch, CentOS
- Arch uses 'libusb' package, provides libusb-1.0.so
- CentOS has moved to 'libusbx', which is libusb-1 API compatible

Related to https://github.com/espressif/esp-idf/issues/4095
2021-01-13 05:15:27 +00:00
mjdr
f12544a04e doc: Add libusb dependency for Ubuntu
Patch from https://github.com/espressif/esp-idf/pull/4669

Closes https://github.com/espressif/esp-idf/issues/4095
Related to https://github.com/espressif/esp-idf/issues/5181
2021-01-13 05:15:27 +00:00
Angus Gratton
f683db7aea Merge branch 'feature/c3_IDF-2554' into 'master'
global: Uses CCOUNT API instead of XTHAL macro

Closes IDF-2554

See merge request espressif/esp-idf!11954
2021-01-13 12:55:21 +08:00
Angus Gratton
820639cede Merge branch 'bugfix/c3_init_priority' into 'master'
fix[cxx/system]: init_priority ordering on RISCV

Closes IDF-2206 and IDFGH-4527

See merge request espressif/esp-idf!11660
2021-01-13 12:52:21 +08:00
Angus Gratton
9769be3fde Merge branch 'bugfix/fix_sign_compare' into 'master'
global: fix sign-compare warnings for system level components

See merge request espressif/esp-idf!11252
2021-01-13 12:45:05 +08:00
Piyush Shah
541cf16c9e protocomm security1: Restart security session if SESSION_STATE_CMD0 is received
With the introduction of cookies to track a session, it is possible that the
clients restart the provisioning on the same session, specifically when a user
cancels a current provisioning attempt. This can result in an error as the state
on the device side and client side will go out of sync.

This has now been changed such that if SESSION_STATE_CMD0 is received on
an existing session, the state is reset and flow allowed to continue.
2021-01-13 04:34:10 +00:00
Piyush Shah
72fa8d0750 protocomm_httpd: Use HTTP cookies to track session
Earlier, a "socket connection" was being considered as a protocomm "session".
However, for HTTP, we cannot expect clients to necessarily use the same
socket for all requests of a given transaction. This was indeed causing
some failures for Wi-Fi provisioning from Android phones.

So, we have introduced http cookies to track a session even if the socket
connection does not stay intact throughout the transaction.
This change is backward compatible. If the client does not use cookies, the
socket connection will be considered as the session.

Closes: https://github.com/espressif/esp-idf/issues/6316
Reference: https://github.com/espressif/esp-idf/pull/6330
2021-01-13 04:34:10 +00:00
Xia Xiaotian
50681db44c esp_wifi: fix the issue that no tbtt is generated in station+softap mode when
maximum modem sleep is enabled

    close https://github.com/espressif/esp-idf/issues/6006
2021-01-13 04:20:23 +00:00
Jiang Jiang Jian
26418edc85 Merge branch 'bugfix/IDFCI-377-tag' into 'master'
ci: Fix ci IDFCI-377

Closes IDFCI-377

See merge request espressif/esp-idf!11919
2021-01-13 11:59:16 +08:00
morris
40a6a0fac6 async_mcp: apply gdma driver 2021-01-13 10:52:27 +08:00
morris
e6d23a35ec gdma: dynamic alloc DMA channels 2021-01-13 10:52:27 +08:00
Krzysztof Budzynski
e277d8ef23 Merge branch 'bugfix/esp_sntp_header' into 'master'
docs: Add esp_sntp to API reference as it's default idf header

Closes DOC-854

See merge request espressif/esp-idf!11796
2021-01-13 10:28:39 +08:00
David Čermák
76f6dd6214 lwip: Moved default SNTP API to esp_sntp.h
and make sntp.h in port folders of lwip component obsoleted
2021-01-13 10:28:34 +08:00
David Čermák
7dcf368e1c Merge branch 'bugfix/lwip_debug_print_format' into 'master'
lw-ip: Fixed minor debug print format issue

See merge request espressif/esp-idf!11946
2021-01-13 03:01:54 +08:00
ninh
6dd6c8c3cf ci: fix IDFCI-377 2021-01-12 13:04:53 +00:00
David Čermák
5d92cdc5d9 Merge branch 'Bugfix/pppos_coonection_lost' into 'master'
Bugfix/PPPOS fix stack smashing, modify get operator and add access technology

Closes IDFGH-2262 and IDFGH-3844

See merge request espressif/esp-idf!11557
2021-01-12 20:50:55 +08:00
David Cermak
a807f8e263 lwip: Fixed minor debug print format issue
This caused some unsigned int prints out to be printed as singed integer which made the logs unreadable, for example sequence numbers in TCP packet headers
2021-01-12 11:57:49 +00:00
Krzysztof Budzynski
f45c881f82 Merge branch 'doc/add_workflow_for_updating_get-started_section_into_MR_template' into 'master'
docs: add checklist for updating get-started section into merge request template

Closes DOC-731

See merge request espressif/esp-idf!11358
2021-01-12 17:46:20 +08:00
Dai Zi Yan
d490376f37 docs: add checklist for updating get-started section into merge request template 2021-01-12 17:46:15 +08:00
KonstantinKondrashov
dada7cd035 global: Uses CCOUNT API instead of XTHAL macro 2021-01-12 16:24:23 +08:00
Michael (XIAO Xufeng)
a23b6d8ae0 Merge branch 'feature/update_touch_sensor_apis' into 'master'
driver: update touch sensor apis

See merge request espressif/esp-idf!11720
2021-01-12 15:39:42 +08:00
morris
753a929525 global: fix sign-compare warnings 2021-01-12 14:05:08 +08:00
Angus Gratton
6504d89050 Merge branch 'bugfix/newlib_FD_ISSET' into 'master'
newlib: Fix a case in FD_ISSET macro when n==-1

Closes IDF-2457

See merge request espressif/esp-idf!11794
2021-01-12 13:37:48 +08:00
Angus Gratton
de629cff0f Merge branch 'ci/ttfw_exception_details' into 'master'
ci ttfw: Consistently handle unexpected exceptions in test cases

See merge request espressif/esp-idf!11843
2021-01-12 12:02:19 +08:00
Angus Gratton
6d3e06a9a3 ttfw: Move TestCaseFailed exception and handle differently to other exceptions
But also ensure the string form of this exception is never empty, if it ends up
somewhere else.
2021-01-12 11:42:03 +11:00
Angus Gratton
441d1306be ci ttfw: Consistently handle unexpected exceptions in test cases 2021-01-12 11:42:03 +11:00
Angus Gratton
0c341fe23f Merge branch 'feature/support_esp32c3_master_cmake_random_support' into 'master'
fix: support bootloader random enable for esp32c3

Closes IDF-2305

See merge request espressif/esp-idf!11840
2021-01-12 08:21:18 +08:00
Liu Han
7f3bcc13d7 esp-modem: prefix the crash issue both bg96 and sim800l in OVERALL mode 2021-01-11 13:47:33 +00:00
Ash
935edc9e09 rename dce parameter
Merges https://github.com/espressif/esp-idf/pull/5750
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
Robert Nuttall
d59ffd9128 Expose get operator name command. Add get access tech
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
David Čermák
cee0e17b7f Merge branch 'feature/add_websocket_mutual_tls' into 'master'
websocket: support mutual tls for websocket

Closes IDFGH-4200

See merge request espressif/esp-idf!11866
2021-01-11 21:45:02 +08:00
Angus Gratton
edac64b703 Merge branch 'feature/c3_master_unit_test' into 'master'
C3: build unit tests for C3

See merge request espressif/esp-idf!11856
2021-01-11 18:11:06 +08:00
Jakob Hasse
4c0cf6bf62 gdbstub: C3 - protection for UART register region
* reading the UART peripheral registers disturbs
  gdbstub because it communicates via UART.
  Hence, we protect it.

Closes IDF-2533
2021-01-11 17:09:42 +08:00
fuzhibo
312a0ad6c1 fix: support bootloader random enable for esp32c3 2021-01-11 14:41:09 +08:00
xiehang
c260c223e9 example: We should not check the return value of esp_wifi_connect() in any case 2021-01-11 14:40:18 +08:00
Michael (XIAO Xufeng)
caf1e9d570 Merge branch 'bugfix/soc_caps_implicit_inc' into 'master'
HAL: explicitly include soc_caps.h

Closes IDFGH-4547

See merge request espressif/esp-idf!11895
2021-01-11 14:18:10 +08:00