Commit Graph

10751 Commits

Author SHA1 Message Date
Marius Vikhammer
4af99be229 cxx: re-enable cxx init_priority unit test for C3 2021-01-14 04:06:06 +00:00
Angus Gratton
a0eab085ad Merge branch 'bugfix/return_EINVAL_if_truncate_length_minus_zero' into 'master'
fatfs: return EINVAL if truncate length is less than 0

Closes IDFCI-390

See merge request espressif/esp-idf!11980
2021-01-14 12:03:14 +08:00
Michael (XIAO Xufeng)
2d3f22918f Merge branch 'feature/gdma_channel_allocator' into 'master'
gdma channel allocator

Closes IDF-2124

See merge request espressif/esp-idf!11570
2021-01-14 10:52:49 +08:00
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
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
jiangguangming
47f469b238 heap: support aligned_alloc for retention memory on ESP32-C3 2021-01-13 14:41:22 +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
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
ninh
6dd6c8c3cf ci: fix IDFCI-377 2021-01-12 13:04:53 +00: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
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
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
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
fuzhibo
312a0ad6c1 fix: support bootloader random enable for esp32c3 2021-01-11 14:41:09 +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
Michael (XIAO Xufeng)
87db7e1705 Merge branch 'bugfix/flash_consistent_with_rom' into 'master'
spi_flash: IDF repo stuff needs to be consistent with that in rom

See merge request espressif/esp-idf!11929
2021-01-11 14:14:53 +08:00
Marius Vikhammer
9c8e4fd4c5 C3: build and run unit tests
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors

Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Aditya Patwardhan
0841d2bc75 esp_tls: Add warning if the CA chain provided contains one/more invalid
cert
2021-01-11 03:20:35 +00:00
Ivan Grokhotkov
66ac736a8c Merge branch 'bugfix/tusb_partial_read' into 'master'
usb: Add fix for tinyusb reading

Closes IDF-2029 and IDFGH-4465

See merge request espressif/esp-idf!10069
2021-01-11 00:07:29 +08:00
Jiang Jiang Jian
a42b0c8f06 Merge branch 'feature/support_esp32c3_wifi_master' into 'master'
Feature/support esp32c3 wifi master

See merge request espressif/esp-idf!11780
2021-01-10 16:16:29 +08:00
Chen Jian Xing
5b44295cb9 esp_wifi: fix esp32c3 code issues
1. enable wifi clk and rm dport header
2.syn phy_init_data.h from esp32
2021-01-10 16:16:28 +08:00
yuanjm
5ab774f9d8 websocket: support mutual tls for websocket
Closes https://github.com/espressif/esp-idf/issues/6059
2021-01-08 19:13:37 +00:00
David Cermak
9ffa9cce73 lwip: Add warning to use ESP_IDF_LWIP_HOOK_FILENAME if LWIP_HOOK_FILENAME defined 2021-01-08 14:28:21 +00:00
David Cermak
5993a49352 lwip: Add IDF hook filename to customize lwip hooks
LWIP_HOOK_FILENAME is used in IDF to define standard and default hooks for IDF port in LWIP.
Added ESP_IDF_LWIP_HOOK_FILENAME to customize additional hooks in lwip

Closes https://github.com/espressif/esp-idf/issues/6261
2021-01-08 14:28:21 +00:00
Andrei Gramakov
1d1896d409 tinyusb: Add fix for tinyusb reading
Closes IDF-2029
2021-01-08 14:21:26 +00:00
Ivan Grokhotkov
b53e8de443 Merge branch 'bugfix/tinyusb_vendor_msc' into 'master'
tinyusb: Fix Mass Storage and Vendor Class builds

See merge request espressif/esp-idf!11443
2021-01-08 21:34:34 +08:00
Cao Sen Miao
228a819a42 spi_flash: idf repo stuff tobe consistent with that in rom 2021-01-08 18:36:23 +08:00
Angus Gratton
c535d569aa Merge branch 'bugfix/secure_boot_sig_failed_crash' into 'master'
secure boot: Fix crash if signature verification fails in app

Closes IDFGH-4376

See merge request espressif/esp-idf!11846
2021-01-08 16:23:29 +08:00
Angus Gratton
7069736c2a Merge branch 'feature/bootloader_uses_efuse_keys_api' into 'master'
bootloader: Add using of efuse APIs for keys, purposes, wr/rd-protection bits

See merge request espressif/esp-idf!11110
2021-01-08 11:29:50 +08:00
Konstantin Kondrashov
fbba2cb356 bootloader/esp32s2: Add using of efuse APIs for keys, purposes, wr/rd-protection bits for flash encryption, secure boot 2021-01-08 11:29:46 +08:00
lly
d0901c81f8 ble_mesh: stack: Fix using wrong | for OR between macros 2021-01-07 19:17:45 +08:00
Mahavir Jain
fee77509a9 Merge branch 'feature/update_cjson_to_v1.7.14' into 'master'
cJSON: update to v1.7.14 release

Closes IDFGH-4532

See merge request espressif/esp-idf!11892
2021-01-07 18:47:46 +08:00
David Čermák
40400a4d51 Merge branch 'bugfix/add_cert_for_eth_download_test' into 'master'
eth: added cert for download test

Closes IDFCI-70

See merge request espressif/esp-idf!11898
2021-01-07 16:52:32 +08:00
Jakob Hasse
ed42758549 [cxx/system]: fix init_priority ordering on RISCV
* C++ init_priority attributes work now on RISCV
* Add debug output for init_array functions

Closes IDF-2206
Closes https://github.com/espressif/esp-idf/issues/6351
2021-01-07 16:04:17 +08:00