Commit Graph

24848 Commits

Author SHA1 Message Date
Shen Weilong
028d071e84 support BLE with 26M xtal for esp32c2 2022-07-29 21:36:33 +08:00
Martin Gaňo
a542e9424c fatfsparse.py/docs: Added missing cmd parameter to the docs 2022-07-29 15:29:23 +02:00
Darian
b66be87f88 Merge branch 'bugfix/increase_ipc_stack_size_for_esp32s3' into 'master'
esp_system: Increase IPC stack size for ESP32-S3

Closes IDFCI-1403

See merge request espressif/esp-idf!19250
2022-07-29 21:23:43 +08:00
Alexey Lapshin
f44196c46b tools: update gdb version to '11.2_20220729'
Closes https://github.com/espressif/esp-idf/issues/9379
2022-07-29 13:47:34 +04:00
laokaiyao
4ab8f00b47 ci: setup 26mhz esp32c2 runner 2022-07-29 17:10:34 +08:00
wuzhenghui
5e8ba9cea8 use enum and designated initializers in soc_memory_type define 2022-07-29 17:07:41 +08:00
wuzhenghui
70eabb5492 ci: fix ci 2022-07-29 17:07:41 +08:00
wuzhenghui
7cb9304b65 Clean IRAM and DRAM address space conversion macros 2022-07-29 17:07:39 +08:00
jincheng
ca0d8be5b8 fix the dependency error of macro for memory debug 2022-07-29 17:03:59 +08:00
Chen Yudong
486dbf441b CI: Do not need submodules in target test 2022-07-29 08:31:33 +00:00
Omar Chebib
fde4afc67a Merge branch 'bugfix/queue_use_vtasksettimeoutstate' into 'master'
FreeRTOS: Modifying a timeout is now protected on multi-core configuration

Closes IDF-3808

See merge request espressif/esp-idf!19259
2022-07-29 15:33:01 +08:00
Darian Leung
e073fc4254 esp_system: Increase IPC stack size for ESP32-S3
ESP32-S3 stacks have currently have less useable space compared to other targets (due to
AI coprocessor context registers). This has caused a stack overflow in the IPC tasks under
some configurations. This commit increases the default IPC stack size for the ESP32-S3.
2022-07-29 15:00:57 +08:00
Fu Hanxi
9e3f4f0a41 Merge branch 'bugfix/add_c2_40mhz_tag_for_example_pytest' into 'master'
ci: add the forgotten xtal 40mhz tag for c2 example pytest

See merge request espressif/esp-idf!19291
2022-07-29 14:53:21 +08:00
Kapil Gupta
ebd6a467b4 Merge branch 'bugfix/rsnxe_invalid_pointer_dereference' into 'master'
wpa_supplicant: fix invalid pointer free

Closes WIFI-4672, WIFI-4673, and WIFI-4674

See merge request espressif/esp-idf!19287
2022-07-29 14:25:58 +08:00
David Čermák
8d62485a12 Merge branch 'feat/lwip_dhcps_append_opts' into 'master'
lw-ip/dhcpserver: Support for adding extra opts

Closes IDFGH-973

See merge request espressif/esp-idf!19115
2022-07-29 14:02:20 +08:00
David Čermák
fdfda6e064 Merge branch 'feat/add_netif_dependency_test' into 'master'
esp_netif/ci: Add test to verify dependencies to/from lwip/drivers

See merge request espressif/esp-idf!19179
2022-07-29 13:18:12 +08:00
Marius Vikhammer
32efa1e92d Add ULP-RISCV print and bitbanged UART tx API
Add example to demonstrate the use of this API.
2022-07-29 12:18:01 +08:00
Darian
c22968182a Merge branch 'bugfix/spinlocks_misused_as_critical_sections' into 'master'
esp_hw_support: Fix misuse of spinlocks as critical sections

See merge request espressif/esp-idf!19282
2022-07-29 11:57:28 +08:00
Omar Chebib
692891e773 FreeRTOS: Modifying a timeout is now protected on multi-core configuration 2022-07-29 11:56:06 +08:00
laokaiyao
19486ad115 ci: add the forgotten xtal 40mhz tag for c2 example pytest 2022-07-29 11:32:05 +08:00
Aleksei Apaseev
22f65d961f ci: lift the restriction on pygdbmi in ttfw_idf 2022-07-29 11:24:12 +08:00
wanlei
bb5a95f1aa soc: fix register header files not self-contain 2022-07-29 11:18:06 +08:00
Wang Yuan Ze
0acae63317 Merge branch 'spi_flash/fix_hpm_dummy_in_80m_flash_and_psram' into 'master'
spi_flash: fix hpm dummy error when using 80m flash and psram

Closes IDF-5696

See merge request espressif/esp-idf!19244
2022-07-29 11:05:47 +08:00
wuzhenghui
65aea5d177 stack/dram is also IRAM0 accessible 2022-07-29 10:51:48 +08:00
wuzhenghui
2ad49a9be5 update bootloader.ld rom_boot ram usage info 2022-07-29 10:51:47 +08:00
wuzhenghui
31183270fb bugfix: fix SOC_ROM_STACK_START defines 2022-07-29 10:51:47 +08:00
wuzhenghui
21a4eda4d4 Use the entire sharedbuffer space as the heap of the D/IRAM attribute 2022-07-29 10:51:47 +08:00
wuzhenghui
d6461d91e2 update bootloader memory allocation 2022-07-29 10:51:47 +08:00
Anton Maklakov
4ae9f7a488 Merge branch 'bugfix/precommit-on-windows' into 'master'
tools: Fix copyright check in pre-commit for windows

