Mahavir Jain
fb9c931538
Merge branch 'ci/remove_redundant_component_from_unit_test_config' into 'master'
...
unit_test: remove redundant component from unit test app config
See merge request espressif/esp-idf!19983
2022-09-06 22:12:58 +08:00
Roland Dobai
f27a426013
Merge branch 'bugfix/fix_hints_templates' into 'master'
...
tools: Fix hint regular expression syntax
See merge request espressif/esp-idf!19965
2022-09-06 21:36:13 +08:00
zwj
2942a98f5d
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-06 21:12:30 +08:00
Pavlo Hamov
726e985b34
adc: esp32s2: fix unit to offset calculation
...
eFuse offset is screwed up on 4.4 to 5.0 transition
Closes https://github.com/espressif/esp-idf/issues/9705
Closes https://github.com/espressif/esp-idf/pull/9715
2022-09-06 20:35:39 +08:00
Martin Válik
f1611841a3
Merge branch 'feature/usb_host_uvc_component' into 'master'
...
USB host UVC example
See merge request espressif/esp-idf!19397
2022-09-06 20:30:11 +08:00
morris
885b25d775
Merge branch 'feature/add_esp32c6_esp_system_support' into 'master'
...
ESP32C6: Add esp_system related support
See merge request espressif/esp-idf!19923
2022-09-06 19:24:42 +08:00
Kevin (Lao Kaiyao)
e55464c26e
Merge branch 'bugfix/touch_sensor_v1_timer_expired_after_deleted' into 'master'
...
touch_senser: fixed ci issue timer expired after it is deleted
Closes IDFCI-1426
See merge request espressif/esp-idf!19850
2022-09-06 18:24:12 +08:00
Rahul Tank
730b932de0
Nimble: Add extra allocation for data pointer returned by controller for ESP IP
2022-09-06 15:15:21 +05:30
wuzhenghui
308e4dcbfa
esp32c6: add esp_timer support
2022-09-06 09:13:20 +00:00
wuzhenghui
ab09c07fdd
esp32c6: add esp_system support
2022-09-06 09:13:20 +00:00
wuzhenghui
c5d8e94898
freertos, ulp: Fix header inclusion to be compatible with new esp32c6 target
2022-09-06 09:13:20 +00:00
Armando
3c8f6dd1cf
SPI_BUS_LOCK: fix a concurrency issue
...
define: lock_bits = (lock->status & LOCK_MASK) >> LOCK_SHIFT; This `lock_bits` is the Bit 29-20 of the lock->status
1. spi_hdl_1:
acquire_end_core():
uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK);
Becuase this is the first `spi_hdl_1`, so after this , lock_bits == 0`b0. status == 0
2. spi_hdl_2:
acquire_core:
uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK);
Then here status is 0`b0, but lock_bits == 0`b10. Because this is the `spi_hdl_2`
3. spi_hdl_2:
`acquire_core` return true, because status == 0. `spi_bus_lock_acquire_start(spi_hdl_2)` then won't block.
4. spi_hdl_2:
spi_device_polling_end(spi_hdl_2).
5. spi_hdl_1:
acquire_end_core:
status is 0, so it cleas the lock->acquiring_dev
6. spi_hdl_2:
spi_device_polling_end:
assert(handle == get_acquiring_dev(host)); Fail
Closes https://github.com/espressif/esp-idf/issues/8179
2022-09-06 16:59:02 +08:00
Sudeep Mohanty
867745a05c
Merge branch 'feature/ulp-rtc-i2c-driver-support' into 'master'
...
ulp: Added support for RTC I2C driver for ULP RISC-V on esp32s2 and esp32s3
Closes IDF-1715 and IDF-5798
See merge request espressif/esp-idf!19549
2022-09-06 16:43:36 +08:00
Armando (Dou Yiwen)
daa5cc690e
Merge branch 'doc/update_adc_oneshot_doc_channel_configure_api_usage' into 'master'
...
doc: update adc oneshot channel configuration api usage
Closes IDFGH-8218
See merge request espressif/esp-idf!19961
2022-09-06 16:39:40 +08:00
Harshit Malpani
61fb0c1d2d
unit_test: remove redundant component from unit test app config
2022-09-06 14:07:52 +05:30
Sudeep Mohanty
afbea0a04c
ulp: Updated ULP docs and ulp_fsm example for wakeup when SoC is not in sleep mode.
...
This commit updates the ULP documentation and the ulp_fsm example with
the scenario when a wakeup is triggered from the ULP coproc when the
main CPU is not in sleep mode.
Closes https://github.com/espressif/esp-idf/issues/8341
Closes https://github.com/espressif/esp-idf/issues/5254
2022-09-06 10:32:05 +02:00
Marius Vikhammer
572e79530c
Merge branch 'bugfix/c2_skip_validate' into 'master'
...
bootloader: allow skip image validation on C2
Closes IDF-5827
See merge request espressif/esp-idf!19755
2022-09-06 14:21:15 +08:00
Isha Pardikar
c828055218
Merge branch 'feature/nimble_rearrange_common_files' into 'master'
...
Nimble: Reorganized nimble examples structure
See merge request espressif/esp-idf!19771
2022-09-06 13:42:41 +08:00
laokaiyao
3bdcf2edf5
i2s: add notes for the read task of i2s basic examples
2022-09-06 10:29:30 +08:00
laokaiyao
648a75dbed
i2s: fixed the duplicated type name
2022-09-06 10:27:52 +08:00
Fu Hanxi
24c31bd7fb
Merge branch 'ci/run_build_test_check_when_soc_updated' into 'master'
...
CI: run build test check when soc caps updated
See merge request espressif/esp-idf!19940
2022-09-06 09:33:01 +08:00
Darian Leung
89f828ee02
usb_host: Fix incorrect memset() usage in HCD
...
This commit fixes incorrect usage of memset() in the HCD's various
_buffer_parse_...() functions. The memset was not clearing the qtd lists, and
were simply setting the first qtd to a non zero value (i.e., the length of
the QTD list).
However, no bug occurred as the subsequent _buffer_fill_...() functions would
overwrite the QTD list anyways.
2022-09-05 20:15:03 +02:00
Tomas Rezucha
fac9579d95
usb_host: Use MSC driver from component registry
2022-09-05 20:14:57 +02:00
Tomas Rezucha
d95ba21328
usb_host: Use CDC driver from component registry
2022-09-05 20:14:56 +02:00
Tomas Rezucha
c6fbefcd84
usb_host: Remove custom test_app
2022-09-05 20:14:56 +02:00
Tomas Rezucha
dfdb814644
usb: Remove -Wno-format compile option
2022-09-05 20:14:56 +02:00
Tomas Rezucha
ba8ab09d55
usb: Bring USB Host API out of beta
2022-09-05 20:14:56 +02:00
Mahavir Jain
04d0838e9a
Merge branch 'bugfix/netif_ips_printed_before_got_ipv4' into 'master'
...
example_common: fix netif ips may be printed before got ipv4
See merge request espressif/esp-idf!19888
2022-09-06 00:01:44 +08:00
Denys Almazov
53d62d2e60
tools: hints.yml fix
2022-09-05 21:03:19 +08:00
wangjialiang
289ed8bca8
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-05 20:27:57 +08:00
Isha Pardikar
fb619d20ee
NimBLE: Reorganized nimble examples structure to avoid repetition of files.
2022-09-05 17:35:46 +05:30
Armando
35e64b3792
doc: update adc oneshot channel configuration api usage
...
Closes https://github.com/espressif/esp-idf/issues/9711
2022-09-05 19:35:46 +08:00
laokaiyao
045b65e85d
touch_senser: fixed ci issue timer expired after it is deleted
2022-09-05 18:25:32 +08:00
Shreyas Sheth
4e830d843a
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
2022-09-05 14:27:06 +05:30
Marius Vikhammer
0ecf0af5a1
Merge branch 'gdbstub/unused_handle' into 'master'
...
gdbstub: fixed build-error due to potentially uninitialized variable on -O2
Closes IDFGH-8213
See merge request espressif/esp-idf!19939
2022-09-05 16:54:52 +08:00
Chen Yudong
9c28e3f1cb
example_common: fix netif ips may be printed before got ipv4
2022-09-05 16:53:55 +08:00
Roland Dobai
a565f0635b
Merge branch 'fix/impr_idf_hint_error_handling' into 'master'
...
Tools: Handle IO error in idf.py output capturing
Closes IDFGH-8153
See merge request espressif/esp-idf!19926
2022-09-05 16:32:35 +08:00
Sudeep Mohanty
4fde033a5f
ulp: Added support for RTC I2C driver for ULP RISC-V on esp32s2 and esp32s3
...
This commit adds support for using the RTC I2C peripheral on the ULP
RISC-V core for esp32s2 and esp32s3. It also adds an example to demonstrate the
usage of the RTC I2C peripheral.
This commit also modifies the rtc_i2c register structure files to enable
the use of bitfields in the ULP RISC-V RTC I2C driver.
2022-09-05 10:21:43 +02:00
Mahavir Jain
6193e4c8e8
Merge branch 'bugfix/stringop_overflow_warning' into 'master'
...
bootloader_support: fix stringop-overflow warning with `PERF` compiler optimization
See merge request espressif/esp-idf!19932
2022-09-05 16:04:15 +08:00
Wang Meng Yang
4eb98adf43
Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable' into 'master'
...
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()
Closes IDFGH-8175 and BT-2744
See merge request espressif/esp-idf!19859
2022-09-05 13:38:18 +08:00
Marius Vikhammer
f60e9402be
Merge branch 'docs/reorder_mem_alloc_content' into 'master'
...
docs: reorder content in mem_alloc section
See merge request espressif/esp-idf!19920
2022-09-05 13:26:35 +08:00
Mahavir Jain
4aaf02b093
bootloader_support: fix stringop-overflow warning with PERF
compiler optimization
...
This commit fixes build issue because of function `bootloader_common_reset_rtc_retain_mem`
getting inlined with compiler optimization level set to `PERF` (-O2).
Build failure log:
-----------------
In function 'bootloader_common_reset_rtc_retain_mem',
inlined from 'bootloader_common_update_rtc_retain_mem' at /h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:183:13:
/h/esp-idf/components/bootloader_support/src/bootloader_common_loader.c:159:5: error: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
159 | memset(rtc_retain_mem, 0, sizeof(rtc_retain_mem_t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-09-05 10:42:11 +05:30
Marius Vikhammer
326b6a929e
Merge branch 'bugfix/bootloader_assert' into 'master'
...
bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set
Closes IDFGH-5811
See merge request espressif/esp-idf!19915
2022-09-05 12:30:26 +08:00
Mu Hai Dong
681c538d77
Merge branch 'bugfix/fix_set_country_code_before_wifi_start_issue' into 'master'
...
esp_wifi: fix set country code before wifi start issue.
Closes IDFGH-8011
See merge request espressif/esp-idf!19631
2022-09-05 12:17:11 +08:00
Mahavir Jain
ec5df3efe2
Merge branch 'feature/wifi_prov_mgr_is_provisioned_api_change' into 'master'
...
wifi_provisioning: decouple `wifi_prov_mgr_is_provisioned` from manager state
Closes IDF-5878
See merge request espressif/esp-idf!19911
2022-09-05 12:11:51 +08:00
wanlei
96aa2792f8
spi_master:fix error when use spi_bus_add_device
more than 3 device
...
update gpio_sig at `spics_out` array in each spi_periph.c of chips later than s2
then `spi_bus_add_device` can correctly distribute gpio_signals for cs_signal
Closes https://github.com/espressif/esp-idf/issues/8876
2022-09-05 12:10:22 +08:00
Fu Hanxi
7d9dd41cbf
ci: run build check for all apps when soc header changed
2022-09-05 11:17:02 +08:00
Marius Vikhammer
f4a220b3f9
gdbstub: fixed build-error due to potentially uninitialized variable on -O2
...
Closes https://github.com/espressif/esp-idf/issues/9706
2022-09-05 10:55:29 +08:00
Fu Hanxi
74619b04e1
ci: add esp32c6 target
2022-09-05 10:30:04 +08:00
morris
7bc264ed80
Merge branch 'bugfix/build-ulp-riscv-uart-printf-for-s2-s3-only' into 'master'
...
ulp: temporarily disables SOC_RISCV_COPROC_SUPPORTED from esp32c6
See merge request espressif/esp-idf!19928
2022-09-05 10:08:05 +08:00