Roland Dobai
8a60e69c24
Merge branch 'bugfix/create_dir_idf_env_v4.4' into 'release/v4.4'
...
tools: Create the ".espressif" directory on the first run on clean system (v4.4)
See merge request espressif/esp-idf!15855
2021-11-09 13:40:56 +00:00
Jan Procházka
683da6b46d
fatfs: Implementation of disk_status nad disk_initialize for SD/MMC card
...
FATFS provides a disk status and disk initialize callback which were not
implemented. Implementation has very low impact on SD/MMC speed and
fixes issues, when trying to open file when SD card was removed from
slot and not deinited.
If disk_status returns STA_NOINIT, it will always continue with
disk_initialize. If that returns 0, it will continue like everything is
working normally. So there has to be the same check as in disk_status.
Return of disk_initialize is always checked like this for STA_NOINIT or
STA_PROTECT so if command fails, we return the STA_NOINIT.
stat = disk_initialize(pdrv);
if (stat & STA_NOINIT) return FR_NOT_READY;
if (stat & STA_PROTECT) return FR_WRITE_PROTECTED;
Closes IDF-4125
2021-11-09 20:17:03 +08:00
Mahavir Jain
d9429ca7bc
Merge branch 'add_agressive_revoke_v4.4' into 'release/v4.4'
...
secure_boot: Added Kconfig option for aggressive key revoke (v4.4)
See merge request espressif/esp-idf!15850
2021-11-09 11:15:07 +00:00
Roland Dobai
2cdf90f810
tools: Create the ".espressif" directory on the first run on clean system
...
Closes https://github.com/espressif/esp-idf/issues/7848
2021-11-09 12:02:50 +01:00
Sachin Parekh
2f39639c20
secure_boot: Do not allow key revocation in bootloader
2021-11-09 15:19:47 +05:30
Sachin Parekh
7fe2a4815d
secure_boot: Added Kconfig option for aggressive key revoke
...
Applicable to S2, C3, and S3
2021-11-09 15:19:47 +05:30
jingli
07b1b45ad6
fix: app crash when OTA because the OTA task's stack is in rtc fast memory
2021-11-09 17:10:20 +08:00
Wang Meng Yang
5e4d166323
Merge branch 'bugfix/fix_crash_when_shutdown_bt_v4.4' into 'release/v4.4'
...
component/bt: fix crash when shutdown bt(backport v4.4)
See merge request espressif/esp-idf!15708
2021-11-09 08:06:24 +00:00
Wang Meng Yang
5c6a8711ad
Merge branch 'bugfix/hfp_demo_audio_not_sine_v4.4' into 'release/v4.4'
...
fix hfp_ag demo audio not sine_v4.4
See merge request espressif/esp-idf!15749
2021-11-09 03:02:15 +00:00
Ivan Grokhotkov
864605785b
Merge branch 'feature/rw_lock_cond_var_4.4' into 'release/v4.4'
...
pthread: reader-writer locks implementation (backport 4.4)
See merge request espressif/esp-idf!15830
2021-11-08 13:31:16 +00:00
morris
832865629c
Merge branch 'feature/github-7661_v4.4' into 'release/v4.4'
...
mck pin not defined in i2s examples (v4.4)
See merge request espressif/esp-idf!15836
2021-11-08 13:23:59 +00:00
Arnaud-Oechslin
7195af2d7d
i2s: add mck pin definition in the example
...
If the mck pin is not set to GPIO 0,1,3 or -1 the whole pin configuration fails. This fix corrects that.
Merges https://github.com/espressif/esp-idf/pull/7661
2021-11-08 17:33:18 +08:00
Kevin (Lao Kaiyao)
1433f5337f
Merge branch 'bugfix/i2s_ws_polarity_in_tdm_v4.4' into 'release/v4.4'
...
i2s: fix ws signal polarity in tdm mode (v4.4)
See merge request espressif/esp-idf!15820
2021-11-08 09:30:14 +00:00
Wei Tian Hua
397e148049
Merge branch 'doc/make_classic_bt_API_ref_only_for_esp32_4.4' into 'release/v4.4'
...
Doc/make classic bt api ref only for esp32 [backport v4.4]
See merge request espressif/esp-idf!15727
2021-11-08 09:14:24 +00:00
Jakob Hasse
bbe2a1bf34
Merge branch 'feature/add_flash_psram_config_guide_v4.4' into 'release/v4.4'
...
doc: add flash and psram configuration guide on esp32s3 (4.4)
See merge request espressif/esp-idf!15811
2021-11-08 08:32:36 +00:00
KonstantinKondrashov
4d0e72dc5f
efuse example: Fix pre-load SB test for S2, C3 (erase revoke bits)
2021-11-08 12:48:12 +08:00
Mahavir Jain
4ac351247d
secure_boot_v2: fix issue in pre-flashed digest (manual) workflow
...
This commit fixes issue where empty (unprogrammed) digest slot out of
multiple supported (e.g. 3 for ESP32-C3) could cause issue in
workflow enablement process.
Notes:
1. This issue was applicable for chips supporting "secure-boot-v2"
scheme with multiple digests slots
2. This issue was affecting only manual workflow, where digest of
public was pre-flashed in efuse
3. Change in "flash_encrypt.c" is only for additional safety purpose
2021-11-08 12:48:12 +08:00
Armando
cc8214c59d
doc: add flash and psram configuration doc in programming guide
2021-11-08 04:32:18 +00:00
morris
56aa8b6cb3
Merge branch 'bugfix/KSZ8851SNL_enable_multicast_v4.4' into 'release/v4.4'
...
esp_eth: KSZ8851SNL, enable Rx multicast in MAC filter (v4.4)
See merge request espressif/esp-idf!15823
2021-11-08 03:44:15 +00:00
xiewenxiang
7a6a61feef
component/bt: fix crash when shutdown bt(backport v4.4)
2021-11-08 10:55:12 +08:00
Jakob Hasse
b117bcd2a0
feat (pthread): reader-writer locks implementation
...
* Added implementation based on cond. variables
* Added unit tests
Closes https://github.com/espressif/esp-idf/issues/7411
2021-11-08 10:21:37 +08:00
Roland Dobai
cd97e95a12
Merge branch 'bugfix/archive_details_always_run_like_diff_v4.4' into 'release/v4.4'
...
tools: fix bug with idf_size argument archive_details (v4.4)
See merge request espressif/esp-idf!15774
2021-11-05 15:38:38 +00:00
Ondrej Kosta
43b62a5b62
Copyright message fix for 'Increased LAN8720 ETH-PHY reset assertion time'
2021-11-05 11:39:04 +01:00
Frank Sautter
5f9ae3510a
Increased LAN8720 ETH-PHY reset assertion time (IDFGH-6018)
...
Increase reset assertion time from 100µs (as specified minimum in the datasheet) to 150µs.
Some specimen of the LAN8720 need the reset signal asserted longer than 100µs to initialise properly. Otherwise they are in a zombie state where they are establishing and loosing an Ethernet link once in a seconds interval.
2021-11-05 11:35:35 +01:00
Ondrej Kosta
484d5c8491
esp_eth: KSZ8851SNL, enable Rx multicast in MAC filter
...
Closes https://github.com/espressif/esp-idf/issues/7750
2021-11-05 11:23:14 +01:00
laokaiyao
f7f9683ef1
i2s: fix ws signal polarity in tdm mode
2021-11-05 11:35:02 +08:00
liulinyan
b298795e37
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v4.4)
See merge request espressif/esp-idf!15815
2021-11-05 03:16:51 +00:00
Island
b1102bb581
Merge branch 'bugfix/ble_mesh_host_init_v4.4' into 'release/v4.4'
...
ble_mesh: nimble: return error if init host twice (v4.4)
See merge request espressif/esp-idf!15816
2021-11-05 03:14:57 +00:00
Jakob Hasse
fd89e8dae4
Merge branch 'docs/update_mock_doc_v4.4' into 'release/v4.4'
...
DOCs: Update mocking documentation (backport v4.4)
See merge request espressif/esp-idf!15809
2021-11-05 02:25:00 +00:00
lly
461ffffd77
ble_mesh: nimble: return error if init host twice
2021-11-04 20:31:57 +08:00
lly
c255c6a6f8
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-04 20:29:38 +08:00
Island
dc20c1fd41
Merge branch 'bugfix/ble_mesh_update_license_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Update license of esp specific files (v4.4)
See merge request espressif/esp-idf!15765
2021-11-04 12:12:05 +00:00
Darian
423b6697ac
Merge branch 'bugfix/freertos_prvTaskIsTaskSuspended_v4.4' into 'release/v4.4'
...
freertos: Fix prvTaskIsTaskSuspended check (v4.4)
See merge request espressif/esp-idf!15612
2021-11-04 10:26:54 +00:00
Anton Maklakov
7c4c5b51de
Merge branch 'ci/enable_s3_example_test_v4.4' into 'release/v4.4'
...
ci: run example test for c3 as well (v4.4)
See merge request espressif/esp-idf!15810
2021-11-04 05:00:42 +00:00
Fu Hanxi
295387167c
ci: run example test for c3 as well
2021-11-04 12:12:12 +08:00
Jakob Hasse
40e0d733c2
docs: Update mocking documentation
2021-11-04 11:49:35 +08:00
Darian
9fae314f50
Merge branch 'feature/freertos_static_allocation_task_memory_callbacks_v4.4' into 'release/v4.4'
...
freertos: Add memory hooks for static IDLE and Timer tasks (v4.4)
See merge request espressif/esp-idf!15614
2021-11-03 11:20:10 +00:00
lly
c1df3636b7
ble_mesh: stack: Update license of esp specific files
2021-11-03 14:22:31 +08:00
liulinyan
226f49f37d
Merge branch 'bugfix/heartbeat_filter_with_acceptlist_v4.4' into 'release/v4.4'
...
ble_mesh: stack: Fix heartbeat filter with accept list (v4.4)
See merge request espressif/esp-idf!15675
2021-11-03 06:21:32 +00:00
David Čermák
21b366da73
Merge branch 'feature/add_dhcp_option_v4.4' into 'release/v4.4'
...
lwip/dhcp: add configure for enable vendor class identify option (backport v4.4)
See merge request espressif/esp-idf!15619
2021-11-02 15:17:19 +00:00
simon.chupin
1232094197
change --archive_details output
2021-11-02 14:08:31 +01:00
simon.chupin
970132c94b
tools: fix bug with idf_size argument archive_details
2021-11-02 14:08:31 +01:00
lly
9e82f7fdcf
ble_mesh: stack: Update the license of provisioner_main.c
2021-11-02 20:56:25 +08:00
wangjialiang
77eb671168
ble_mesh: stack: Fix heartbeat filter with accept list
2021-11-02 20:54:02 +08:00
David Čermák
9303bc00b2
Merge branch 'bugfix/pppos_report_unknown_line' into 'release/v4.4'
...
esp_modem: Fix report unknown line (GitHub PR)
See merge request espressif/esp-idf!15621
2021-11-02 12:14:49 +00:00
Liu Han
89873937eb
lwip/dhcp: add configure for enable vendor class identify option
...
Closes https://github.com/espressif/esp-idf/issues/6786
2021-11-02 18:02:22 +08:00
Wang Meng Yang
2d3ec44011
Merge branch 'bugfix/ble_conn_latency_max_value_v4.4' into 'release/v4.4'
...
BLE: Set connection max latency value to 499.
See merge request espressif/esp-idf!15754
2021-11-02 09:11:12 +00:00
David Cermak
14a652376f
Examples/PPPoS: Fix handling empty lines with CRLF only
...
Tokenizing data by '\n' will effectively replace all LF characters by '\0' so checking for phantom lines has to be adjusted:
* minimal empty line is CR only (strlen = 1)
* checking for lines containing CR only
2021-11-02 09:00:34 +01:00
xiewenxiang
d89112badf
component/bt: check the ble ext conn parameter
2021-11-02 15:54:27 +08:00
Darian Leung
5ac3b05cbe
freertos: Add memory hooks for static IDLE and Timer tasks
...
This commit adds the following hook functions to obtain memory
for the IDLE and Timer Daemon tasks when configSUPPORT_STATIC_ALLOCATION
is enabled:
- vApplicationGetIdleTaskMemory()
- vApplicationGetTimerTaskMemory()
Currently, both functions simply allocate from the same memory as
regular tasks (i.e., internal memory for both the stack and TCB)
Closes https://github.com/espressif/esp-idf/issues/7511
2021-11-02 14:54:01 +08:00