Commit Graph

24947 Commits

Author SHA1 Message Date
Geng Yuchao
f070ac4da8 Update BLE documentation scope 2022-08-08 20:51:58 +08:00
Geng Yuchao
e34e0db12a Remove docs not update for classic_bt 2022-08-08 20:51:57 +08:00
Geng Yuchao
98c0481914 Updated the nimble instructions for ESP32. 2022-08-08 20:50:28 +08:00
Geng Yuchao
0a1d8c1e09 Fix soc caps define for all chips 2022-08-08 20:50:28 +08:00
laokaiyao
3c4bc80712 i2s: fixed duplicated test case name 2022-08-08 20:35:47 +08:00
wangjialiang
8f640a3e82 ble_mesh: stack: Fix add continuously secure update into friend queue.
For MESH/NODE/FRND/FN/BV-20-C
2022-08-08 12:30:44 +00:00
wangjialiang
e797cb54dc ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
For MESH/NODE/FRND/FN/BV-23-C
2022-08-08 12:30:44 +00:00
Song Ruo Jing
c7c6910bed Merge branch 'feature/support_esp32c2_test_pm' into 'master'
pm: update pm test cases to support esp32c2

Closes IDF-3822

See merge request espressif/esp-idf!18049
2022-08-08 20:24:17 +08:00
Roland Dobai
819880af64 Merge branch 'bugfix/esp32h2beta2_erase_flash' into 'master'
fix(esp32h2beta2): erase flash

Closes IDF-4288

See merge request espressif/esp-idf!19389
2022-08-08 20:22:14 +08:00
linruihao
fe04cdb88c Fixd union member access typo
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-08 19:40:25 +08:00
wangyuanze
5e4ab6481f touch_sensor: move unit tests to test_app 2022-08-08 19:12:56 +08:00
wangyuanze
b239b03aa7 touch_element: move unit tests to test_app 2022-08-08 19:12:56 +08:00
wangyuanze
48ce5d7c01 touch: adapt touch-related code to compile with -Wno-format flag 2022-08-08 19:12:56 +08:00
Ivan Grokhotkov
3b7eee3978
build: fix excluded components being passed to component manager
`__COMPONENT_TARGETS` is evaluated very early when components and
component directories are added to the build, which means that all
components (including the ones which are in EXCLUDE_COMPONENTS) have
a build system target defined. The component manager was given the
list of all known components (derived from the list of targets), not
the list of components after EXCLUDE_COMPONENTS were processed.
Because of that, EXCLUDE_COMPONENTS didn't effectively exclude the
component from the consideration of the component manager.
2022-08-08 13:09:20 +02:00
Adam Múdry
afe78ba0aa sdspi: Allow CS line to be set to GPIO_NUM_NC (-1)
Closes https://github.com/espressif/esp-idf/issues/7852
2022-08-08 09:13:36 +00:00
Linda
77d7ab8813 docs: update the diagram of FSM of I2S 2022-08-08 17:02:49 +08:00
Marius Vikhammer
cfbe0a035b esp-rom: add missing spi-flash ROM API functions
Added symbols for the SPI flash API which we export from the ROM interface,
deleted functions which are not exported.

Closes https://github.com/espressif/esp-idf/issues/1212
2022-08-08 16:34:10 +08:00
morris
d91c8759c0 driver: remove -Wno-format flag 2022-08-08 08:30:09 +00:00
Roland Dobai
abd754f487 Tools: Detect missing component manager and print proper error message 2022-08-08 09:43:31 +02:00
songruojing
4983b2786a pm: update pm test cases to support esp32c2 2022-08-08 14:45:53 +08:00
Marius Vikhammer
18e19ba3ec ci: fix base_mac_address test failure for S2 chips
Some esp32s2 chips was burned with one MAC address by mistake.
The MAC address code contains a special case for these chips,
update MR to handle this special case.
2022-08-08 13:51:11 +08:00
Jing Li
c25c254666 Merge branch 'feature/further_support_esp32c2_sleep' into 'master'
esp32c2/sleep: further support sleep for esp32c2 with 26MHz XTAL

Closes IDF-5544

See merge request espressif/esp-idf!19017
2022-08-08 13:26:15 +08:00
Mahavir Jain
21db02c510 Merge branch 'bugfix/fix_memory_leak_in_pre_encrypted_ota_example' into 'master'
example: fix memory leak in pre_encrypted_ota example.

Closes IDFGH-7978

See merge request espressif/esp-idf!19414
2022-08-08 13:18:45 +08:00
Michael (XIAO Xufeng)
bba57249ea Merge branch 'feature/support_7.2.9_soc/pvt_dig' into 'master'
esp32c2: support auto adjust LDO voltage based on pvt-dig

Closes IDF-5731 and IDF-4940

See merge request espressif/esp-idf!19267
2022-08-08 12:55:11 +08:00
Guillaume Souchere
16c2cb3f1b Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master'
heap: Remove TLSF related files and replace them with the TLSF submodule

Closes IDF-4967

See merge request espressif/esp-idf!19220
2022-08-08 12:36:02 +08:00
Mahavir Jain
384f7cd1da bootloader_support: consider signature sector in image length validation
For secure boot enabled cases, bootloader and firmware images have signature
appended and size is variable based on scheme being used. This appended data
must be considered while verifying image length against allocated partition
size to avoid any possibilities of going beyond reserved size.

