Commit Graph

17142 Commits

Author SHA1 Message Date
Angus Gratton
32ea7dc812 Merge branch 'feature/bootloader_disable_logs_unnecessary_warnings' into 'master'
bootloader: Disables unnecessary warning logs when invalid magic byte

Closes IDF-1900

See merge request espressif/esp-idf!12514
2021-03-09 06:28:46 +00:00
baohongde
33df1358ef Fix issues during light sleep and DFS 2021-03-09 13:49:59 +08:00
Anton Maklakov
45b42a4994 Merge branch 'bugfix/ci_cmake_test_commit_id' into 'master'
CI: Use temporary git configs in the tests

See merge request espressif/esp-idf!12638
2021-03-09 03:13:51 +00:00
Marius Vikhammer
fe71a8e340 aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
Removed the old dynamically allocated GDMA channel approach.
It proved too unreliable as we couldn't not ensure consumers of the mbedtls
would properly free the channels after use.

Replaced by a single shared GDMA channel for AES and SHA, which won't be
released unless user specifically calls API for releasing it.
2021-03-09 09:23:05 +08:00
Angus Gratton
1fa1474eec Merge branch 'doc/embed_example' into 'master'
doc: Update the link to an example that embeds a file

See merge request espressif/esp-idf!12400
2021-03-09 00:06:43 +00:00
Angus Gratton
d6112c12b7 Merge branch 'bugfix/extern_c_decl' into 'master'
[cxx]: bugfixed extern c decl

See merge request espressif/esp-idf!12554
2021-03-09 00:01:56 +00:00
daiziyan
123e540b2f update CN translation based on reviewers' comments 2021-03-09 10:28:52 +11:00
daiziyan
8c7fd31984 api-guides: update CN translation for build-system and build-system-legacy,and fix line break in the EN version 2021-03-09 10:28:52 +11:00
Angus Gratton
738b07fe63 doc: Update the link to an example that embeds a file
Since we have the CA Certificate Store feature, https_request no longer needs to
embed any certs.
2021-03-09 10:28:52 +11:00
0xFEEDC0DE64
6928db7670 Allow selection of different core for main task
Closes https://github.com/espressif/esp-idf/pull/6627
2021-03-09 10:13:28 +11:00
Gustavo Henrique Nihei
68b66aeee9 docs: Fix typo in ESP32-WROVER-KIT documentation 2021-03-08 14:41:20 -03:00
Ivan Grokhotkov
dadce650c9 Merge branch 'bugxif/fix-export-autocomplete-zsh' into 'master'
export.sh: Fix error when `ZSH_VERSION` is unset.

Closes IDFGH-4784

See merge request espressif/esp-idf!12545
2021-03-08 15:21:50 +00:00
ronghulin
1982f4a2fb esp_wifi: fix some wifi bugs
1.Fixed issue with hidden AP scans after connecting AP.
2.Fix watchdog issue when receiving action frame.

Closes https://github.com/espressif/esp-idf/issues/6626
2021-03-08 21:02:47 +08:00
Seon Rozenblum
dd2a8e330b Added missing ESP32-S3 target for /rom/gpio.h include
I know this is being depreciated in 5, but we need it working for S3 in 4.x :)

Closes https://github.com/espressif/esp-idf/pull/6666
2021-03-08 17:54:16 +08:00
Mahavir Jain
907ea44ee9 Merge branch 'feature/http_server_optimizations' into 'master'
esp_http_server optimisations

Closes IDFGH-4484 and IDFGH-4741

See merge request espressif/esp-idf!12240
2021-03-08 09:01:20 +00:00
Island
ddea60c5ad Merge branch 'bugfix/kconfig_rename' into 'master'
Bugfix/kconfig rename

