Commit Graph

25717 Commits

Author SHA1 Message Date
Shang Zhou
a17b207e4f docs: Sync up EN and CN lines of ble-mesh, wifi, and i2c 2022-08-09 11:45:34 +08:00
Lin Rui Hao
68bd2badf4 Merge branch 'contrib/github_pr_9498' into 'master'
bluedroid: fix member typo

Closes IDFGH-7987

See merge request espressif/esp-idf!19436
2022-08-09 11:13:33 +08:00
morris
92a44afeba Merge branch 'bugfix/cleanup_rom_spiflash' into 'master'
esp-rom: remove undefined spi_flash functions from header

Closes IDFGH-109

See merge request espressif/esp-idf!19333
2022-08-09 10:39:14 +08:00
Omar Chebib
c6ddf7288c heap: add a unit test for malloc(0) and slightly optimize heap_caps_malloc_prefer 2022-08-09 10:30:36 +08:00
Omar Chebib
790aa40c38 Merge branch 'contrib/github_pr_7144' into 'master'
Update i2c.c to consider two I2C buses for clear bus counter (GitHub PR)

Closes IDFGH-5398

See merge request espressif/esp-idf!19093
2022-08-09 10:26:25 +08:00
Alexey Lapshin
2bfffa68ca tools: update gdb version to '11.2_20220808'
Closes https://github.com/espressif/esp-idf/issues/9522
2022-08-08 22:04:11 +04:00
Roland Dobai
311ab428c7 Merge branch 'bugfix/idf_py_gdb_s3_c3' into 'master'
tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3

See merge request espressif/esp-idf!19418
2022-08-08 22:53:39 +08:00
Roland Dobai
2dab221014 Merge branch 'feature/qemu_upgrade_20220802' into 'master'
ci: upgrade qemu to 20220802 release

See merge request espressif/esp-idf!19419
2022-08-08 22:46:30 +08:00
Roland Dobai
e07497a1b2 Merge branch 'bugfix/hints_dir_regex' into 'master'
idf.py hints: fix header not found regex to also match headerpaths with path seperator

See merge request espressif/esp-idf!19400
2022-08-08 22:41:12 +08:00
tgotic
f78298b04a local copy of btc_msg_t
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-08 16:18:16 +02:00
Chen Yudong
38bd98acf0 CI: add integration test env 2022-08-08 22:07:40 +08:00
Mahavir Jain
b1e1411f7d Merge branch 'bugfix/add_signature_in_image_len' into 'master'
bootloader_support: consider signature sector in image length validation

Closes IDF-5617

See merge request espressif/esp-idf!19272
2022-08-08 20:52:59 +08:00
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
f2bca9e71e ci: re-enable running S3 tests by default 2022-08-08 14:06:59 +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