Closes IDF-5617
2022-08-08 03:22:14 +00:00
Omar Chebib
75ede16b38 I2C: Fix the reset counter 2022-08-08 11:05:11 +08:00
tgotic
ee4d15d02f fix malloc(0) and heap_caps_alloc_failed()
Don't call heap_caps_alloc_failed() for malloc(0) and calloc(0), because it is not an error.
Improve handling of malloc(0) and calloc(0).

Merges https://github.com/espressif/esp-idf/pull/9517
2022-08-08 02:55:50 +00:00
Eckhard Völlm
0257eba526 Update i2c.c
Fix issue with single bus clear counter but two I2C buses (I2C0, I2C1). The previously implemented single (static) counter would impact the second bus either if one bus has counter expiry.
Merges https://github.com/espressif/esp-idf/pull/7144
2022-08-08 02:46:13 +00:00
Ivan Grokhotkov
3eec11005c
ci: upgrade qemu to 20220802 release
Changes accumulated since 20210826 release:

- Fixed cache flush emulation
- Fixed loading of baremetal ELF files via -kernel arg
- Added emulation of AES peripheral
- Fixed division by zero in UART emulation
- Fixed APP CPU using same ROM code as PRO CPU
- Base QEMU version upgraded from 6.1.0 to 7.0.0
2022-08-07 11:00:41 +02:00
liuning
73817d8889 esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2 2022-08-06 09:54:27 +00:00
Ivan Grokhotkov
d366664b0d
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3
Since both chips have built-in JTAG functionality, and there are no
official boards with FT2232H for these chips, use the built-in JTAG
by default.

To use them with esp-prog, set:
  OPENOCD_COMMANDS="-f board/esp32c3-ftdi.cfg"
or pass this via the --openocd-commands argument to idf.py.
2022-08-05 18:22:30 +02:00
jingli
209cb1f8ee docs: fix xtal kconfig related description 2022-08-05 19:12:29 +08:00
jingli
fcbaac4d42 examples/wifi/power_save: fix project kconfig file 2022-08-05 19:12:29 +08:00
jingli
ee3423834e kconfig: refactor xtal freq kconfig to common configuration item 2022-08-05 19:12:29 +08:00
jingli
a61abcc22e examples/system/light_sleep: fix uart garbled output 2022-08-05 19:10:53 +08:00
jingli
ee17949e39 examples/system/light_sleep: fix baudrate for uart wakeup source 2022-08-05 19:10:53 +08:00
Island
74abb42053 Merge branch 'feature/update_to_the_latest_controller_lib' into 'master'
Feature/update to the latest controller lib

See merge request espressif/esp-idf!19372
2022-08-05 17:51:16 +08:00
Harshit Malpani
048e7f75b9 example: fix memory leak in pre_encrypted_ota example.
Closes: https://github.com/espressif/esp-idf/issues/9489
2022-08-05 15:12:17 +05:30
Island
bd0904c1f3 Merge branch 'document/support_header_defination' into 'master'
Support of Micro definition in header file

Closes DOC-3386

See merge request espressif/esp-idf!19211
2022-08-05 17:19:44 +08:00
tgotic
4837ba9b84 rename xHoldSemaphore to result 2022-08-05 10:19:47 +02:00
zlq
7d8f10423e 1.add ldo parameters in efuse table; 2.set ldo dbias based on pvt-efuse; 3.add pll cali stop function; 4. add efuse_ocode 2022-08-05 14:24:51 +08:00
Sudeep Mohanty
30e8f19f5a Merge branch 'docs/update_migration_guide_for_esp_hw_support' into 'master'
docs: Corrected the migration guide for esp_hw_support

See merge request espressif/esp-idf!19398
2022-08-05 14:11:56 +08:00
Ondrej Kosta
f6b2414bb5 Merge branch 'bugfix/esp_eth_test_rx' into 'master'
component_ut_pytest_esp32_ip101 fix

Closes IDFCI-1313

See merge request espressif/esp-idf!18526
2022-08-05 14:02:39 +08:00
Marius Vikhammer
dec246af1f idf.py hints: fix header not found regex to also match headerpaths with path seperator 2022-08-05 11:07:48 +08:00
Island
7c59a76270 Merge branch 'bugfix/restore_missing_ble_mesh_videos' into 'master'
ble_mesh: doc: Restore missing ble mesh videos

See merge request espressif/esp-idf!19391
2022-08-05 10:58:11 +08:00
Wu Zheng Hui
4c3322ed60 Merge branch 'bugfix/fix_esp32s3_cache_data_memory_wrong_attr' into 'master'
bugfix: esp32s3 DCache data memory is  retention dma inaccessible

Closes IDFCI-1409, IDFCI-1410, IDFCI-1411, IDFCI-1412, and IDFCI-1413

See merge request espressif/esp-idf!19365
2022-08-05 10:42:52 +08:00
Jiang Jiang Jian
33f1747feb Merge branch 'bugfix/wifi_bt_use_same_clock_source' into 'master'
Fix Wi-Fi does not know that Bluetooth has modified the lpclk source

Closes WIFI-4114, BT-1996, and BT-2005

See merge request espressif/esp-idf!15703
2022-08-05 00:20:37 +08:00
tgotic
b513ad9df0 bt member typo
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-04 16:49:55 +02:00
tgotic
480253d659 Move xSemaphoreGive out of configASSERT
xSemaphoreGive won't be executed in configASSERT and semaphore will stay locked if NDEBUG (idf v5) or CONFIG_FREERTOS_ASSERT_DISABLE (idf v3, v4) are defined.
2022-08-04 16:41:18 +02:00