See merge request espressif/esp-idf!12588
2021-03-08 08:53:30 +00:00
Martin Gaňo
16731833fb add default value for unset env variables
Closes IDFGH-4784
2021-03-08 09:18:34 +01:00
Markus Reiter
d20a5c39da Fix error when ZSH_VERSION is unset.
Merges https://github.com/espressif/esp-idf/pull/6587
2021-03-08 09:18:34 +01:00
Angus Gratton
f7d7954bf4 Merge branch 'bugfix/dport_init_min_stack_size' into 'master'
freertos: Increase minimum task stack size when stack smashing checker is enabled

Closes IDFGH-4586 and IDFCI-482

See merge request espressif/esp-idf!12369
2021-03-08 07:33:47 +00:00
Jiang Jiang Jian
ffe5e45c77 Merge branch 'bugfix/btdm_controller_task_watchdog_in_wifi_test' into 'master'
Fix controller task watchdog in Wi-Fi test

Closes WIFI-3391

See merge request espressif/esp-idf!12628
2021-03-08 07:02:16 +00:00
Jakob Hasse
d52a21de5c Random NVS fixes
* Checking Lock::init() now
* fixed typos in nvs_flash.h
* Added missing parameter checks in nvs encryption
  function

* Closes IDF-1462
* Closes IDF-2900
2021-03-08 14:41:53 +08:00
William Ferguson
13bc5feb0a [cxx]: fixed extern "C" declarations
* Moving #includes above
  #ifdef __cplusplus extern "C" { #endif
  So that we can compile with CPP.

Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6634
2021-03-08 14:11:33 +08:00
Fu Hanxi
04357aa66e ci: add label only build tests for maintainers to control the flow 2021-03-08 10:12:22 +08:00
Jiang Jiang Jian
e895e50098 Merge branch 'bugfix/fix_wifi_storage_flash_or_ram_issue' into 'master'
bugfix: fix wifi NVS issue

Closes WIFI-2175 and WIFI-2314

See merge request espressif/esp-idf!9021
2021-03-05 12:13:07 +00:00
Jiang Jiang Jian
b88a156ce5 Merge branch 'bugfix/btdm_crash_when_esp_restart' into 'master'
components/bt: Fix crash in Bluetooth when esp_restart

See merge request espressif/esp-idf!12566
2021-03-05 11:53:03 +00:00
Roland Dobai
464b3d814e CI: Use temporary git configs in the tests 2021-03-05 11:54:11 +01:00
Renz Bagaporo
acd2385d0e ldgen: parenthesis for KEEP 2021-03-05 18:09:19 +08:00
Renz Bagaporo
69906ed5f2 ldgen: rename key-value grammar class 2021-03-05 17:48:47 +08:00
ronghulin
338944d981 Updated wifi lib:
1. Fix the issue that the parameters obtained from RAM cannot be saved to NVS
2. Modify not to store the default value in NVS

Closes https://github.com/espressif/esp-idf/issues/5129
Closes https://github.com/espressif/esp-idf/issues/5214
2021-03-05 14:47:14 +08:00
baohongde
df146f5cd9 Fix controller task watchdog in Wi-Fi test 2021-03-05 11:25:03 +08:00
Michael (XIAO Xufeng)
a3f5cf2c71 Merge branch 'bugfix/touch_element_callback_para' into 'master'
touch_element: fix event callback parameter type, change it into pointer

See merge request espressif/esp-idf!12600
2021-03-05 02:28:04 +00:00
Fu Hanxi
8ce9e17718 Merge branch 'ci/remove_commit_trigger_and_wip_restriction' into 'master'
CI: remove commit trigger and wip restriction

See merge request espressif/esp-idf!12580
2021-03-05 02:27:03 +00:00
Angus Gratton
70e13752ae Merge branch 'feature/rtc_time_get' into 'master'
rtc: Clean up for S2,S3,C3

Closes IDF-2569

See merge request espressif/esp-idf!12336
2021-03-05 01:16:15 +00:00
Michael (XIAO Xufeng)
ffa93ed9ec Merge branch 'bugfix/simple_ota_example_test' into 'master'
ota: fix ota with flash encryption