See merge request espressif/esp-idf!19288
2022-07-29 10:26:19 +08:00
Ivan Grokhotkov
bf10146a15
esp_system, vfs: fix incomplete blocking reads in vfs_cdcacm
Blocking read from cdcacm VFS could return less bytes than requested.
This didn’t match the behaviour of other VFS drivers, and higher level
code could misbehave.
2022-07-28 17:28:08 +02:00
Ivan Grokhotkov
3254f8deae
esp_system: usb_console: fix restart when Wi-Fi is working
Previously, reset over USB CDC was done by calling esp_restart from
an interrupt handler. This works only until some restart hook function
is registered using esp_register_shutdown_handler, and the hook
function tries to do something that isn’t allowed in an interrupt
handler. One such case is with Wi-Fi. When Wi-Fi driver is installed,
it registers esp_wifi_stop as a shutdown handler function. However
esp_wifi_stop cannot be called from an ISR, and hence we shouldn’t
call esp_restart from an ISR either.

This commit modifies USB CDC driver to call esp_restart by posting it
to esp_timer task.

Closes https://github.com/espressif/esp-idf/issues/7404
2022-07-28 17:15:03 +02:00
David Čermák
ac0487e8b7 Merge branch 'feature/support_mqtt5_protocol' into 'master'
Make MQTT client to comply with mqtt v5.0 spec

See merge request espressif/esp-idf!17345
2022-07-28 21:24:56 +08:00
Sergei Silnov
4f93db4f5a tools: Fix copyright check in pre-commit for windows 2022-07-28 15:16:53 +02:00
Jon Shallow
98d346a81e coap: Update examples to use latest features of libcoap component
Support libcoap build with Client Only or Server Only code.
2022-07-28 13:11:52 +00:00
Kapil Gupta
465996fba5 wpa_supplicant: fix invalid pointer free 2022-07-28 12:47:31 +00:00
Erhan Kurubas
b0881a1e6c examples/gcov: add missing supported targets to readme 2022-07-28 13:59:29 +02:00
Erhan Kurubas
3a9f711f77 examples/gcov: set esp32c2 default blink gpio 2022-07-28 13:59:29 +02:00
Erhan Kurubas
22d771bf51 esp32c2: fix gcov example build 2022-07-28 13:59:29 +02:00
Martin Gano
50626e776e Merge branch 'bugfix/speedup-fatfsgen-cluster-allocation' into 'master'
fatfsgen.py: Speedup FAT cluster allocation in fatfs partition generator

Closes IDF-5243

See merge request espressif/esp-idf!19216
2022-07-28 18:02:11 +08:00
Darian Leung
05ff1039dc esp_hw_support: Fix misuse of spinlocks as critical sections
Spinlocks themselves do not constitute critical sections as after a spinlock is acquired, interrupts
can remain enabled. However, there are some places where spinlocks are used direclty instead of using
the portMUX_TYPE and portENTER_CRITICAL_...() APIs. This commit fixes those calls.
2022-07-28 17:25:00 +08:00
Guillaume Souchere
421a408b42 freertos: Update the docuementation of the ulBitsToClearOnEntry parameter in xTaskGenericNotifyWait() function.
Closes https://github.com/espressif/esp-idf/issues/7207

The description of how the xTaskGenericNotifyWait parameter is handled in the
xTaskGenericNotifyWait() function was inaccurate.

In this commit, the description was updated to match the implementation of xTaskGenericNotifyWait().
2022-07-28 10:30:41 +02:00
David Čermák
e7e350d439 Merge branch 'bugfix/lwip_store_esp_netif_ptr' into 'master'
esp_netif/lw-ip: Use netif-client-data to store esp_netif ptr

Closes IDFGH-7813 and IDF-5542

See merge request espressif/esp-idf!19075
2022-07-28 14:54:08 +08:00
Jing Li
2c41aae1e7 Merge branch 'bugfix/temp_fix_clk8m_and_cpu_cannot_pd_at_the_same_time' into 'master'
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep

Closes WIFI-4492 and IDF-5473

See merge request espressif/esp-idf!19196
2022-07-28 14:45:28 +08:00
Rahul Tank
7ed3157351 Merge branch 'bugfix/add_max_procs_config' into 'master'
Nimble: Configurable option to modify max gatt procedures allowed for GATT client

See merge request espressif/esp-idf!19197
2022-07-28 14:38:41 +08:00
wangyuanze
8781a50abe spi_flash: fix hpm dummy error when using 80m flash and psram 2022-07-28 14:32:30 +08:00
yuanjm
7dcc29d0be Add mqtt5 build test rules 2022-07-28 06:24:43 +00:00
yuanjm
196831efa8 example: Add mqtt5 example 2022-07-28 06:24:43 +00:00
yuanjm
66e0171c42 test: Add mqtt5 unit-test 2022-07-28 06:24:43 +00:00
yuanjm
5a7b17ff7d mqtt: Add mqtt5 Kconfig 2022-07-28 06:24:43 +00:00
xiongweichao
7eedd710c2 fix legacy pair controller does not send the link key to the host
Closes https://github.com/espressif/esp-idf/issues/5850
2022-07-28 14:21:48 +08:00