Commit Graph

12551 Commits

Author SHA1 Message Date
Zim Kalinowski
f29d873c54 Merge branch 'feature/linenoise_improvement' into 'master'
console: re-use the available REPL console API and improve linenoise

Closes IDFGH-5296

See merge request espressif/esp-idf!13897
2021-07-15 03:37:19 +00:00
Omar Chebib
0fd74a43c8 console: re-use the available REPL console API and improve linenoise
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.

Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
Shu Chen
3badc7b70f Merge branch 'feature/support_154_thread_on_esp32h2' into 'master'
esp32h2: enable IEEE 802.15.4 and Thread

See merge request espressif/esp-idf!14315
2021-07-15 02:18:11 +00:00
Hrishikesh Dhayagude
48058343fd Merge branch 'feature/protocomm_mfg_data' into 'master'
Provisioning BLE: Add API to set manufacturer data in advertisement (scan response) packets

See merge request espressif/esp-idf!14147
2021-07-14 11:22:15 +00:00
Shu Chen
8e56ecc656 openthread: enable ot_cli on esp32h2 2021-07-14 19:15:24 +08:00
Shu Chen
bdaeeb3169 ieee802154: add IEEE 802.15.4 component 2021-07-14 19:14:30 +08:00
Mahavir Jain
5270d8216b Merge branch 'bugfix/fix_timer_delete_crash' into 'master'
Nimble: Add fix for crash in esp_timer deletion

Closes IDFCI-731

See merge request espressif/esp-idf!14316
2021-07-14 10:07:16 +00:00
Ivan Grokhotkov
aa404750c3 Merge branch 'bugfix/spi_flash_ubsan_fail' into 'master'
hal: spi_flash: avoid calling memcpy with NULL buffer

Closes IDFCI-737

See merge request espressif/esp-idf!14323
2021-07-14 09:30:41 +00:00
Angus Gratton
6f0b36f7be Merge branch 'doc/flash_manual_encrypt' into 'master'
docs: Add manual encryption docs, fix flash encryption efuse bug

Closes IDFGH-3006

See merge request espressif/esp-idf!14178
2021-07-14 09:27:34 +00:00
Marius Vikhammer
19b3d2acb8 Merge branch 'bugfix/psram_fix_bootloader' into 'master'
bootloader: disable psram cache bug fix for bootloader

Closes FCS-438 and IDF-3132

See merge request espressif/esp-idf!13299
2021-07-14 09:22:30 +00:00
Angus Gratton
fcd193b024 docs: Use soc_caps instead of chip names for flash encryption docs
Clears the way for ESP32-S3 and future chips.
2021-07-14 16:57:31 +10:00
Prasad Alatkar
c8f4153d4f Provisioning BLE: Add API to set manufacturer data in scan response
- Add `wifi_prov_scheme_ble_set_mfg_data` API to set custom manufacturer data
  in BLE advertisements.
- Run format.sh script on modified files.
- Fix few typos in `protocomm_nimble.c`.

- Incorporate suggestion to remove extra check on protocomm_ble_mfg_data_len

- Remove few unnecessary comments.
2021-07-14 11:56:04 +05:30
morris
44c175649a Merge branch 'refactor/replace_wrapped_LOGD_with_macro' into 'master'
uart,i2c: deprecate and replace wrapped xxx_CHECK with macro ESP_RETURN_ON_FALSE

See merge request espressif/esp-idf!14297
2021-07-14 05:55:13 +00:00
Mahavir Jain
3365a7b21d Merge branch 'feature/secure_boot_key_check_before_revoke' into 'master'
Check if the running app is signed by a valid key before revocation

See merge request espressif/esp-idf!13034
2021-07-13 13:06:27 +00:00
Angus Gratton
cb71466daa Merge branch 'doc/bootloader_customization' into 'master'
docs: Expand bootloader section

Closes IDF-313 and IDFGH-4810

See merge request espressif/esp-idf!5660
2021-07-13 09:57:43 +00:00
Marius Vikhammer
05bb4a5d89 bootloader: disable psram cache bug fix for bootloader
The psram cache bug fix was also being applied to the bootloader binary (for cmake),
which doesnt do any psram access.