Closes IDFGH-4740, IDFCI-442, and IDFCI-448

See merge request espressif/esp-idf!12412
2021-03-04 09:45:58 +00:00
Ivan Grokhotkov
cc209d0098 Merge branch 'ci/run_testss_with_custom_oocd' into 'master'
CI target tests with custom OpenOCD distro

See merge request espressif/esp-idf!12062
2021-03-04 09:44:39 +00:00
David Cermak
7a020ea16f examples: Document OTA examples with openssl on windows tips/issues 2021-03-04 08:05:25 +01:00
David Cermak
79d596bcdc docs/ota: Allow example_test.py to run a custom https-server 2021-03-04 08:05:16 +01:00
Jiacheng Guo
b14830c5c0 vfs: use sys/dirent.h from newlib
The dirent.h shipped with the risc-v compiler lacks `extern "C"`
declartion and causes linkage declartion conflict when included in C++
files. Use the dirent.h from newlib only to avoid this issue.
2021-03-04 14:58:43 +08:00
Angus Gratton
ef0bbc5baa freertos: Add a small additional stack when optimization set to None
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-03-04 17:57:55 +11:00
Angus Gratton
9c73b80ee0 freertos: Increase minimum task stack size when stack smashing checker is enabled
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.

Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.

Closes https://github.com/espressif/esp-idf/issues/6403
2021-03-04 17:44:36 +11:00
KonstantinKondrashov
b7155a161b otatool: Fixes read_ota_partition cmd, required output arg
Closes: https://github.com/espressif/esp-idf/issues/6559
2021-03-04 06:02:54 +00:00
Mahavir Jain
2bddd67b7d Merge branch 'bugfix/http_server_client_list' into 'master'
httpd_server bugfix

See merge request espressif/esp-idf!12553
2021-03-04 04:18:30 +00:00
mjcross
03901946ba Explain how to fix 'httpd_parse: header too long'
Because this is the 'simple' server example, it is probably where users will start out to understand the HTTP Server API; and also where they might come if they are having problems.
So I think it is useful to explain to users what to do if they see "httpd_parse: parse_block: request URI/header too long", which can easily happen if they submit a POST from an HTML form (for example). That certainly would have helped me!

Merges https://github.com/espressif/esp-idf/pull/6547

Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-04 04:08:47 +00:00
Shubham Kulkarni
6a7587d35f esp_http_server: Run format.sh script to fix code style issues 2021-03-04 04:08:47 +00:00
Jermolinski
282726b619 The httpd_sess_* functions have been re-designed to speed up the httpd server
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>

Merges: https://github.com/espressif/esp-idf/pull/6313
2021-03-04 04:08:47 +00:00
Michael (XIAO Xufeng)
e9ecc4a0af Merge branch 'bugfix/esp32s3_flash_read_write' into 'master'
spi_flash: modify nvs reading writing issue on esp32s3

Closes WIFI-3438 and IDF-2866

See merge request espressif/esp-idf!12604
2021-03-04 03:53:35 +00:00
Jiang Jiang Jian
52720c724f Merge branch 'bugfix/fix_l2cap_repeat_cid' into 'master'
Bugfix/Fix L2CAP Repeat Cid

Closes BT-1411, BT-1409, and BT-1410

See merge request espressif/esp-idf!12342
2021-03-04 03:36:31 +00:00
Jiang Jiang Jian
6677cd5498 Merge branch 'component_bt/optimize_spp_stop_server' into 'master'
component_bt/Optimize SPP Stop Server API

Closes BT-960

See merge request espressif/esp-idf!11124
2021-03-04 03:34:44 +00:00
Martin Valik
f221b1655d httpd: remove redundant condition from get_client_list()
Premature return from httpd_uri() was also removed to call uri handler after establishing websocket.
2021-03-04 03:23:57 +00:00
Roland Dobai
bccb5be82f tools: Remove unnecessary warning generated during documentation generation 2021-03-03 19:12:03 +01:00