Applying this fix would increase the binary size, as much as 300 bytes in worst case scenarios
2021-07-13 16:28:22 +08:00
Rahul Tank
d0ad0d6139 system : Add defination of ESP_ERROR_CHECK_WITHOUT_ABORT under CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT flag 2021-07-13 16:20:49 +08:00
Rahul Tank
e81facd3e8 Nimble: Add fix for crash in esp_timer deletion
Added change in nimble submodule to handle crash in case of non-started
timer is attempted to be deleted.
2021-07-13 16:20:49 +08:00
Mahavir Jain
4c41a5bbd0 Merge branch 'feature/upgrade_mbedtls_to_v2.16.11' into 'master'
mbedtls: upgrade to release v2.16.11

Closes IDF-3429

See merge request espressif/esp-idf!14294
2021-07-13 08:12:46 +00:00
Supreet Deshpande
92754bd47e Check if the running app is signed by a valid key before revocation 2021-07-13 13:38:12 +05:30
Mahavir Jain
76bd33e9a4 Merge branch 'cert/skipping_keyelements_validation' into 'master'
MbedTLS: Add config option for key elements and key element extension for SSL connection

See merge request espressif/esp-idf!12898
2021-07-13 07:55:49 +00:00
Zim Kalinowski
34c16dba93 Merge branch 'bugfix/core_dump_image_erase_with_encryption' into 'master'
Fix a bug in `core_dump_image_erase` when flash encryption is enabled

Closes IDFGH-5173

See merge request espressif/esp-idf!14060
2021-07-13 07:34:00 +00:00
Angus Gratton
072232a934 docs: Expand bootloader section
- Cover customization options
- Cross-link to the "general notes" section which explains the low-level details

Closes IDF-313
2021-07-13 17:33:53 +10:00
morris
3e2d98500f Merge branch 'refactor/common_rom_rtc_apis' into 'master'
soc: define reset reasons in soc component

Closes IDF-1993

See merge request espressif/esp-idf!9829
2021-07-13 07:05:25 +00:00
Angus Gratton
d7d28786b2 Merge branch 'bugfix/secure_boot_sig_verify' into 'master'
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification

See merge request espressif/esp-idf!14300
2021-07-13 06:48:25 +00:00
Angus Gratton
4fe4df8770 Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
bootloader: Add configurable pin level for factory reset (PR)

Closes IDFGH-5337

See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
Mahavir Jain
ea3c901874 mbedtls: fix crt_bundle test to ensure proper server start event
This fixes occasional test failure that was observed due to
client task getting started before server was up.
2021-07-13 13:20:16 +08:00
Mahavir Jain
3be3d5fff2 mbedtls: upgrade to release v2.16.11
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-13 13:20:16 +08:00
Angus Gratton
36815fa1bf soc: Add SOC_EFUSE_SUPPORT_XTS_AES_256_KEYS flags for esp32s2,s3
Fixes regression in f339b3fc96
2021-07-13 14:24:03 +10:00
morris
1560d6f1ba soc: add reset reasons in soc component 2021-07-13 10:45:38 +08:00
morris
8887897f54 Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr' into 'master'
driver/timer: fixed auto reload problem in default isr callback

Closes IDFGH-5229

See merge request espressif/esp-idf!13528
2021-07-09 10:18:18 +00:00
Ivan Grokhotkov
1d44e40fb1 hal: spi_flash: avoid calling memcpy with NULL buffer
In practice, calling memcpy with NULL buffer and 0 size works on the
ESP32, but the C standard considers this an undefined behavior.
When building with UBSAN checks enabled, compiler will insert a check
that memcpy argument is non-NULL, regardless of the size argument.

This caused a failure in tools/test_apps/system/panic, which is built
with USBAN enabled for several components.
2021-07-09 11:24:25 +02:00
Mahavir Jain
d838a11d78 Merge branch 'bugfix/fix_ws_handle_big_messages_error' into 'master'
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.

Closes IDFGH-5463

See merge request espressif/esp-idf!14224
2021-07-09 07:53:12 +00:00
SalimTerryLi
f545adbceb
i2c.c, uart.c: replace xxx_CHECK with ESP_RETURN_ON_FALSE 2021-07-09 15:13:34 +08:00
Marius Vikhammer
70fd8529e9 Merge branch 'bugfix/s3_soc_update' into 'master'
soc: update S3 memory layout

See merge request espressif/esp-idf!14258
2021-07-09 06:13:22 +00:00
Angus Gratton
c2c0e4de3b Merge branch 'feature/s3_wdt_bringup' into 'master'
TIMG and WDT bringup for S3

Closes IDF-1881, IDF-3229, IDF-3301, and IDF-3274

See merge request espressif/esp-idf!13957
2021-07-09 04:43:41 +00:00
Marius Vikhammer
5d184dcfe0 soc: update S3 memory layout 2021-07-09 12:29:56 +08:00
Michael (XIAO Xufeng)
a85f5b797e Merge branch 'ci/flash_performance_no_check_EXT_WR_4B' into 'master'
ci: stop checking FLASH_SPEED_BYTE_PER_SEC_EXT_WR_4B performance

See merge request espressif/esp-idf!14247
2021-07-09 02:39:21 +00:00
Omar Chebib
9340cb4c1a Merge branch 'feature/override_bootloader' into 'master'
bootloader: override the 2nd stage bootloader

Closes IDF-2946 and IDFGH-5279

See merge request espressif/esp-idf!13178
2021-07-09 02:25:24 +00:00
Ondrej Kosta
a6db3a5e77 esp_eth: Change clock mode setting
RMII clock mode is made to be run-time configurable.

Closes https://github.com/espressif/esp-idf/issues/6564
Closes https://github.com/espressif/esp-idf/issues/7107
2021-07-08 14:27:31 +02:00
Angus Gratton
e3ca61a200 secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
Increase the test app optimization level to one that would find this issue.
2021-07-08 19:17:04 +10:00
Shu Chen
d93887f9f0 Merge branch 'feature/openthread-lib' into 'master'
openthread: provide prebuilt libopenthread libraries

See merge request espressif/esp-idf!14177
2021-07-08 09:15:33 +00:00
morris
90f05c42b2 Merge branch 'bugfix/fix_i2c_master_write_bug' into 'master'
i2c: application can now call `i2c_master_write` for sending a single byte

Closes IDF-3518 和 IDFCI-741

See merge request espressif/esp-idf!14273
2021-07-08 06:32:39 +00:00
morris
3b821b8ac3 Merge branch 'bugfix/rotary_encoder_example_main' into 'master'
bugfix: rotary encoder example isr service install

Closes IDFGH-5105

See merge request espressif/esp-idf!14114
2021-07-08 04:25:30 +00:00
Kapil Gupta
38d6772507 mbedtls: Add config option key element and key element ext 2021-07-08 09:23:22 +05:30
morris
8694cb7fdf Merge branch 'bugfix/missing_include_in_rtc_clk' into 'master'
rtc: Add missing esp_rom_sys.h header in rtc clk

See merge request espressif/esp-idf!14221
2021-07-08 02:38:42 +00:00
Chen Jian Xing
65efad0122 Merge branch 'bugfix/fix_connect_fail_cause_by_sleep' into 'master'
Fix connection failure caused by sleep

Closes WIFI-3710

See merge request espressif/esp-idf!14271
2021-07-07 15:13:17 +00:00
David Čermák
cd47ba03bc Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
mdns: Clean the main mdns module from lwip dependencies

See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
Jiacheng Guo
0050248918 openthread: provide prebuilt libopenthread libraries 2021-07-07 15:27:47 +08:00
Jakob Hasse
cdcf88272b Merge branch 'bugfix/exclude_spi_flash_deadlock_test_on_s3_completely' into 'master'
[spi_flash]: temporary disable deadlock test for all targets

See merge request espressif/esp-idf!14248
2021-07-07 05:12:18 +00:00