Karl Wang
8c756dad23
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-02 17:40:00 +08:00
wangmengyang
85fc8321c8
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-02 17:37:24 +08:00
Jiang Jiang Jian
c47c0097e2
Merge branch 'bugfix/memory_debug_not_work' into 'master'
...
bugfix/fix the dependency error of macro for memory debug
Closes IDFGH-9248
See merge request espressif/esp-idf!19233
2022-08-02 15:48:58 +08:00
wangmengyang
9bda2381ea
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-02 14:14:07 +08:00
wangmengyang
5f074e1336
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-02 14:14:07 +08:00
wangmengyang
0a1fa3e204
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-02 14:14:07 +08:00
wangmengyang
9a5f854760
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-02 14:14:07 +08:00
Karl Wang
a075aa564f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
2022-08-02 14:14:07 +08:00
wangmengyang
57336e0a0e
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-02 14:14:07 +08:00
wangmengyang
3c8671f592
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-02 14:14:07 +08:00
wangmengyang
578bfa3600
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-02 14:14:07 +08:00
wangmengyang
c0b86fefc6
component/bt: add new OSI utility "fixed_pkt_queue", which has same functionality with "fixed_queue"
2022-08-02 14:14:07 +08:00
Karl Wang
eea8a285e3
component/bt: add new OSI utility "pkt_queue" which acts as a mutex-protected linked list, to be used as data queue between tasks
2022-08-02 14:14:07 +08:00
wangmengyang
7c1ee339bc
component/bt: add new OSI utility "osi_event" to support the scenario that event need only to be handle once.
2022-08-02 14:14:07 +08:00
wangmengyang
81c87cf4ca
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-02 14:14:07 +08:00
wangmengyang
77e98e468d
component/bt: modify the implementation of osi_thread using freeRTOS queue
2022-08-02 14:14:07 +08:00
Omar Chebib
2f7bae7a6e
Task WDT: add a panic test case for to test panic on both CPU cores
2022-08-02 12:41:14 +08:00
Omar Chebib
e25cda2c40
Task WDT: Interuptee task stack is now used for backtracing, regardless of the CPU core
...
For RISC-V and Xtensa targets, in case a panic needs to happen when
Task WDT is triggered (ESP_TASK_WDT_PANIC), the interruptee's stack
is now used for printing the backtrace.
Abort after Task Watchdog is triggered can happen on APP CPU (second core).
2022-08-02 12:41:14 +08:00
muhaidong
ab8be80c3c
esp_wifi: fix deinit return wrong value
...
1. Deinit does not return ESP_ERR_WIFI_NOT_INIT if the wifi driver is no longer initialized.
2. Fix get wrong channel value use esp_wifi_get_config.
3. Fix bug of missing unlock when wifi stop.
4. Fix annotation error of api esp_wifi_connect.
2022-08-02 11:45:21 +08:00
Jiang Jiang Jian
03a8235098
Merge branch 'bugfix/set_default_authmode_wpa2' into 'master'
...
esp_wifi: set default authmode threshold as wpa2 for STA mode
Closes WIFI-2438
See merge request espressif/esp-idf!19034
2022-08-02 11:10:56 +08:00
Marius Vikhammer
67d0a10548
Merge branch 'bugfix/rtc_brownout_isr_handler_stall' into 'master'
...
system: fix brownout ISR triggering assert on single-core configs.
Closes IDFGH-7939
See merge request espressif/esp-idf!19304
2022-08-02 10:38:29 +08:00
Marius Vikhammer
5d23a757d6
Merge branch 'feature/ulp_uart' into 'master'
...
ulp-riscv: uart print
See merge request espressif/esp-idf!19229
2022-08-02 09:14:48 +08:00
Martin Gaňo
2d173c0777
fatfsgen.py: enabled extension of the FAT table
...
Closes IDF-5688
2022-08-01 20:29:02 +02:00
morris
06b31d487b
Merge branch 'touch_sensor/update_touch_sensor_examples' into 'master'
...
touch_sensor: update touch sensor examples
Closes IDF-3885 and IDFGH-7751
See merge request espressif/esp-idf!19284
2022-08-02 01:25:04 +08:00
Roland Dobai
956f08826f
Merge branch 'fix/esp32c2_gcov_example_build' into 'master'
...
esp32c2: fix gcov example build
See merge request espressif/esp-idf!19201
2022-08-01 20:28:36 +08:00
Wei Tian Hua
b9b047399d
Merge branch 'bugfix/fix_legacy_pair_not_send_link_key_host' into 'master'
...
component_bt: fix legacy pair controller does not send the link key to the host
Closes BTCI-107
See merge request espressif/esp-idf!14670
2022-08-01 16:59:49 +08:00
morris
20e253e663
Merge branch 'feature/rgb_lcd_rotation' into 'master'
...
rgb_lcd: support mirror and swap axis
See merge request espressif/esp-idf!19059
2022-08-01 16:47:12 +08:00
Marius Vikhammer
0f555b2a1d
system: fix brownout ISR triggering assert on single-core configs.
...
ISR handler was incorrectly calling stall other cpu even on single core systems
Closes https://github.com/espressif/esp-idf/issues/9456
2022-08-01 16:18:30 +08:00
morris
dba813bac4
Merge branch 'bugfix/disable_rom_lgo' into 'master'
...
system: moved placement of disable rom log efuse in startup flow
Closes IDFGH-7940
See merge request espressif/esp-idf!19305
2022-08-01 16:04:20 +08:00
Jiang Jiang Jian
b885499c74
Merge branch 'refactor/move_common_adc_part_to_hw_support' into 'master'
...
esp_adc: move esp_adc out of g1 dependency list
Closes IDF-5637
See merge request espressif/esp-idf!19159
2022-08-01 15:39:45 +08:00
Jiacheng Guo
905856a054
openthread: add NAT64 and DNS64 support
...
* Add required configs and headers for NAT64 and DNS64
* Add hook for DNS name resolution
* Add NAT64 and DNS64 example commands
2022-08-01 15:31:49 +08:00
Mahavir Jain
3fcfc80c17
Merge branch 'bugfix/ulp_adc_miss_cpp_guard' into 'master'
...
ulp: fix missing cpp header guard
Closes IDFGH-7953
See merge request espressif/esp-idf!19303
2022-08-01 14:48:54 +08:00
Wei Tian Hua
aeb9cd267f
Merge branch 'bugfix/memory_copy_bugs_in_bluedroid' into 'master'
...
components_bt/bluedroid: Fix Memory Copy Build Err
Closes IDFGH-7871
See merge request espressif/esp-idf!19182
2022-08-01 14:32:39 +08:00
Ivan Grokhotkov
0d4a533b74
Merge branch 'bugfix/usb_console_reset' into 'master'
...
esp_system: usb_console: fix restart when Wi-Fi is working
Closes IDFGH-5683
See merge request espressif/esp-idf!19289
2022-08-01 13:36:44 +08:00
wangyuanze
4a617e459a
touch_sensor: make touch_element compile on esp32s3
...
Closes: https://github.com/espressif/esp-idf/issues/9292
2022-08-01 13:16:03 +08:00
Guillaume Souchere
8357fc728f
Merge branch 'bugfix/update-doc-freertos-task-header' into 'master'
...
freertos: Update the documentation of the ulBitsToClearOnEntry parameter
Closes IDFGH-5468
See merge request espressif/esp-idf!19277
2022-08-01 13:07:45 +08:00
Kevin (Lao Kaiyao)
6658b7eb0a
Merge branch 'feature/setup_target_test_for_c2_26m' into 'master'
...
ci: setup 26mhz esp32c2 runner
Closes IDF-5526
See merge request espressif/esp-idf!19032
2022-08-01 11:54:09 +08:00
weitianhua
e51df179ad
components_bt/bluedroid: Fix Memory&String Copy Build Err
...
1. When setting compilier into -O2 optimization, build for classic bt demo will get wrong
2. Fix a memcpy bug that maybe get memory truncated
Closes https://github.com/espressif/esp-idf/issues/9398
2022-08-01 11:37:46 +08:00
Marius Vikhammer
da91fb7a81
system: moved placement of disable rom log efuse in startup flow
...
Functions used for burning this efuse would log, but at this point
esp_log is not initialized. Moved to a later point in the startup process.
Closes https://github.com/espressif/esp-idf/issues/9457
2022-08-01 11:16:17 +08:00
zhouli
13770a2660
rgb_lcd: support mirror and swap axis
2022-08-01 03:05:19 +00:00
Marius Vikhammer
af329784b1
ulp: fix missing cpp header guard
...
https://github.com/espressif/esp-idf/issues/9464
2022-08-01 10:19:32 +08:00
Wan Lei
1265a2db9d
Merge branch 'refactor/add_missing_include_path_for_soc_struct_files' into 'master'
...
Fix check_public_headers violations for soc component
Closes IDF-5397
See merge request espressif/esp-idf!19158
2022-08-01 10:14:04 +08:00
Wu Zheng Hui
7c17a04733
Merge branch 'feature/optimize_chips_memory_allocation' into 'master'
...
system: Optimize chips bootloader and heap memory allocation
Closes IDF-4585 and IDF-4299
See merge request espressif/esp-idf!18807
2022-08-01 10:11:01 +08:00
Kapil Gupta
e9c18ad02f
esp_wifi: set default authmode as wpa2
2022-07-30 10:43:39 +05:30
Shen Weilong
028d071e84
support BLE with 26M xtal for esp32c2
2022-07-29 21:36:33 +08: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
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
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
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
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
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
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
Kapil Gupta
465996fba5
wpa_supplicant: fix invalid pointer free
2022-07-28 12:47:31 +00: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
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
Jiang Jiang Jian
49348299f0
Merge branch 'bugfix/qatest_spp_crash' into 'master'
...
bugfix/qatest spp crash
Closes BT-1875, BT-2410, BT-2015, and BT-2536
See merge request espressif/esp-idf!19232
2022-07-28 13:44:56 +08:00
Mahavir Jain
c0e096d5b2
Merge branch 'contrib/github_pr_9446' into 'master'
...
Add missing comma (GitHub PR)
Closes IDFGH-7928
See merge request espressif/esp-idf!19271
2022-07-28 12:36:30 +08:00
morris
ef02fb63dd
Merge branch 'bugfix/fix_wrong_mmu_end_addr_check' into 'master'
...
mmu: fix wrong mmu end check in mmu_ll.h
See merge request espressif/esp-idf!19257
2022-07-28 12:00:35 +08:00
Armando
4f80c0f27e
esp_adc: remove esp_adc from g1 component dependencies
2022-07-28 03:49:48 +00:00
Armando
5e6a16380a
esp_adc: move adc common hw related code into esp_hw_support
2022-07-28 03:49:48 +00:00
jingli
7211b0a89a
esp_hw_support/sleep: fix cannot pd cpu and rc fast at the same time during light sleep
...
Since cpu retention dma use rc fast as clk source, so rc_fast_digi
will be enabled when we config to pd cpu. And cpu retention does not
need rc fast keep on during light sleep. So, if we use rc_fast_digi
to determine whether rc fast can be powered down, then cpu and and
rc fast cannot pd at the same time.
2022-07-28 11:10:58 +08:00
Kevin (Lao Kaiyao)
9a7a1fe61f
Merge branch 'contrib/github_pr_9430' into 'master'
...
Fix offset for cosine wave function generator (GitHub PR)
Closes IDFGH-7911
See merge request espressif/esp-idf!19254
2022-07-28 10:56:43 +08:00
Martin Gaňo
d56e692f2f
fatfsgen.py: Speedup FAT cluster allocation in fatfsgen.py
...
Closes IDF-5243
2022-07-28 01:37:39 +02:00
Roland Dobai
9b87390daf
Merge branch 'bugfix/fix_the_monitor_consol_problem' into 'master'
...
tools: Fix the monitor console problem
Closes IDF-5514 and IDFGH-7913
See merge request espressif/esp-idf!19129
2022-07-28 01:05:48 +08:00
Tomas Rezucha
5bd6696557
Merge branch 'feature/usb_device/hid' into 'master'
...
usb: Add HID device example
Closes IDFGH-7637, IDFGH-5054, IDF-581, and IDFGH-6013
See merge request espressif/esp-idf!19177
2022-07-27 21:18:50 +08:00
David Cermak
64f4f0ac1e
esp_netif/lwip: Use netif-client-data to store esp_netif ptr
...
lwip/netif struct has two places to store user's data
* netif->state (1 void*) but that might be occupied in special cases
* netif->client_dtat (n void*s) but that must be enabled in opts.h
This commit stores esp_netif_t* primarily in state, but if any special
netif is enabled in menuconfig (bridgeif, pppos), it uses netif->client_data.
This commit also fixes incorrect esp_netif that is attached to
IP_EVENT_GOT_IP6 event posted by pppos interfaces in:
c585618b97/components/esp_netif/lwip/esp_netif_lwip_ppp.c (L114)
Closes https://github.com/espressif/esp-idf/issues/9345
2022-07-27 11:55:18 +00:00
morris
96c29841bb
Merge branch 'feature/mcpwm_new_driver' into 'master'
...
⛵ MCPWM Driver-NG
Closes IDF-2471, IDF-2895, IDF-20, and IDF-3945
See merge request espressif/esp-idf!11480
2022-07-27 19:25:06 +08:00
Armando
42dfb5cadd
esp_psram: improve mapping log when physical range is larger
...
After this commit, when physical address is larger than vaddr range,
driver will still map as much as it can, but also give a verbose level
log to show the actual mapped size
2022-07-27 10:22:09 +00:00
Armando
f325ad2211
mmu: fix wrong mmu end check
...
In mmu code, we follow the rule that the `end` address shouldn't be
touched. This commit fix wrong end address check in mmu_ll.h
2022-07-27 10:22:09 +00:00
jincheng
44607e10ea
add protect for bt_util_buf_env buffers when access by task and interrupt
...
ignore the assert_err in rm_bt_clkoff1_setf
2022-07-27 17:56:08 +08:00
FanhuaCloud
a1c04ad6fd
Add missing comma
...
Add missing comma when CONFIG_ESP32S3_DATA_CACHE_16KB is enabled
2022-07-27 17:12:17 +08:00
Rahul Tank
2be66a6151
Nimble: Configurable option to modify max gatt procedures allowed for GATT
...
client
2022-07-27 08:59:37 +00:00
simon.chupin
5468d79382
tools: fix idf.py monitor consol problem
...
Closes https://github.com/espressif/esp-idf/issues/9432
2022-07-27 08:35:30 +00:00
Armando (Dou Yiwen)
1ed5e5130e
Merge branch 'bugfix/increase_overhead_when_test_adc_continuous_iram' into 'master'
...
esp_adc: increase test consumption threshold
Closes IDFCI-1397
See merge request espressif/esp-idf!19206
2022-07-27 16:16:23 +08:00
Ivan Grokhotkov
0330e952d1
Merge branch 'feature/add-wl-support-fatfsparse' into 'master'
...
fatfsparse.py: Add support for WL
Closes IDF-4994 and IDF-5522
See merge request espressif/esp-idf!18760
2022-07-27 16:01:02 +08:00
morris
1571417679
mcpwm: new driver implementation
2022-07-27 15:22:24 +08:00
morris
fd3a1ffc21
mcpwm: deprecate legacy driver
2022-07-27 15:08:58 +08:00
laokaiyao
77a5c209d9
dac_ll: sync PR changes to esp32s2
2022-07-27 14:45:48 +08:00
Florian Loitsch
2f307b8b65
Feedback.
2022-07-27 14:45:48 +08:00
Florian Loitsch
3793e90790
Fix offset for cosine wave function generator
2022-07-27 14:45:48 +08:00
Isha Pardikar
7b1da8ab0a
Merge branch 'feature/rainmaker_BT_configurable' into 'master'
...
Wifi_prov_mgr: Made BT configurable after provisioning is completed
See merge request espressif/esp-idf!18014
2022-07-27 13:59:56 +08:00
Tomas Rezucha
45e8115dc6
usb: Add HID device example
...
Closes https://github.com/espressif/esp-idf/issues/6839
Closes https://github.com/espressif/esp-idf/issues/7700
2022-07-27 05:31:09 +00:00
paul356
1144f752f4
use kconfig to add config options
2022-07-27 05:31:09 +00:00
Martin Gaňo
2ddcda29b3
fatfsparse.py: Add support for WL
2022-07-26 14:50:07 +02:00
Ivan Grokhotkov
c38c153f6a
Merge branch 'bugfix/cpu_utils_watchpoint_num' into 'master'
...
xtensa: fix swapped breakpoint and watchpoint numbers
Closes IDFCI-1315
See merge request espressif/esp-idf!19213
2022-07-26 20:31:10 +08:00
Armando
0e6c8aef19
esp_adc: increase adc continuous iram test time overhead a bit
...
Prior to this commit, overhead is 0us on esp32s2, s3, c3, c2. However
when the conv_done event happens, software takes some time to do
necessary operations.
2022-07-26 18:19:14 +08:00
Isha Pardikar
2cfcae8d41
Merge branch 'feature/rainmaker_BT_configurable' into 'master'
...
Doc: Made bluetooth configurable after wifi provisioning is completed
See merge request espressif/esp-idf!18014
2022-07-26 15:21:27 +05:30
Mahavir Jain
c917219c04
Merge branch 'contrib/github_pr_9408' into 'master'
...
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2 (GitHub PR)
Closes IDFGH-7884
See merge request espressif/esp-idf!19195
2022-07-26 15:48:43 +08:00
David Cermak
b5d13b9837
lwip/dhcpserver: Support for adding extra opts
...
This enables users appending an extra, user defined options in dhcp
server messages. Example of adding captive_portal option (160) to dhcp
offer message is provided:
* Add idf-lwip hook file (project makefile):
idf_component_get_property(lwip lwip COMPONENT_LIB)
target_compile_options(${lwip} PRIVATE "-I${PROJECT_DIR}/main")
target_compile_definitions(${lwip} PRIVATE "-DESP_IDF_LWIP_HOOK_FILENAME=\"add_captive_portal.h\"")
* Implement appending (add_captive_portal.h):
#pragma once
#define LWIP_HOOK_DHCPS_POST_APPEND_OPTS(netif, dhcp, state, pp_opts) \
if ((state)==DHCPOFFER) { *(pp_opts) = append_captive_portal_uri(*(pp_opts)); }
static inline uint8_t *append_captive_portal_uri(uint8_t *optptr)
{
const static uint8_t DHCP_OPTION_CAPTIVE_PORTAL=160;
const static char CAPTIVE_PORTAL_URI[]="my_uri";
int size = sizeof(CAPTIVE_PORTAL_URI) - 1;
*optptr++ = DHCP_OPTION_CAPTIVE_PORTAL;
*optptr++ = size;
for(int i = 0; i < size; ++i) {
*optptr++ = CAPTIVE_PORTAL_URI[i];
}
return optptr;
}
Merges https://github.com/espressif/esp-idf/pull/3308
2022-07-26 07:09:22 +00:00
Marius Vikhammer
4f1046a292
ulp-riscv: made ulp_riscv_delay_cycles more accurate
2022-07-26 14:32:39 +08:00
morris
5e50ec1d66
systimer: add helper functions to convert between tick and us
2022-07-25 16:08:52 +08:00
morris
783e1781bd
esp_rom: patch systimer driver for esp32c2
2022-07-25 16:08:52 +08:00
morris
d94432fea8
systimer: refactor hal to accomodate more xtal choices
2022-07-25 16:08:52 +08:00
Ivan Grokhotkov
a97686f607
xtensa: fix swapped breakpoint and watchpoint numbers
2022-07-25 09:43:10 +02:00
Martin Vychodil
8def7b3e55
Merge branch 'contrib/github_pr_9361' into 'master'
...
Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT (GitHub PR)
Closes IDFGH-7832 and IDFGH-7735
See merge request espressif/esp-idf!19111
2022-07-24 16:49:22 +08:00
Martin Vychodil
a16431c7a9
Merge branch 'feature/vfs_serial_fcntl_get_rd_wr_state' into 'master'
...
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state
See merge request espressif/esp-idf!19168
2022-07-24 16:15:28 +08:00
Chen Jian Xing
feefe820a4
Merge branch 'bugfix/esp32c2_coex_timer_clk_src' into 'master'
...
esp_wifi: select slowclk as coex hardware timer source on esp32c2
See merge request espressif/esp-idf!19170
2022-07-23 11:37:35 +08:00
Jakob Hasse
45b3662c3a
Merge branch 'bugfix/esp_timer_mux_static' into 'master'
...
bugfix (esp_timer): made os spinlock static
See merge request espressif/esp-idf!19112
2022-07-23 05:58:06 +08:00
Fu Hanxi
585e0431c7
Merge branch 'test/spi_param_redund_desc' into 'master'
...
test_spi: fixed redundant quotes in test descriptions
See merge request espressif/esp-idf!19140
2022-07-23 02:22:58 +08:00
Darian
c8ee369a7c
Merge branch 'feature/deprecate-old-cpu-api' into 'master'
...
HAL: Deprecate old CPU/SoC/Interrupt Controller HAL API
Closes IDF-4919 and IDF-5032
See merge request espressif/esp-idf!18987
2022-07-23 00:37:33 +08:00
John
aaf35889b6
Change placeholder in ESP_LOGD conditionally depending on FF_FS_EXFAT
...
In case of using EXFAT by setting in ffconf.h:
the type FSIZE_t is changing from 4 to 8 bytes.
As a result, ESP_LOGD() in vfs_fat_lseek() does not compile:
error: format '%d' expects argument of type 'int', but argument 8 has type 'FSIZE_t' {aka 'long long unsigned int'} [-Werror=format=]
ESP_LOGD(TAG, "%s: offset=%ld, filesize:=%d", __func__, new_pos, f_size(file));
To solve the problem we need to change %d with %lld conditionally, depending on FF_FS_EXFAT.
Closes https://github.com/espressif/esp-idf/pull/9361
2022-07-22 16:52:14 +01:00
liuning
bc2f2a3100
esp_wifi: select slowclk as coex hardware timer source on esp32c2
2022-07-22 21:44:11 +08:00
Jiang Jiang Jian
88f2f5fdd7
Merge branch 'bugfix/default_config_sae_pwe_value' into 'master'
...
esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe
See merge request espressif/esp-idf!19015
2022-07-22 20:30:58 +08:00
Jakob Hasse
bff6826ee1
bugfix (esp_system): made xt_wdt spinlock static
2022-07-22 08:17:59 +00:00
Shreyas Sheth
341a92aaa5
esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe
2022-07-22 12:23:13 +05:30
Jiang Jiang Jian
0e874812a0
Merge branch 'bugfix/sync_reg_base' into 'master'
...
esp_wifi: fix crash in esp_wifi_set_ant_gpio()
Closes IDFGH-7720
See merge request espressif/esp-idf!19096
2022-07-22 14:07:33 +08:00
Jiang Jiang Jian
9a6ccb7f57
Merge branch 'bugfix/make_sure_sempher_and_queue_used_in_isr_is_in_DRAM' into 'master'
...
Bugfix/make sure sempher and queue used in isr is in dram
Closes WIFI-3571, IDFGH-7458, IDFGH-7342, and IDFGH-7569
See merge request espressif/esp-idf!19160
2022-07-22 14:04:27 +08:00
Jiang Jiang Jian
371a935e76
Merge branch 'bugfix/wpa2_enterprise_issues' into 'master'
...
esp_wifi: WPA2 enterprise related changes
Closes WIFI-4579
See merge request espressif/esp-idf!19162
2022-07-22 13:56:41 +08:00
Angus Gratton
bb141956df
nvs_partition_gen: Allow up to 4000 byte strings with NVS V2
...
As documented, the limit for NVS format v2 is 4000 bytes for a string.
2022-07-22 15:43:19 +10:00
Jiang Jiang Jian
22b17a3471
Merge branch 'bugfix/schm_process_in_active_crash' into 'master'
...
Coex: fixed crash when calculating end transfer time
See merge request espressif/esp-idf!18330
2022-07-22 11:02:08 +08:00
Cao Sen Miao
ec6a56ed0c
spi_flash: re-enable the HPM mode on several XMC chips
2022-07-22 09:54:56 +08:00
morris
c4e84751a5
driver: fix public header exceptions for driver
2022-07-22 00:12:36 +00:00
morris
9a921ada7f
rmt: const callback event data
2022-07-22 00:12:36 +00:00
morris
741b031e83
soc: added SOC_TOUCH_SENSE_SUPPORTED macro
2022-07-22 00:12:36 +00:00
morris
5dbae0c2cd
esp_adc: fix dead code reported by coverity
2022-07-22 00:12:36 +00:00
Guillaume Souchere
50a58b4a83
esp_hw_support: Fix formatting of intr_alloc.h and test_panic.c
2022-07-22 00:06:06 +08:00
Guillaume Souchere
0bac33ed41
esp_system: Remove deprecate section from esp_cpu.h
...
- Remove esp_cpu_in_ocd_mode() from esp_cpu.h. Users should call esp_cpu_dbgr_is_attached() instead.
- Remove esp_cpu_get_ccount() from esp_cpu.h. Users should call esp_cpu_get_cycle_count() instead.
- Remove esp_cpu_set_ccount() from esp_cpu.h. Users should call esp_cpu_set_cycle_count() instead.
- Other IDF components updated to call esp_cpu_dbgr_is_attached(), esp_cpu_get_cycle_count() and esp_cpu_set_cycle_count() as well.
2022-07-22 00:06:06 +08:00
Guillaume Souchere
dcae121d80
hal: Deprecate soc_hal.h and soc_ll.h interface
...
This commit marks all functions in soc_hal.h and soc_ll.h as deprecated.
Users should use functions from esp_cpu.h instead.
Also added missing wrap funcions for esp_cpu_stall() in test_panic.c files.
2022-07-22 00:06:06 +08:00
Guillaume Souchere
6005cc9163
hal: Deprecate interrupt_controller_hal.h, cpu_hal.h and cpu_ll.h interfaces
...
This commit marks all functions in interrupt_controller_hal.h, cpu_ll.h and cpu_hal.h as deprecated.
Users should use functions from esp_cpu.h instead.
2022-07-22 00:06:06 +08:00
Darian Leung
781d06af73
esp_hw_support: Remove compare_set.h API
...
This function removes the following legacy atomic CAS functions:
From compare_set.h (file removed):
- compare_and_set_native()
- compare_and_set_extram()
From portmacro.h
- uxPortCompareSet()
- uxPortCompareSetExtram()
Users should call esp_cpu_compare_and_set() instead as this function hides the details
of atomic CAS on internal and external RAM addresses.
Due to the removal of compare_set.h, some missing header includes are also fixed in this commit.
2022-07-22 00:06:06 +08:00
Darian Leung
d37fa7e244
esp_hw_support: Update spinlocks to use esp_cpu_compare_and_set()
...
esp_cpu_compare_and_set() abstracts the atomic compare-and-set instruction by
hiding the details of whether the target variable is in internal or external
RAM. This commit updates "spinlocks.h" as follows:
- esp_cpu_compare_and_set() is now called instead of "compare_set.h"
- Refactored spinlock logic to be more optimized and have more stringent sanity checks
2022-07-22 00:06:06 +08:00
Darian Leung
64117a0c59
esp_system: Fix esp_cpu_compare_and_set()
...
This commit fixes esp_cpu_compare_and_set() in the following ways
- Removed call to esp_ptr_external_ram() as it incurred > 80 CPU cycles (due to multiple nested
function calls, and those functions not being in IRAM). We now check manually if the pointer
is in external RAM for increased speed.
- Fixed infinite wait when attempting to get the external_ram_cas_lock. The function should
return immediatley if any part of the compare and set call fails.
- The preprocessor conditions of esp_cpu_compare_and_set() to depend on CONFIG_SPIRAM instead
of SOC_SPIRAM_SUPPORTED. Even if the target supports SPIRAM, we only need the external RAM
compare and set feature if SPIRAM is enabled.
Also fixed incorrect inclusion of esp_intr_alloc.h in esp_cpu.h
2022-07-22 00:06:06 +08:00
shenjun
4cfed490ad
esp_wifi: fix crash in esp_wifi_set_ant_gpio()
2022-07-21 22:18:08 +08:00
morris
454d658309
rgb_lcd: workaround pclk polarity bug by setting mo>=2
2022-07-21 13:06:09 +00:00
morris
a149afb0c0
rgb_lcd: support PLL240MHz clock source
2022-07-21 13:06:09 +00:00
David Čermák
36f49f361c
Merge branch 'bugfix/esp_netif_clean_deps_lwip' into 'master'
...
esp-netif/lw-ip: Make dependencies one-directional
Closes IDF-4459, IDF-4460, IDF-1099, and IDFGH-6287
See merge request espressif/esp-idf!18084
2022-07-21 20:18:05 +08:00
Jiang Jiang Jian
7a5f5760fd
Merge branch 'bugfix/optimize_beacon_timeout_issue' into 'master'
...
esp_wifi:bugfix optimize beacon timeout issue
Closes WIFI-4647
See merge request espressif/esp-idf!19153
2022-07-21 19:48:00 +08:00
Jiang Jiang Jian
cf5b097c88
Merge branch 'bugfix/further_fix_for_mspi_current_leakage' into 'master'
...
system/sleep: further fix spi flash/ram current leakage
Closes IDF-4720
See merge request espressif/esp-idf!18566
2022-07-21 19:14:26 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00
Armando (Dou Yiwen)
097e64f8c7
Merge branch 'bugfix/adc2_legacy_oneshot_clk_gating_issue' into 'master'
...
adc: fix legacy oneshot driver clock gating issue on c3 and c2
See merge request espressif/esp-idf!19144
2022-07-21 19:13:20 +08:00
Simon
62bc3348d5
Merge branch 'ci/flash_encryption_test' into 'master'
...
flash_encryption: Add several test environments for flash encryption test
Closes IDF-5530
See merge request espressif/esp-idf!19043
2022-07-21 18:38:18 +08:00
xueyunfei
07d2eaaead
esp_wifi:bugfix optimize beacon timeout issue
2022-07-21 08:23:59 +00:00
Dong Heng
37c18d9ee4
vfs: uart/cdcacm/usb_serial_jtag fcntl return read/write state
2022-07-21 16:16:44 +08:00
Kapil Gupta
951928960b
esp_wifi: WPA2 enterprise related changes
...
1. Removed DHE ciphers when mbedTLS is disabled since they take
too much processing power.
2. Removed support of SHA384 and SHA512 when mbedTLS is disabled
due to too much processing needed.
3. Fixed bugs in crypto_hash_init API which was causing
EAP connections to fail when mbedTLS was enabled.
4. Cleaned some code of crypto_hash_***
2022-07-21 13:33:18 +05:30
David Cermak
b8fa24d100
esp_netif/openthread: Update ot_br and ot_port libs
...
Add libraries with ot_port, that includes netif/lwip port layers
in esp-openthread
2022-07-21 10:01:19 +02:00
laokaiyao
edee3ee3cd
i2s: add slot sequence table
...
Closes: https://github.com/espressif/esp-idf/issues/9208
When I2S is configured into different modes, the slot sequence varies.
This commit updates slot sequence tables and corresponding descriptions
in (both code and programming guide).
2022-07-21 15:52:39 +08:00
laokaiyao
92ea22fe81
i2s: support esp32h2
2022-07-21 15:52:39 +08:00
laokaiyao
90866e99fb
i2s: add basic examples for STD/TDM/PDM mode
2022-07-21 15:52:39 +08:00
Jiang Jiang Jian
92b4e134bb
Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
...
Remove unused bluetooth init api
See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
Jiang Jiang Jian
080ba9a80e
Merge branch 'bugfix/phy_init_failed_when_wifi_deinit' into 'master'
...
bugfix for phy init failed when wifi deinit
Closes WIFI-4631
See merge request espressif/esp-idf!19127
2022-07-21 13:58:20 +08:00
baohongde
db308d2939
components/coex: Make sure sempher and queue used in isr is in DRAM
...
Closes https://github.com/espressif/esp-idf/issues/9032
Closes https://github.com/espressif/esp-idf/issues/8928
Closes https://github.com/espressif/esp-idf/issues/9129
2022-07-21 13:56:02 +08:00
baohongde
6d631d14de
components/bt: Make sure sempher and queue used in isr is in DRAM
2022-07-21 13:50:29 +08:00
Darian
0570c5db1a
Merge branch 'bugfix/freertos_xTaskIncrementTick' into 'master'
...
freertos: Fix xTaskIncrementTick() and xTaskResumeAll()
Closes IDF-4698 and IDF-4705
See merge request espressif/esp-idf!17204
2022-07-21 08:14:30 +08:00
Mahavir Jain
15039f367d
Merge branch 'update/update_certs_bundle' into 'master'
...
Update esp_crt_bundle certificates
See merge request espressif/esp-idf!19132
2022-07-21 06:14:41 +08:00
wangyuanze
ab0c4abd6e
rmt: add open-drain flag on tx channel
2022-07-20 14:12:43 +00:00
morris
8944479bcd
Merge branch 'feature/gpio_sigma_delta_ng' into 'master'
...
⛵ SDM Driver-NG (Sigma-Delta channel allocator)
Closes IDF-5261 and IDF-2877
See merge request espressif/esp-idf!18626
2022-07-20 21:30:12 +08:00
Sudeep Mohanty
dadafb753f
Merge branch 'bugfix/freertos_oneshot_timer_active_after_expiry' into 'master'
...
freertos: Fixed a bug where xTimerIsTimerActive incorrectly returns pdTRUE from callback
Closes IDFGH-6353
See merge request espressif/esp-idf!19076
2022-07-20 21:06:05 +08:00
David Cermak
e7afdff6ca
esp_netif: Make set_link_speed() conditional on MIB2_STATS
2022-07-20 14:59:34 +02:00
David Cermak
89bb1fdec1
esp_netif: Add error checks to dhcp server state transitions
2022-07-20 14:59:34 +02:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Jiang Jiang Jian
84ae84e3fe
Merge branch 'bugfix/fix_lora_ie_bcn' into 'master'
...
Fix missing LoRa IE length in SoftAP beacon
Closes WIFI-4495
See merge request espressif/esp-idf!18997
2022-07-20 20:23:02 +08:00
David Čermák
e7ccaaf9ca
Merge branch 'feature/update_mqtt_client' into 'master'
...
[MQTT] - Updates esp_mqtt configuration struct
See merge request espressif/esp-idf!18101
2022-07-20 19:52:04 +08:00
Kapil Gupta
b8267a59eb
Merge branch 'bugfix/wps_disable_disconnect' into 'master'
...
WiFi: Do not disconnect in WPS disable API incase WPS is done/scanning
Closes IDFGH-7807
See merge request espressif/esp-idf!19092
2022-07-20 18:47:32 +08:00
Nachiket Kukade
792472c419
esp_wifi: Update wifi libs
...
Add missing LoRa IE length while allocating for Beacon in SoftAP LoRa mode
2022-07-20 09:24:46 +00:00
morris
3277b11c39
Merge branch 'feature/esp_lcd_spi_rx_1' into 'master'
...
Add support SPI rx into LCD component
Closes IDFGH-7661
See merge request espressif/esp-idf!19020
2022-07-20 16:59:44 +08:00
Ivan Grokhotkov
e56b1fd59d
Merge branch 'feature/unity_runner_get_test_list' into 'master'
...
unity: expose some internal functions to allow iterating over tests
See merge request espressif/esp-idf!19056
2022-07-20 16:57:49 +08:00
Armando
638f39ff40
adc: fix legacy oneshot driver clock gating issue on c3 and c2
2022-07-20 16:35:59 +08:00
Michael (XIAO Xufeng)
5d24a207b6
test_spi: fixed redundant quotes in test descriptions
2022-07-20 15:36:10 +08:00
Vilem Zavodny
7b3fe6d832
esp_lcd: Add RX into SPI lcd panel.
2022-07-20 07:07:33 +00:00
Vilem Zavodny
a7bd917c42
esp_lcd: Fix code style.
2022-07-20 07:07:33 +00:00
Slamy
256945997d
fixed misaligned data transfer for ssd1306
...
(cherry picked from commit 46a2bf8ac9
)
2022-07-20 07:07:33 +00:00
morris
edb5600348
sdm: refactor example with new driver
2022-07-20 14:59:50 +08:00
morris
f33428f2e5
sdm: added channel allocator for sigma delta module
2022-07-20 14:59:50 +08:00
morris
e080248141
sdm: deprecate legacy driver
2022-07-20 14:59:50 +08:00
morris
4154eaec93
sdm: clean up soc/hal/ll code
2022-07-20 14:59:50 +08:00
morris
9e532696f4
pcnt: add const qualifier to event data
2022-07-20 14:59:50 +08:00
xueyunfei
b4d11d00ca
bugfix for phy init failed when wifi deinit
2022-07-20 14:16:08 +08:00
GengYuchao
964304b751
Change the selection based on target to function selection
2022-07-20 13:06:56 +08:00
Cao Sen Miao
e69f658ac6
flash_encryption: Add several test environments for flash encryption test
2022-07-20 12:49:42 +08:00
morris
bec44ca2e9
gptimer: test on c2 with xtal 26mhz
2022-07-20 04:40:28 +00:00
Mahavir Jain
075e0729de
Merge branch 'bugfix/mbedtls_dep_on_driver' into 'master'
...
mbedtls: remove dependency on driver component
Closes IDF-1265
See merge request espressif/esp-idf!19081
2022-07-20 12:04:34 +08:00
GengYuchao
298583b116
Fix nimble port api adapt remove esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
GengYuchao
fd055d3ba6
Fix example after removing API esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
GengYuchao
5430ad0519
Remove esp_nimble_hci_and_controller_init function
2022-07-20 11:44:00 +08:00
Darian Leung
38d974aca0
freertos: Update scheduler suspension unit tests
...
This commit updates unit tests for vTaskSuspendAll()/xTaskResumeAll().
2022-07-20 11:32:10 +08:00
Darian Leung
ac38f9aaf1
freertos: Rename scheduler suspension test file
2022-07-20 11:32:10 +08:00
Darian Leung
db26ff2503
freertos: Fix vTaskSuspendAll() and xTaskResumeAll()
...
This commit fixes vTaskSuspendAll() and xTaskResumeAll() in the following ways.
- For vTaskSuspendAll()
- Sync function source code with upstream single core version
- Clearly mark IDF additions
- For xTaskResumeAll()
- Sync function source code with upstream single core version
- Clearly mark IDF additions
- Fix bug where cores other than core 0 were allowed to unwind pended ticks
2022-07-20 11:32:10 +08:00
Darian Leung
5971253971
freertos: Fix vTaskStepTick() and xTaskCatchUpTicks()
...
This commit fixes the following issues:
- Clearly mark IDF additions in vTaskStepTick() and xTaskCatchUpTicks()
- Add back vTaskSuspendAll()/xTaskResumeAll() to xTaskCatchUpTicks(). Scheduler
suspension and resumption is required to unwind the pended ticks.
2022-07-20 11:32:10 +08:00
Darian Leung
7a4e1fee99
freertos: Fix xTaskIncrementTick()
...
Previously, xTaskIncrementTick() would always trigger a yield (i.e., return pdTRUE)
when called on core 1. This would mean core 1 would call vTaskSwitchContext() on
every tick, leading to uneccesary CPU overhead.
This commit fixes xTaskIncrementTick() in the following ways:
- Clearly mark IDF additions in xTaskIncrementTick()
- Moved esp_vApplicationTickHook() to be called direclty in xPortSysTickHandler() in order to
simplify xTaskIncrementTick().
- Only core 0 calls xTaskIncrementTick() in order to simplify the function's logic. Core 0 is
solely responsible for managing xTickCount and xPendedTicks
- All other cores call xTaskIncrementTickOtherCores() instead which is a simplified version of
xTaskIncrementTick() and handles the following:
- Check if core 0 has unblocked a higher priority task to run
- Check if the current core requires time slicing
- Call vApplicationTickHook()
2022-07-20 11:31:50 +08:00
Espressif BOT
72fe927e85
Update esp_crt_bundle certificates
2022-07-20 10:00:11 +08:00
Marius Vikhammer
1315f85e01
docs: fixed misc broken links
2022-07-20 09:43:52 +08:00
Song Ruo Jing
4734b1433b
Merge branch 'bugfix/gpio_hal_coverity_fix' into 'master'
...
gpio: Fix ESP32S3 GPIO48 does not support hold function bug and Fix coverity report
Closes IDF-4901
See merge request espressif/esp-idf!18805
2022-07-19 21:37:15 +08:00
Armando (Dou Yiwen)
9f6f61345b
Merge branch 'feature/adc_driver_ng' into 'master'
...
ADC Driver NG
Closes IDF-4560, IDF-3908, IDF-4225, IDF-2482, IDF-4111, IDF-3610, IDF-4058, IDF-3801, IDF-3636, IDF-2537, IDF-4310, IDF-5150, IDF-5151, and IDF-4979
See merge request espressif/esp-idf!17960
2022-07-19 21:28:31 +08:00
Sudeep Mohanty
5e1437deb8
freertos: Fixed a bug where xTimerIsTimerActive incorrectly returns pdTRUE from callback
...
This commit fixes the following:
- Fixes a bug wherein the timer status is active for oneshot timers that
expire before they are started.
- Callback calls for periodic timers where made before the timers were
auto-reloaded.
- Timer expiry trace was being set after the timer callback is called.
Closes https://github.com/espressif/esp-idf/issues/8014
2022-07-19 10:42:09 +02:00
Jakob Hasse
1f75fc0aa1
bugfix (esp_timer): made os spinlock static
2022-07-19 15:35:32 +08:00
Marius Vikhammer
12dcb95644
Merge branch 'ci/remove_temp_deepsleep_tag' into 'master'
...
ci: remove temp deepsleep tag runner
Closes IDF-5213
See merge request espressif/esp-idf!18654
2022-07-19 14:58:33 +08:00
Mo Fei Fei
f3a16d5122
Merge branch 'docs/update_nvs_encryption_cn_trans' into 'master'
...
Docs: Update CN translation for nvs encryption docs
Closes DOC-3202
See merge request espressif/esp-idf!18938
2022-07-19 14:47:16 +08:00
Simon
7c14328daa
Merge branch 'fix/i2c_clk_26M' into 'master'
...
I2C: Add the I2C clock tree, and support 26M XTAL on ESP32-C2
Closes IDF-5005, IDF-5415, and IDF-4535
See merge request espressif/esp-idf!19057
2022-07-19 13:34:22 +08:00
Chen Jian Xing
c449abc8cd
Merge branch 'feat/esp32c2_26M_phy_support' into 'master'
...
esp_phy: Support 26M and 40M crystal for esp32c2 phy
See merge request espressif/esp-idf!19010
2022-07-19 13:00:55 +08:00
Marius Vikhammer
e4cbaa6f2b
ci: remove temp deepsleep tag runner
2022-07-19 12:12:46 +08:00
Cao Sen Miao
53580a62b5
I2C: Fullfill the I2C clock tree, and support 26M XTAL on ESP32-C2
2022-07-19 11:41:42 +08:00
Mahavir Jain
508661b03e
Merge branch 'bugfix/ipc_O0_stack' into 'master'
...
ipc: Increase stacksize when compiling with -O0
Closes IDFCI-1372 and IDFCI-1360
See merge request espressif/esp-idf!19083
2022-07-19 00:37:08 +08:00
Mahavir Jain
a94c74c26b
mbedtls: remove dependency on driver component
...
- keep `esp_pm` dependency conditional in mbedtls
- refactor `bt` cmakelist to keep dependencies as private
Related: IDF-1265
2022-07-18 21:10:51 +05:30
David Čermák
5548f5acd6
Merge branch 'bugfix/lwip_ondemand_timers_num_system_timeout' into 'master'
...
lw ip: Fix on-demand timers to update internal system touts
Closes IDFGH-7595
See merge request espressif/esp-idf!18724
2022-07-18 21:56:57 +08:00
morris
9df1b0e3a1
Merge branch 'bugfix/not_test_bounce_buffer_mode_iram_safe' into 'master'
...
rgb_lcd: don't test bounce buffer mode with iram-safe
See merge request espressif/esp-idf!19089
2022-07-18 18:22:53 +08:00
Jiang Jiang Jian
5b771082bd
Merge branch 'bugfix/wifi_owe_memory_leak' into 'master'
...
esp_wifi:bugfix for wifi owe memory leak
Closes WIFI-4589
See merge request espressif/esp-idf!19011
2022-07-18 17:53:51 +08:00
Kapil Gupta
9d98cd8f8d
WiFi: Do not disconnect in WPS disable incase WPS is done/scanning
...
Closes https://github.com/espressif/esp-idf/issues/9341
2022-07-18 14:57:01 +05:30
Jiang Jiang Jian
633a9f744a
Merge branch 'bugfix/OWE_memory_leak' into 'master'
...
esp_wifi : fixed OWE memory leak
See merge request espressif/esp-idf!19061
2022-07-18 17:20:36 +08:00
morris
05c51093c8
rgb_lcd: don't test bounce buffer mode with iram-safe
...
(cherry picked from commit 3ece942704
)
2022-07-18 14:57:50 +08:00
morris
3ece942704
rgb_lcd: don't test bounce buffer mode with iram-safe
2022-07-18 14:55:11 +08:00
intern
4866e91398
docs: update nvs encryption cn trans
2022-07-18 14:40:56 +08:00
Kapil Gupta
882ad4e5e7
Merge branch 'feature/eloop_debug_framework' into 'master'
...
wpa_supplicant: Add debug info for eloop functions
See merge request espressif/esp-idf!18451
2022-07-18 14:17:25 +08:00
Marius Vikhammer
ccc184de51
ipc: Increase stacksize when compiling with -O0
2022-07-18 13:55:03 +08:00
David Čermák
1334011d4f
Merge branch 'bugfix/transport_foundation_intialization' into 'master'
...
tcp_transport: Fix initialition of transport
See merge request espressif/esp-idf!17869
2022-07-16 16:28:49 +08:00
Euripedes Rocha
ff1c405ed1
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Armando
5b523a3313
esp_adc: new esp_adc component and adc drivers
2022-07-15 18:31:00 +08:00
Shyamal Khachane
88db86672d
fix for OWE memory leak
2022-07-15 14:29:32 +05:30
songruojing
145454356b
gpio: Fix ESP32S3 GPIO48 does not support hold function bug
...
GPIO_HOLD_MASK array was missing the last item
Add __Static_assert to check array sizes for all gpio_periph.c files to prevent same mistake in the future.
2022-07-15 16:51:25 +08:00
songruojing
0c4b9a0101
gpio: Fix HAL bad bit shift operation on gpio_num_t reported from coverity
...
All gpio hal and ll functions input arguments gpio_num_t are changed to uint32_t type.
Validation of gpio num should be guaranteed from the driver layer.
2022-07-15 16:51:25 +08:00
David Čermák
c65d818c1d
Merge branch 'bugfix/set_ipv6_dns_error' into 'master'
...
lw ip: Fixed that ipv6 dns cannot work
See merge request espressif/esp-idf!19018
2022-07-15 14:50:02 +08:00
David Čermák
1a7dfa42e6
Merge branch 'bugfix/cpp_include_fix_newlib_net_if_h' into 'master'
...
Add C++ include guard to if.h (to fix linker errors in asio) (GitHub PR)
Closes IDFGH-7718
See merge request espressif/esp-idf!18850
2022-07-15 13:16:47 +08:00
Jiang Jiang Jian
7497a5287c
Merge branch 'bugfix/fix_bluedroid_host_memory_overflow' into 'master'
...
Fixed bluedroid host memory overflow
Closes BT-2397
See merge request espressif/esp-idf!18897
2022-07-15 11:52:33 +08:00
Wang Yuan Ze
b666bdb01e
Merge branch 'example/fix_ir_nec_transceiver_issue' into 'master'
...
example: Fix rmt callback memory issue in ir_nec_transceiver
See merge request espressif/esp-idf!19040
2022-07-15 11:39:36 +08:00
Ivan Grokhotkov
09c70d5781
unity: expose some internal functions to allow iterating over tests
2022-07-14 19:47:46 +02:00
Ondrej Kosta
c0312e3242
Merge branch 'feature/improve_spi_ethernet_init' into 'master'
...
esp_eth: SPI Ethernet modules initialization simplification
Closes IDF-3902
See merge request espressif/esp-idf!18663
2022-07-15 00:02:23 +08:00
Rahul Tank
19bea043fb
Merge branch 'bugfix/os_mbuf_free_c2_h2' into 'master'
...
Fixed os_mbuf_free compilation error for esp32c2 and esp32h2
See merge request espressif/esp-idf!19033
2022-07-14 23:16:59 +08:00
xueyunfei
1f9fa7b1b2
esp_wifi:bugfix for wifi owe memory leak
2022-07-14 20:34:15 +08:00
Euripedes Rocha
5778a7c726
[tcp_transport] Fix initialition of transport
...
- Foundation was initialized only for SSL.
- Removed base from list.
- Changed SSL and TCP initialition.
- Clean of state data structures.
2022-07-14 12:29:58 +00:00
Fu Hanxi
7b5a3af407
Merge branch 'feat/reorg_examples' into 'master'
...
feat: new find_build_apps rules with centralized manifest file
Closes IDFCI-1061, IDF-3553, IDFCI-941, IDFCI-1359, and IDFCI-1361
See merge request espressif/esp-idf!18299
2022-07-14 20:04:12 +08:00
zhiweijian@espressif.com
4bd267ac9a
Fixed bluedroid host memory overflow
2022-07-14 19:35:22 +08:00
wangyuanze
61f19094b0
example: fix rmt callback memory issue in ir_nec_transceiver
2022-07-14 18:59:38 +08:00
Ondrej Kosta
bb6c6aff36
esp_eth: SPI Ethernet modules initialization simplification
2022-07-14 08:46:22 +02:00
David Cermak
adb79a4852
newlib: Fix header issues with C++ guards and implicit inclusion
...
* Added C++ sentinels if missed
* Used #pragma once, removed macro's with leading underscores
* Updated copyright checker to allow "BSD-2-Clause-FreeBSD AND
Apache-2.0" for newlib files
* Fixed minor compilation issues/implicit inclusions
2022-07-14 08:32:04 +02:00
morris
a33a183365
rgb_lcd: support double buffer
...
also cleaned up the bounce buffer code
2022-07-14 14:05:47 +08:00
morris
9ea3f6f3e7
rgb_lcd: support 8bit RGB (SRGB) interface
2022-07-14 14:05:47 +08:00
morris
ad35ed2e58
rgb_lcd: update unit test for more features
...
test 8bit RGB interface
test PCLK can be changed at runtime
test bounce buffer mode
adapted to the new LCD board
2022-07-14 14:05:47 +08:00
morris
4bccd3b635
rgb_lcd: rename relax_on_idle to refresh_on_demand
2022-07-14 14:05:47 +08:00
morris
1dab4af3e8
rgb_lcd: added API to manually refresh the LCD
2022-07-14 14:05:47 +08:00
morris
140536892d
rgb_lcd: added API to get the frame buffer(s)
2022-07-14 14:05:47 +08:00
morris
226bd6bc2d
rgb_lcd: add doc for various frame buffer modes
2022-07-14 14:05:47 +08:00
morris
ada0ba7717
rgb_lcd: unify the way to register event callbacks
2022-07-14 14:05:47 +08:00
0xFEEDC0DE64
48c5b45e99
Add C++ include guard to if.h (to fix linker errors in asio)
2022-07-14 07:48:58 +02:00
David Cermak
58b0def0d9
lwip: Fix on-demand timers to update internal system touts
...
If on-demand timers (IGMP+MLD6) were enabled, idf updated user config
MEMP_NUM_SYS_TIMEOUT. The implementation of these timers are in lwip
project so the internal system timeout shall be updated accordingly,
enabling port layers to modify MEMP_NUM_SYS_TIMEOUT.
Closes https://github.com/espressif/esp-idf/issues/9150
2022-07-14 05:09:53 +00:00
Isha Pardikar
183100fc28
Nimble: Fixed compilation error for esp32c2 and esp32h2 when os_mbuf_free is called.
2022-07-14 09:41:05 +05:30
Chen Jian Xing
27d096fb63
Merge branch 'bugfix/fix_beacon_timeout_timer_assert_issue' into 'master'
...
esp_wifi: fix sta reset beacon timeout timer issue
Closes IDFGH-7489 and IDFCI-1357
See merge request espressif/esp-idf!19021
2022-07-14 11:30:05 +08:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
Fu Hanxi
f04a0cc526
fix: bypass Manually-specified variables were not used by the project warning
...
the variable "IDF_TARGET" is only used under a if clause
"if(ULP_C0CPU_IS_RISCV)". while building a non-riscv target,
there will be a cmake warning:
CMake Warning:
Manually-specified variables were not used by the project:
IDF_TARGET
2022-07-14 08:26:01 +08:00
Fu Hanxi
1129bd7587
test: increase test gpio time timeout
2022-07-14 08:26:01 +08:00
Ivan Grokhotkov
230e732018
Merge branch 'feature/system_init_priorities' into 'master'
...
esp_system: introduce priorities for startup functions
Closes IDFGH-5683 and IDF-4954
See merge request espressif/esp-idf!18159
2022-07-14 06:22:25 +08:00
Ivan Grokhotkov
02f28ef32a
Merge branch 'bugfix/esp_error_check_func_addr' into 'master'
...
esp_err: two minor issues
Closes IDFGH-7530
See merge request espressif/esp-idf!18665
2022-07-14 04:14:16 +08:00
Mahavir Jain
20e21fb29d
Merge branch 'refactor/remove_rom_deps' into 'master'
...
RFC: remove dependency to target-specific ROM headers
Closes IDF-1968
See merge request espressif/esp-idf!18206
2022-07-13 16:44:44 +08:00
muhaidong
8daab872c5
esp_wifi: fix sta reset beacon timeout timer issue
2022-07-13 16:35:34 +08:00
Jiang Jiang Jian
b610b47a83
Merge branch 'feature/esp32s3_memprot_additional_improvements' into 'master'
...
[System/Security] Memprot after-merge improvements (v5.0)
Closes IDF-5263 and IDF-5208
See merge request espressif/esp-idf!18893
2022-07-13 15:48:20 +08:00
Jiang Jiang Jian
9a5f9804de
Merge branch 'bugfix/eapol_drop_issue' into 'master'
...
esp_wifi: Clear old keys before going for new connection
Closes WIFI-4542
See merge request espressif/esp-idf!18967
2022-07-13 14:07:50 +08:00
Jiang Jiang Jian
8d98fbe26a
Merge branch 'bugfix/remove_unused_ble_rtc_source_sel' into 'master'
...
Remove can not use wake up source for esp32h2
See merge request espressif/esp-idf!18966
2022-07-13 13:50:26 +08:00
Chen Wu
f65071000a
lwip: Fixed that ipv6 dns cannot work
2022-07-13 11:48:04 +08:00
Mahavir Jain
510515eb7d
Merge branch 'bugfix/flash_encryption_8l_psram' into 'master'
...
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled
Closes IDFGH-7702 and IDFGH-7746
See merge request espressif/esp-idf!18980
2022-07-13 11:38:12 +08:00
Jakob Hasse
33a3616635
refactor (bootloader_support, efuse)!: remove target-specific rom includes
...
The following two functions in bootloader_support are private now:
* esp_secure_boot_verify_sbv2_signature_block()
* esp_secure_boot_verify_rsa_signature_block()
They have been moved into private header files
inside bootloader_private/
* Removed bootloader_reset_reason.h and
bootloader_common_get_reset_reason() completely.
Alternative in ROM component is available.
* made esp_efuse.h independent of target-specific rom header
2022-07-13 10:29:02 +08:00
Ivan Grokhotkov
9a00475bd9
esp_common: include stdlib.h into esp_err.h for 'abort' declaration
...
Closes https://github.com/espressif/esp-idf/issues/9093
2022-07-12 17:01:47 +02:00
Ivan Grokhotkov
ca7c9947fc
esp_system: fix address printed by ESP_ERROR_CHECK
...
...to point to the calling function, not to _esp_error_check_failed.
2022-07-12 17:01:47 +02:00
Ivan Grokhotkov
a334cd50ce
app_trace: perform initialization using ESP_SYSTEM_INIT_FN
2022-07-12 16:58:15 +02:00
Ivan Grokhotkov
0e53b32d2e
esp_hw_support: perform sleep initialization using ESP_SYSTEM_INIT_FN
2022-07-12 16:58:15 +02:00
Ivan Grokhotkov
bb771fb7c4
esp_timer: perform initialization using ESP_SYSTEM_INIT_FN
...
(startup.c still calls esp_timer_early_init directly)
2022-07-12 16:58:15 +02:00
Ivan Grokhotkov
42654927d5
esp_system: add a script to check the startup priorities
2022-07-12 16:58:14 +02:00
Ivan Grokhotkov
523aacd413
esp_system: allow defining priorities for startup functions
...
* Some components have initialization dependencies. To account for
them, simple numeric priority values are introduced.
* esp_system_init_fn_array moved into Flash from DRAM
* System init functions defined using ESP_SYSTEM_INIT_FN now return
an error code. This enables simpler and more consistent error
handling in the init functions. Returning an error from an init
function is now a valid approach — the startup code will print
an error and abort.
2022-07-12 16:58:14 +02:00
Jiang Jiang Jian
258585f50a
Merge branch 'bugfix/correct_blecmd_for_rf_path' into 'master'
...
Bluedroid: Fixed compilation error due to incorrect macro name
See merge request espressif/esp-idf!18983
2022-07-12 19:35:40 +08:00
Kapil Gupta
ff00a1c7a2
esp_wifi: Clear old keys before going for new connection
2022-07-12 16:37:55 +05:30
Jessy Chen
631bf1ad63
esp_phy: Support 26M and 40M crystal for esp32c2 phy
2022-07-12 05:59:26 -04:00
Jiang Jiang Jian
4c1f114eab
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data' into 'master'
...
components/bt: Fix ble sync periodic adv report will lost data
See merge request espressif/esp-idf!18957
2022-07-12 16:18:01 +08:00
Cao Sen Miao
683d92bc88
flash_encryption: Fix issue that flash encryption cannot work when 8-line psram enabled,
...
Closes https://github.com/espressif/esp-idf/issues/9244 ,
Closes https://github.com/espressif/esp-idf/issues/9287
2022-07-12 16:08:57 +08:00
Li Qi Gan
e58bb91c2f
Merge branch 'bugfix/fix_memory_leak_in_hidh' into 'master'
...
Fix memory leak in bt_hidh.c
Closes IDFGH-7786
See merge request espressif/esp-idf!18968
2022-07-12 15:51:56 +08:00
Jiang Jiang Jian
1523a1bdef
Merge branch 'bugfix/fix_esp32_c3_s3_adv_report_duplicate_check' into 'master'
...
Fix esp32c3/s3 adv report duplicate check
Closes BT-2440
See merge request espressif/esp-idf!18961
2022-07-12 14:00:33 +08:00
Omar Chebib
e5c83211a7
Merge branch 'bugfix/interrupt_stack_bss' into 'master'
...
System: move interrupt stack to .bss instead of .data section
Closes IDFGH-7635
See merge request espressif/esp-idf!18697
2022-07-12 13:44:07 +08:00
GengYuchao
df6d3eb602
Remove can not use wake up source for esp32h2
2022-07-12 11:23:59 +08:00
Jiang Jiang Jian
3630713e5f
Merge branch 'docs/esp32c2_sys_feature_api_guides' into 'master'
...
docs: update system API-guides for ESP32-C2
Closes IDF-4202, IDF-4213, and IDF-4222
See merge request espressif/esp-idf!18979
2022-07-12 10:59:12 +08:00
Jiang Jiang Jian
eba22b98fd
Merge branch 'bugfix/fix_beacon_timeout_timer_issue' into 'master'
...
esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon
Closes IDFGH-7489
See merge request espressif/esp-idf!18963
2022-07-12 10:46:18 +08:00
Jakob Hasse
3010c41dc7
Merge branch 'bugfix/freertos_tasks_unused_var' into 'master'
...
bugfix (freertos): removed unused variable in tasks.c
See merge request espressif/esp-idf!18976
2022-07-12 09:56:31 +08:00
Marius Vikhammer
f463c42791
Merge branch 'bugfix/ringbuf_iram_fix' into 'master'
...
esp_ringbuf: placement in flash is no longer controlled by...
Closes IDFGH-7646
See merge request espressif/esp-idf!18774
2022-07-12 09:56:25 +08:00
Marius Vikhammer
d62421619c
docs: update system API-guides for ESP32-C2
2022-07-12 09:32:43 +08:00
Roland Dobai
3d1508db9d
Tools: Make espcoredump.py executable
...
Closes https://github.com/espressif/esp-idf/issues/9319
2022-07-11 17:32:47 +02:00
muhaidong
52f378ac7b
esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon
2022-07-11 20:54:25 +08:00
Rahul Tank
ac54468d1b
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-11 16:40:51 +05:30
Jakob Hasse
0adb313441
bugfix (freertos): removed unused variable in tasks.c
2022-07-11 18:18:09 +08:00
Omar Chebib
bac62cfac8
System: move interrupt stack to .bss instead of .data section
...
The interrupt stack for Xtensa targets is now declared in C, automatically moving it to .bss section instead of .data section.
* Closes https://github.com/espressif/esp-idf/issues/9188
2022-07-11 17:49:21 +08:00
xiewenxiang
947d082b44
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:51:22 +08:00
Jiang Jiang Jian
86deb8c0f5
Merge branch 'bugfix/remove_ulp_tsens' into 'master'
...
ulp: remove ESP32 ULP TSENS references
Closes IDF-1485
See merge request espressif/esp-idf!18883
2022-07-11 16:31:43 +08:00
Song Ruo Jing
ea97cc93ea
Merge branch 'feature/c2_systimer_26mhz' into 'master'
...
esp32c2: 26 MHz XTAL support: Kconfig option, systimer support
Closes IDF-5412 and IDF-5413
See merge request espressif/esp-idf!18835
2022-07-11 16:17:25 +08:00
Wang Meng Yang
13d141de27
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg' into 'master'
...
bugfix/fix the issue of functions not defined when enable memory debug
Closes IDFGH-9248
See merge request espressif/esp-idf!18802
2022-07-11 15:36:46 +08:00
xiongweichao
b0b6ad21f8
coex: fixed crash when calculating end transfer time
2022-07-11 15:26:53 +08:00
liqigan
ea63a42f15
fix memory leak in esp_bt_hidh_dev_report_write and esp_bt_hidh_dev_set_report in bt_hidh.c
...
Closes https://github.com/espressif/esp-idf/issues/9323
2022-07-11 14:30:00 +08:00
Jiang Jiang Jian
4644e2c302
Merge branch 'bugfix/fix_esp32_ke_mem_c_assert' into 'master'
...
Fixed esp32 BLE ke_mem.c assert
See merge request espressif/esp-idf!18916
2022-07-11 14:02:39 +08:00
Anton Maklakov
22802392bc
Merge branch 'fix/spinlock-performance' into 'master'
...
freertos: fix inlining for xtensa port
Closes IDF-5178, IDF-5221, and IDF-5179
See merge request espressif/esp-idf!18641
2022-07-11 12:33:20 +08:00
Marius Vikhammer
6cc871d793
Merge branch 'feature/ulp_riscv_adc' into 'master'
...
ulp-riscv: add support for using ADC as well as an example show-casing it.
Closes IDFGH-7564 and IDF-1714
See merge request espressif/esp-idf!18767
2022-07-11 12:30:31 +08:00
songruojing
996fb0cce8
G0: hal/regi2c_ctrl.h now defines all REGI2C macros to pass g0_components build test
2022-07-11 12:24:58 +08:00
wuzhenghui
a9c8065030
Kconfig: Update dependencies to avoid invalid configurations
...
1. Since the baud rate in the ROM cannot be changed,
set the default baud rate of the 26Mhz version
of esp32c2 to 74800
2. Since the systimer configuration of the 26Mhz
version requires a non-integer systimer frequency
configuration, and this feature is not supported
in the current ROM, this option is disabled for
the 26Mhz version esp32c2
2022-07-11 12:24:58 +08:00
songruojing
b3d8db3ae2
bootloader, esp_system: esp32c2 console uart to support 26MHz xtal
...
Gets the XTAL frequency from the RTC storage register, remove UART_CLK_FREQ_ROM macro from soc.h
2022-07-11 12:24:58 +08:00
songruojing
ef813b23fa
rtc: esp32c2 support 26MHz xtal in startup code and rtc_clk.c
2022-07-11 12:24:58 +08:00
Ivan Grokhotkov
2e37218ce5
soc, hal: remove XTAL_CLK_FREQ
...
XTAL_CLK_FREQ now depends on the actual XTAL used, remove this macro
and get the XTAL frequency from the RTC register instead.
No uses of XTAL_CLK_FREQ found, other than in the UART LL.
2022-07-11 12:24:58 +08:00
Ivan Grokhotkov
5b54ae76d4
esp_timer, hal: add support for non-integer systimer frequency
...
When ESP32-C2 is paired with a 26 MHz XTAL, the systimer tick
frequency becomes equal to 26 / 2.5 = 10.4 MHz. Previously we always
assumed that systimer tick frequency is integer (and 1 MHz * power of
two, above that!).
This commit introduces a new LL macro, SYSTIMER_LL_TICKS_PER_US_DIV.
It should be set in such a way that:
1. SYSTIMER_LL_TICKS_PER_US / SYSTIMER_LL_TICKS_PER_US_DIV equals the
actual systimer tick frequency,
2. and SYSTIMER_LL_TICKS_PER_US is integer.
For ESP32-C2 this means that SYSTIMER_LL_TICKS_PER_US = 52 and
SYSTIMER_LL_TICKS_PER_US_DIV = 5.
This introduced two possible issues:
1. Overflow when multiplying systimer counter by 5
- Should not be an issue, since systimer counter is 52-bit, so
counter * 5 is no more than 55-bit.
2. The code needs to perform:
- divide by 5: when converting from microseconds to ticks
- divide by 52: when converting from ticks to microseconds
The latter potentially introduces a performance issue for the
esp_timer_get_time function.
2022-07-11 12:24:37 +08:00
Omar Chebib
f5c3c533bb
Merge branch 'bugifx/heap_prefer_call_failed_callback' into 'master'
...
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
Closes IDFGH-7521
See merge request espressif/esp-idf!18427
2022-07-11 11:57:05 +08:00
Jiang Jiang Jian
9873d4d138
Merge branch 'bugfix/s2_s3_stack_extmem_config' into 'master'
...
psram: make SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configurable on S2 and S3
See merge request espressif/esp-idf!18894
2022-07-11 10:54:59 +08:00
chenjianhua
42667adf70
fix esp32c3/s3 adv report duplicate check
2022-07-11 10:25:32 +08:00
Marius Vikhammer
e8b5096f52
ulp-riscv: add support for using ADC as well as an example show-casing it.
2022-07-11 09:31:22 +08:00
Marius Vikhammer
fd37129651
esp_ringbuf: placement in flash is no longer controlled by CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH
...
esp-ringbuf funtion placement is now controlled by its own configs:
CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH and CONFIG_RINGBUF_PLACE_ISR_FUNCTIONS_INTO_FLASH
Closes https://github.com/espressif/esp-idf/issues/9198
2022-07-11 09:24:20 +08:00
Jiang Jiang Jian
7087449d43
Merge branch 'doc/ble_deinit' into 'master'
...
components/bt: Add description for de-initialize bt controller
See merge request espressif/esp-idf!17431
2022-07-10 15:37:13 +08:00
Martin Vychodil
0c87ae2a91
System/Security: Memprot API unified (ESP32S3)
...
Added missing features and improvements
2022-07-09 22:57:51 +02:00
Djordje Nedic
0331d0aa63
tools: Introduce support for blank lines in config and value files for mfg utility
...
Some users have requested this feature.
In order to avoid complete refactoring or introducing more code complexity, a design choice to create temporary files without blank lines is made.
Additionally, an extension check is added and there are multiple smaller code style and structure improvements.
Closes https://github.com/espressif/esp-idf/issues/8421
2022-07-08 13:22:35 +00:00
Jiang Jiang Jian
9ec829f352
Merge branch 'bugfix/wifi_sta_and_ble_disconnect_BCI-303_master' into 'master'
...
component_bt: Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
Closes BCI-303
See merge request espressif/esp-idf!18643
2022-07-08 19:43:10 +08:00
Wei Tian Hua
8699a10929
Merge branch 'bugfix/redesign_hf_ag_init_deinit_api_param' into 'master'
...
component_bt: Change HF AG API
See merge request espressif/esp-idf!18592
2022-07-08 16:57:20 +08:00
Jiang Jiang Jian
a7bf3af687
Merge branch 'bugfix/reset_ble_hw_on_inititalization' into 'master'
...
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
Closes BT-2402
See merge request espressif/esp-idf!18831
2022-07-08 16:21:41 +08:00
Ivan Grokhotkov
f0f9890096
bootloader: set the initial XTAL frequency based on the Kconfig option
2022-07-08 15:04:26 +08:00
Ivan Grokhotkov
672e70a023
esp_hw_support: add 26 MHz XTAL option for esp32c2
...
Some esp32c2 boards will be produced with a 26 MHz XTAL. This commit
adds the basic Kconfig option for this type of hardware.
Support for CONFIG_ESP32C2_XTAL_FREQ_26 in other areas of IDF will be
implemented in subsequent commits.
2022-07-08 15:04:17 +08:00
Jiang Jiang Jian
7e2ee82160
Merge branch 'bugfix/fix_qos_null_update_ba_ssn' into 'master'
...
wifi:bugfix fix qos null update ba ssn
Closes IDFGH-6811
See merge request espressif/esp-idf!18882
2022-07-08 14:00:11 +08:00
Mahavir Jain
03c1ada871
Merge branch 'bugfix/netif_interface_reg_sequence_issue' into 'master'
...
esp_wifi: netif: set interface before registering Wi-Fi driver RX callback
Closes WIFI-4515 and WIFI-4472
See merge request espressif/esp-idf!18895
2022-07-08 13:23:31 +08:00
xiewenxiang
451a1dd937
doc(bt): Add description for de-initialize bt controller
2022-07-08 10:58:32 +08:00
jincheng
3de3a8b354
fix the issue of functions not defined when enable memory debug
...
Closes https://github.com/espressif/esp-idf/issues/9248
2022-07-08 10:57:29 +08:00
Shen Jun
d09e4d673c
Merge branch 'bugfix/fix_esp32c2_tx_crash_issue' into 'master'
...
esp_wifi: fix esp32c2 tx crash issue
Closes WIFI-4581
See merge request espressif/esp-idf!18911
2022-07-08 10:37:27 +08:00
Roland Dobai
55d95dd813
Merge branch 'fix/esptool_esp32c2_minrev_v2' into 'master'
...
tools: Generate images for ESP32-C2 with required minimal revision
Closes IDF-5303
See merge request espressif/esp-idf!18917
2022-07-08 05:41:57 +08:00
Jiang Jiang Jian
f0172d5ae0
Merge branch 'bugfix/fix_wrong_params_in_hidd' into 'master'
...
Fix wrong parameter of get_report_by_id_and_type in bt_hidd.c
See merge request espressif/esp-idf!18892
2022-07-08 01:10:20 +08:00
zwj
9a46d06532
fix esp32 BLE ke_mem.c assert
2022-07-07 11:23:11 +00:00
Darian
ceffde5cb6
Merge branch 'bugfix/coredump_shebang' into 'master'
...
espcoredump: Fix espcoredump.py shebang and file mode
See merge request espressif/esp-idf!18902
2022-07-07 19:20:15 +08:00
Alexey Lapshin
7e5a7921fe
freertos: fix inlining for xtensa port
2022-07-07 09:04:51 +00:00
Guillaume Souchere
9b8c558e63
Merge branch 'bugfix/backtrace_formatting_add_missing_space' into 'master'
...
Reverts Backtrace: format to what it used to be
Closes IDFGH-7580
See merge request espressif/esp-idf!18783
2022-07-07 16:51:47 +08:00
morris
75bd6fc2d9
Merge branch 'contrib/github_pr_9302' into 'master'
...
ESP32S3 USB external PHY pinout (GitHub PR)
Closes IDFGH-7761
See merge request espressif/esp-idf!18909
2022-07-07 16:17:26 +08:00
Roland Dobai
9ee3661b4b
tools: Generate images for ESP32-C2 with required minimal revision
2022-07-07 15:44:55 +08:00
xueyunfei
95591fdf65
wifi:bugfix fix qos null update ba ssn
2022-07-07 15:23:29 +08:00
Marius Vikhammer
f78d13398e
Merge branch 'bugfix/enable_freertos_tests_c2' into 'master'
...
freertos: re-enable tests disabled for C2
Closes IDF-5140
See merge request espressif/esp-idf!18885
2022-07-07 14:14:46 +08:00
Rahul Tank
020dc7b2ec
Merge branch 'bugfix/fix_extra_event_init_periodic' into 'master'
...
NimBLE: Removed extra event init done during periodic_sync_alloc
See merge request espressif/esp-idf!18494
2022-07-07 13:02:53 +08:00
morris
b0e228f756
soc: update copyright for usb phy pins
2022-07-07 11:50:06 +08:00
Michael (XIAO Xufeng)
a58362a429
Merge branch 'feature/efuse_rev_major_minor' into 'master'
...
efuse: Adds major and minor versions
See merge request espressif/esp-idf!18255
2022-07-07 11:48:54 +08:00
shenjun
988f9b3a59
esp_wifi: fix esp32c2 tx crash issue
2022-07-07 11:32:00 +08:00
Island
0d86ca59a6
Merge branch 'update/esp32h2_h2_beta2_controller_lib_to_cd9dd20' into 'master'
...
Update esp32h2 beta2 lib to controller master
See merge request espressif/esp-idf!18876
2022-07-06 22:13:05 +08:00
Song Ruo Jing
b662f4b74f
Merge branch 'feature/support_26M_32M_xtal_bbpll_c2' into 'master'
...
support c2 26M/32M xtal for bbpll
Closes IDF-5485
See merge request espressif/esp-idf!18769
2022-07-06 21:17:52 +08:00
Darian Leung
5de652bbe2
espcoredump: Fix espcoredump.py shebang and file mode
...
This commit adds back the shebang and executable file mode for
espcoredump.py
2022-07-06 21:03:11 +08:00
lsita
9ceff23c6d
USB external PHY pinout set as in Reference Manual Figure 29-3.
2022-07-06 14:54:35 +02:00
morris
a92cce9861
Merge branch 'bugfix/calib_i2c_clk' into 'master'
...
I2C: Make I2C clock frequency accurate
Closes IDF-5363
See merge request espressif/esp-idf!18686
2022-07-06 20:52:31 +08:00
Zim Kalinowski
5ed792a296
Merge branch 'bugfix/fix_sdio_master_slave_test_with_freertos_smp' into 'master'
...
freertos-smp: Fix sdio driver master slave performance test with FreeRTOS SMP
See merge request espressif/esp-idf!18865
2022-07-06 19:39:03 +08:00
Jiang Jiang Jian
7b3ee47c67
Merge branch 'bugfix/fix_ble_ke_mem_c_assert_on_c3_s3' into 'master'
...
Fixed BLE ke_mem.c assert on esp32c3 and esp32s3
Closes BT-2405, BT-2406, and BCI-302
See merge request espressif/esp-idf!18863
2022-07-06 16:58:07 +08:00
wangmengyang
f86efb2bc2
fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3
2022-07-06 16:24:03 +08:00
wangmengyang
1d55f12c2d
component/bt: reset Bluetooth hardware during controller inititalization on ESP32-C3/ESP32-S3
...
1. Rename MACROs SYSTEM_WIFI_RST_EN register bit fields to be more recognizable
2. reset Bluetooth baseband and clock bits to fix the issue of task watchdog triggered during controller initialization due to invalid hardware state
2022-07-06 16:23:48 +08:00
morris
627b171a3c
Merge branch 'feature/enable_rpa_modem_reset_function_in_esp32h2' into 'master'
...
Enable rpa_moudle reset function
See merge request espressif/esp-idf!18891
2022-07-06 14:47:37 +08:00
xiongweichao
155c4a5cb3
Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected
2022-07-06 14:42:46 +08:00
Zim Kalinowski
ecac5d02fc
Merge branch 'bugfix/fix_esp_event_test_with_freertos_smp' into 'master'
...
freertos-smp: Update performance threshold for esp_event performance test with FreeRTOS SMP
Closes IDF-5449
See merge request espressif/esp-idf!18848
2022-07-06 12:41:05 +08:00
Guo Jia Cheng
fb181e0482
Merge branch 'bugfix/timer-overflow' into 'master'
...
openthread: update library to fix timer overflow
See merge request espressif/esp-idf!18889
2022-07-06 12:21:25 +08:00
Rahul Tank
d3e7d9b090
NimBLE: Removed extra event init done during periodic_sync_alloc
2022-07-06 09:50:17 +05:30
Marius Vikhammer
457e31a715
freertos: re-enable tests disabled for C2
2022-07-06 12:15:04 +08:00
Zim Kalinowski
6062748203
Merge branch 'bugfix/fix_vfs_test_with_freertos_smp' into 'master'
...
freertos-smp: Update performance thresholds for VFS Open, Write, Close test with FreeRTOS SMP
Closes IDF-5448
See merge request espressif/esp-idf!18849
2022-07-06 12:14:19 +08:00
Marius Vikhammer
342f4f315c
psram: make SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY configurable on S2 and S3
...
SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY was always enabled on S2 and S3, but this option is not
compatible with ESP_COREDUMP_ENABLE_TO_FLASH. Make it configurable to allow users to deactive
it so that ESP_COREDUMP_ENABLE_TO_FLASH can be used.
2022-07-06 12:11:15 +08:00
Cao Sen Miao
e218723e0e
I2C: Make I2C clock frequency accurate
2022-07-06 11:58:08 +08:00
Mahavir Jain
f45dbd1f97
esp_wifi: netif: set interface before registering Wi-Fi driver RX callback
...
If appropriate interface is not set then RX callback can potentially dereference
null pointer from `s_wifi_netifs` table. This in-fact resulted in `LoadProhibited` exception
in HTTP server example test case.
Order here for setting interface and then registering callback was correct but
it was modified in 0e71a325de
causing this regression.
2022-07-06 09:03:08 +05:30
Song Ruo Jing
2bc0f45d85
Merge branch 'feature/uart_get_free_tx_buffer_size' into 'master'
...
uart: Add a new API to get the free space size of tx buffer
Closes IDFGH-7348 and IDFGH-642
See merge request espressif/esp-idf!18749
2022-07-06 11:18:57 +08:00
Jiang Jiang Jian
5134af1c6b
Merge branch 'bugfix/ext_adv_param_check' into 'master'
...
Bluedroid: fix channel map of ext adv params check
See merge request espressif/esp-idf!18877
2022-07-06 11:02:46 +08:00
Jiang Jiang Jian
8b30b7a489
Merge branch 'contrib/github_pr_9264' into 'master'
...
Fix tinyusb_driver_install (dangling pointer) (GitHub PR)
Closes IDFGH-7723
See merge request espressif/esp-idf!18874
2022-07-06 10:53:38 +08:00
Omar Chebib
c017f006cd
Merge branch 'contrib/github_pr_9255' into 'master'
...
Fix datatype conversion compiler error #9254 (GitHub PR)
Closes IDFGH-7713
See merge request espressif/esp-idf!18872
2022-07-06 10:37:30 +08:00
Marius Vikhammer
cf41c255bb
Merge branch 'bugfix/cache_disabled_log_c3' into 'master'
...
esp_hw_support: always inline cpu_hal_set_vecbase to avoid issues at -O0
See merge request espressif/esp-idf!18630
2022-07-06 09:55:20 +08:00
Zim Kalinowski
613e53f0a1
freertos-smp: Fix sdio driver master slave performance test with FreeRTOS SMP
...
This commit relaxes the performance thresholds for sdio driver test when
FreeRTOS SMP is enabled.
2022-07-05 22:05:33 +02:00
Darian
ee808f55a4
Merge branch 'bugfix/freertos_smp_stack_tcb_allocation_order' into 'master'
...
FreeRTOS: Fix stack and TCB allocation order
See merge request espressif/esp-idf!18841
2022-07-06 03:22:52 +08:00
Jakob Hasse
5a3310ff3b
Merge branch 'refactor/remove_rom_deps_cache_lldesc' into 'master'
...
SOC: removed target-specific ROM dependencies
See merge request espressif/esp-idf!18705
2022-07-06 02:06:30 +08:00
Zim Kalinowski
3d38de9f00
Merge branch 'bugfix/fix_spi_speed_with_freertos_smp' into 'master'
...
freertos-smp: Fix spi_speed test for FreeRTOS SMP
Closes IDF-5464
See merge request espressif/esp-idf!18842
2022-07-06 01:38:05 +08:00
Darian
91fb280d4c
Merge branch 'bugfix/twdt_deinit_freertos_smp' into 'master'
...
TWDT: esp_task_wdt_deinit() should deregister idle hook callback under CONFIG_FREERTOS_SMP
Closes IDF-5461
See merge request espressif/esp-idf!18867
2022-07-06 00:45:58 +08:00
Shu Chen
87f9fbaed1
Merge branch 'feature/hide_build_from_src' into 'master'
...
build: move build_from_src options to env
See merge request espressif/esp-idf!18735
2022-07-05 22:54:18 +08:00
David Čermák
53b9213757
Merge branch 'bugfix/mqtt_ping_timer_restart' into 'master'
...
[MQTT] - Adds esp-timer as dependency and update esp_mqtt.
See merge request espressif/esp-idf!18409
2022-07-05 22:01:32 +08:00
David Čermák
8417079218
Merge branch 'component/asio_migration' into 'master'
...
ASIO: Remove internal component, examples, test and docs
Closes IDF-4625
See merge request espressif/esp-idf!18297
2022-07-05 21:26:48 +08:00
GengYuchao
d145c337e0
Enable rpa_moudle reset function
2022-07-05 20:50:31 +08:00
liqigan
2873cefe78
fix wrong params of get_report_by_id_and_type in bt_hidd.c
2022-07-05 20:50:11 +08:00
Sudeep Mohanty
d447c54513
freertos-smp: Update performance thresholds for VFS Open, Write, Close test with FreeRTOS SMP
...
This commit relaxes performance thresholds for VFS Open, Write and Close
test with FreeRTOS SMP enabled.
2022-07-05 12:13:40 +00:00
Sudeep Mohanty
1da0fe6f9b
freertos-smp: Update performance threshold for esp_event performance test with FreeRTOS SMP
...
This commit updates the performance thresholds for esp_event performance
test with FreeRTOS SMP enabled.
2022-07-05 12:12:45 +00:00
Jiacheng Guo
d02de327b5
openthread: update library to fix timer overflow
...
Closes https://github.com/espressif/esp-idf/issues/9278
2022-07-05 19:28:07 +08:00
songruojing
9d73475e44
uart: Add a new API to get the free space size of tx buffer
...
Closes https://github.com/espressif/esp-idf/issues/8932
Closes https://github.com/espressif/esp-idf/issues/3078
2022-07-05 18:39:22 +08:00
Jiang Jiang Jian
77a7fa77e2
Merge branch 'bugfix/wrong_configuration_of_static_txbuf' into 'master'
...
wifi:bugfix for wrong configuration of static txbuf
Closes IDFGH-7667
See merge request espressif/esp-idf!18852
2022-07-05 18:07:36 +08:00
cje
e16165f263
support c2 26M/32M xtal for bbpll
2022-07-05 17:45:03 +08:00
Marius Vikhammer
3d61c6d7d7
ulp: remove ESP32 ULP TSENS references
...
Due to poor accuracy the ESP32 ULP TSENS instructions is not recommend for use.
We keep the instruction itself to support users which are already using it,
but should remove it from examples and docs to avoid encouring any new usage of it.
2022-07-05 17:37:13 +08:00
Jiang Jiang Jian
f747ffd63a
Merge branch 'bugfix/add_ttl_for_ping_socket' into 'master'
...
lw-ip:bugfix for add ttl for ping socket
Closes WIFI-4340
See merge request espressif/esp-idf!18376
2022-07-05 17:09:53 +08:00
chenjianhua
3a1a5e284a
Bluedroid: fix channel map of ext adv params check
2022-07-05 16:02:37 +08:00
GengYuchao
509ac4e748
Update esp32h2 beta2 lib to master
2022-07-05 15:15:41 +08:00
KonstantinKondrashov
0f8ff5aa15
efuse: Adds major and minor versions and others
2022-07-05 14:38:27 +08:00
Darian Leung
a0ab1c2acd
freertos: Fix stack and TCB allocation order in SMP FreeRTOS
...
This commit fixes the allocation order of task stacks and TCBs in
order to reduce the chance of a stack overflow overwriting a TCB.
2022-07-05 14:27:44 +08:00
xueyunfei
a7ae72e1f5
wifi:bugfix for wrong configuration of static txbuf
2022-07-05 14:02:31 +08:00
Jakob Hasse
f8b5ed5d6c
refactor (soc, esp_rom)!: removed target-specific ROM dependencies
2022-07-05 13:57:58 +08:00
Omar Chebib
a0ca353cda
Heap: heap_caps_*_prefer functions now properly call alloc_failed callback
...
heap_caps_*_prefer functions will now only call heaps_caps_alloc_failed
callback if all attempts to allocation memory fail (and not after each attempt
anymore).
* Closes https://github.com/espressif/esp-idf/issues/9086
2022-07-05 05:57:04 +00:00
Omar Chebib
fca7be2ddb
Merge branch 'bugfix/fix_disassembler_interpreting_padding' into 'master'
...
(Xtensa) Build: add .xt.prop to the compiled ELF file
See merge request espressif/esp-idf!17268
2022-07-05 13:48:42 +08:00
Darian Leung
c7fbcd754f
esp_system: TWDT needs to deregister idle hook callback on esp_task_wdt_deinit()
...
This commit fixes a bug in esp_task_wdt_deinit() where under CONFIG_FREERTOS_SMP,
the idle hook callback is not deregistered.
2022-07-05 13:40:46 +08:00
Sudeep Mohanty
5ab7beea4a
freertos-smp: Fix spi_speed test for FreeRTOS SMP
...
Updated performance thresholds for spi_speed test with FreeRTOS SMP is
enabled.
2022-07-05 05:11:16 +00:00
Jiang Jiang Jian
271f4e4c40
Merge branch 'bugfix/rm_deauth_when_first_auth' into 'master'
...
esp_wifi: remove deauth before first auth
Closes IDFGH-6544
See merge request espressif/esp-idf!18803
2022-07-05 12:58:05 +08:00
Omar Chebib
3c9856bdd1
(Xtensa) Build: add .xt.prop and .xt.lit to the compiled ELF file
...
Adding prop and lit sections to the ELF will let the debugger and the disassembler
have more info about data bytes present in the middle of the Xtensa
instructions, usually used for padding.
2022-07-05 04:39:29 +00:00
xueyunfei
45ad770c37
Icmp: get tos parameter in icmp reply
2022-07-05 11:37:41 +08:00
xueyunfei
b569f4069a
bugfix for add ttl for ping socket
2022-07-05 11:37:41 +08:00
zwj
f15d7d28b5
fix ble ke_mem.c assert on esp32c3 and esp32s3
2022-07-05 03:18:14 +00:00
chenjianxing
ce1ab731be
esp_wifi: remove deauth before first auth
...
1.fix deep sleep can't reconnect to ap when pmf enable
2.fix some ap will ignore auth when rx deauth for some time
2022-07-05 02:42:08 +00:00
GengYuchao
3be5ab7268
Update nimble port init changes
2022-07-05 02:40:49 +00:00
GengYuchao
ee13e58b16
update head files for nimble
...
Remove some useless error printing display
2022-07-05 02:40:49 +00:00
GengYuchao
9e1466a34d
move init func to nimble
2022-07-05 02:40:49 +00:00
Zim Kalinowski
e4b692b6f6
fixing build problem
2022-07-04 22:20:26 +02:00
gabsuren
79d3655106
ASIO: Remove internal component, examples, test and docs
2022-07-04 22:15:24 +04:00
Jiang Jiang Jian
8ab78803d4
Merge branch 'bugfix/s3_wakeup_light_sleep_rtc_wdt_timeout' into 'master'
...
component_bt: Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM
See merge request espressif/esp-idf!18757
2022-07-04 18:21:29 +08:00
David Čermák
46fe7dbc8c
Merge branch 'component/mdns_migration' into 'master'
...
mdns: Remove internal component, examples, test and docs
Closes IDF-4074
See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
Omar Chebib
cfeaa50b53
Merge branch 'bugfix/esp32c2_missing_eh_frame_sections' into 'master'
...
espsystem: add missing eh_frame sections on esp32c2
See merge request espressif/esp-idf!18629
2022-07-04 17:13:40 +08:00
morris
7863c1bc45
Merge branch 'bugfix/fix_rtc_freq_err_for_h2_beta1' into 'master'
...
Bugfix/fix rtc freq err for h2 beta1
See merge request espressif/esp-idf!18682
2022-07-04 16:46:17 +08:00
Martin Vychodil
29c0703d7e
Merge branch 'bugfix/esp32s3_memprot_wrong_check_unicore' into 'master'
...
System/Security: fix missing checks for CPU-count sensitive Memprot APIs (ESP32S3)
Closes IDF-5401
See merge request espressif/esp-idf!18834
2022-07-04 16:41:45 +08:00
Wang Meng Yang
cb74a64768
Merge branch 'feature/support_for_wr_sugg_data_len_cmd' into 'master'
...
feature/added read-write sugg default datalen cmds
See merge request espressif/esp-idf!17863
2022-07-04 15:17:44 +08:00
Mahavir Jain
a269a704af
Merge branch 'bugfix/main_task_on_cpu1_startup_failure' into 'master'
...
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
Closes IDFGH-7705
See merge request espressif/esp-idf!18755
2022-07-04 14:54:14 +08:00
Jiang Jiang Jian
c154d09c52
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid' into 'master'
...
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
Closes IDFGH-7647
See merge request espressif/esp-idf!18617
2022-07-04 14:12:35 +08:00
Marius Vikhammer
4720607229
Merge branch 'bugfix/c2_mac_address' into 'master'
...
mac addr: fix wrong offset being used for C2 BT mac address
Closes IDF-5046
See merge request espressif/esp-idf!18717
2022-07-04 14:04:13 +08:00
Omar Chebib
7e42038c86
Merge branch 'refactor/move_regi2c_headers' into 'master'
...
Refactor: move regi2c_*.h header files from esp_hw_support to soc component
See merge request espressif/esp-idf!18676
2022-07-04 11:32:30 +08:00
Mahavir Jain
cd1555ec03
Merge branch 'esp32c2_check_ocd_mode' into 'master'
...
esp32c2: check ocd mode before configure memprot
See merge request espressif/esp-idf!18655
2022-07-04 11:22:25 +08:00
Onkar
731a8d357f
feature/added read-write sugg default datalen cmds
2022-07-03 13:50:12 +05:30
Martin Vychodil
ee9aa9a302
System/Security: fix missing checks for CPU-count sensitive Memprot APIs (ESP32S3)
...
Some of the Memory Protection (internal) API functions dealing with per-CPU operations were missing appropriate handling of the CPU count actually configured by CONFIG_FREERTOS_UNICORE. The flaw was fixed across all the places found in the code as the issue was of general type
2022-07-02 20:12:56 +00:00
Wang Meng Yang
73cfc078a0
Merge branch 'bugfix/restore_edr_en_and_protect_for_vhci_env' into 'master'
...
bugfix/restore edr_en and add protect for vhci_env
Closes IDFGH-6254, IDFGH-6766, IDFGH-7605, and AUD-3629
See merge request espressif/esp-idf!18388
2022-07-01 19:31:01 +08:00
Jakob Hasse
daacc19149
Merge branch 'bugfix/fatfs_spiffs_vfs_dep' into 'master'
...
fatfs, spiffs: add missing dependency on vfs
See merge request espressif/esp-idf!18613
2022-07-01 18:13:51 +08:00
Armando (Dou Yiwen)
4cc0492901
Merge branch 'bugfix/reserve_dma_ram_in_segments' into 'master'
...
psram: reserve dma pool in the step of heap max block
Closes IDF-4936
See merge request espressif/esp-idf!18740
2022-07-01 15:48:23 +08:00
Adam Múdry
0e98905e51
Merge branch 'feature/usb_midi_example' into 'master'
...
usb: Added MIDI example + fixed TinyUSB MIDI config
Closes IDFGH-6921
See merge request espressif/esp-idf!17753
2022-07-01 15:03:42 +08:00
Simon
f4eea001c8
Merge branch 'refactor_flash/remove_legacy_driver' into 'master'
...
spi_flash: Totally remove legacy driver (prefix with `spi_flash`) support on V5.0
Closes IDF-4473
See merge request espressif/esp-idf!18026
2022-07-01 14:45:39 +08:00
Li Qi Gan
22c76baaec
Merge branch 'bugfix/fix_sink_wrong_sniff_params' into 'master'
...
Fix A2DP Sink Wrong Sniff Parameters which Caused by HID Porting
See merge request espressif/esp-idf!18730
2022-07-01 14:35:44 +08:00
Darian
c9e7a799ee
Merge branch 'bugfix/freertos_event_group_unblock_race_condition' into 'master'
...
FreeRTOS: Fix event group task list race condition
See merge request espressif/esp-idf!18727
2022-07-01 14:14:45 +08:00
Mahavir Jain
311822da25
freertos: Fix issue with bootup failure in ESP_MAIN_TASK_AFFINITY_CPU1 config
...
Idle tick hook that indicates completion of scheduler init must be launched
on other core than the one where main task runs. Earlier it was assumed that
main task shall always run on PRO cpu but that behavior can be changed with
ESP_MAIN_TASK_AFFINITY_CPU1 and hence this fix.
Closes https://github.com/espressif/esp-idf/issues/9247
Closes IDFGH-7705
2022-07-01 05:40:46 +00:00
Darian
100ee84b0f
Merge branch 'bugfix/freertos_smp_startup_race_cond' into 'master'
...
freertos: Add SMP FreeRTOS startup race condition workaround
Closes IDF-5284 and IDF-5288
See merge request espressif/esp-idf!18683
2022-07-01 12:14:24 +08:00
Island
c6fc5038eb
Merge branch 'bugfix/no_proxy_beacon_send_after_deinit' into 'master'
...
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
See merge request espressif/esp-idf!18079
2022-07-01 11:35:21 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Cao Sen Miao
d9b4b82edc
spi_flash: Modify documentations
2022-07-01 10:59:34 +08:00
Cao Sen Miao
64147c3794
CXX: Make spi_flash related part works
2022-07-01 10:59:34 +08:00
Cao Sen Miao
435bbb444c
spi_flash: move cache stuff to private
2022-07-01 10:59:34 +08:00
Jiang Jiang Jian
6264fe3f60
Merge branch 'bugfix/close_sniffer_mode_when_wifi_stop' into 'master'
...
wifi:bugfix for close sniffer mode when wifi stop
Closes WIFI-4536
See merge request espressif/esp-idf!18744
2022-07-01 10:42:09 +08:00
Darian Leung
0cf1fd3a5a
freertos: Add multi-core OS startup race condition workaround
...
FreeRTOS uses a single "xSchedulerRunning" variable to tack whether the
scheduler has started, and this variable is set to "pdTRUE" by core 0
via calling vTaskStartScheduler().
However, with SMP FreeRTOS, there is a race condition where core 0 has
already started the scheduler and another core has not called xPortStartScheduler()
yet and calls some FreeRTOS API. Thus the resultant FreeRTOS API can
cause errors as it thinks the scheduler has started.
This commit adds a temporary workaround (by having each core maintain their
own "xSchedulerRunning" variable.
2022-06-30 20:24:53 +08:00
Darian Leung
16e739a09e
freertos: Fix flakey event group unit test
...
The "FreeRTOS Event Groups" main task will only wait a single tick for the created
tasks to set their response bits. This short delay may not be sufficent if the tick
frequency is high.
This commit updates the test so that
- the main task waits indefinitely for all the response bits to be set.
- created tasks are cleand up by the main task
2022-06-30 20:19:39 +08:00
Darian Leung
1625a3aae2
freertos: Fix event group task list race condition
...
FreeRTOS synchronization primitives (e.g., queues, eventgroups) use various event lists (i.e., task lists) to track what
tasks are blocked on a current primitive. Usually these event lists are accessed via one of the event lists functions
(such as vTask[PlaceOn|RemoveFrom]UnorderedEventList()), which in turn ensure that the global task list spinlock
(xTaskQueueMutex) is taken when accessing these lists.
However, some functions in event_groups.c manually traverse their event lists. Thus if a tick interrupt occurs on
another core during traversal and that tick interrupt unblocks a task on the event list being traversed, the event list
will be corrupted.
This commit modifies the following event_groups.c functions so that they take the global task list lock before
traversing their event list.
- xEventGroupSetBits()
- vEventGroupDelete()
2022-06-30 20:12:26 +08:00
Armando
f0e93ed0f8
psram: reserve dma pool in the step of heap max block
...
As heap block may be allocated into multiple non-contiguous chunks, to
reserve enough memory for dma/internal usage, we do the malloc in the
step of max available block.
On ESP32 we use this way, this commit follows this way, on ESP32S2 and
ESP32S3
2022-06-30 10:18:20 +00:00
Omar Chebib
cd48baf979
Refactor: move regi2c_*.h header files from esp_hw_support to soc component
...
When creating G0 layer, some regi2c_*.h headers were moved out from
esp_hw_support (G1) to soc (G0). In order to be consistent with that change,
move all the remaining regi2c_*.h headers to soc too.
2022-06-30 09:40:44 +00:00
Zhang Xiao Yan
be4d13d888
Merge branch 'docs/add_chiptype_link_gpio' into 'master'
...
docs: Add chip target and link to gpio.h
Closes DOC-3169
See merge request espressif/esp-idf!18623
2022-06-30 17:12:04 +08:00
GengYuchao
10fd1daa10
Add ETM clk gate defines for h2
2022-06-30 17:02:00 +08:00
GengYuchao
95c8d775d0
Update lib for h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
b474c83840
Add support for esp32h2 beta2
2022-06-30 17:02:00 +08:00
GengYuchao
e1d07c0cf2
Support H2 periodic advertiser list option on h2
2022-06-30 17:02:00 +08:00
GengYuchao
07a470bccc
Update ble lib for h2 beta1
2022-06-30 17:02:00 +08:00
GengYuchao
29a2c83173
Fix default option value
2022-06-30 17:02:00 +08:00
Jiang Jiang Jian
af83290002
Merge branch 'bugfix/fix_some_c2_ble_bugs' into 'master'
...
Fixed ESP32C2 BLE bugs
See merge request espressif/esp-idf!18693
2022-06-30 16:39:50 +08:00
xueyunfei
46a68f4d41
wifi:bugfix for close sniffer mode when wifi stop
2022-06-30 15:47:50 +08:00
wangjialiang
45adb0ef24
ble_mesh: stack: Bugfix for proxy beacon send after reinit mesh
2022-06-30 07:41:23 +00:00
David Čermák
5fcb860a10
Merge branch 'bugfix/lwip_gcc11_warnings' into 'master'
...
lw ip: suppress some GCC 11 warnings
See merge request espressif/esp-idf!18479
2022-06-30 13:48:47 +08:00
Jiang Jiang Jian
927f9e369a
Merge branch 'bugfix/fix_stale_pmf_config' into 'master'
...
Fix stale PMF config in NVS issue
See merge request espressif/esp-idf!18469
2022-06-30 12:32:10 +08:00
Mu Hai Dong
b0b44221ed
Merge branch 'bugfix/fix_deinit_init_connect_fail_issue' into 'master'
...
esp_wifi: clear phy calibrated flag when phy pd memory deinit
Closes WIFI-4467, WIFI-4555, and WIFI-4543
See merge request espressif/esp-idf!18716
2022-06-30 12:13:36 +08:00
Omar Chebib
fa9856c815
espsystem: add missing eh_frame sections on esp32c2
2022-06-30 02:51:37 +00:00
lsita
db90b512a1
Fix tinyusb_driver_install (dangling pointer)
2022-06-29 17:40:19 +02:00
Sudeep Mohanty
3cd2b67f84
Revert "hal: Fix incorrect spi_hal log usage"
...
This reverts commit a65165dd52
.
2022-06-29 14:52:28 +00:00
Adam Múdry
2dfaec3106
usb: Added MIDI example + fixed TinyUSB MIDI config
...
Closes https://github.com/espressif/esp-idf/issues/8541
2022-06-29 14:02:00 +00:00
gabsuren
d413a71f61
mdns: Remove internal component, examples, test and docs
2022-06-29 17:30:34 +04:00
0xFEEDC0DE64
d0c10eb83a
Fix datatype conversion compiler error #9254
2022-06-29 14:39:36 +02:00
Shu Chen
85c668b7c7
build: move build_from_src options to env
2022-06-29 20:26:50 +08:00
xiongweichao
9531fae1d3
Fixed rtc watchdog timeout when waking up light sleep due to some functions not in IRAM
2022-06-29 19:56:47 +08:00
Euripedes Rocha
33fccf6405
[MQTT] - Adds esp-timer as dependency and change version.
...
- Current time is now from esp_timer.
2022-06-29 11:50:32 +00:00
Anton Maklakov
d2ce9abb2a
lwip: suppress some GCC 11 warnings
...
Closes https://github.com/espressif/esp-idf/issues/9142
2022-06-29 11:42:09 +00:00
Mahavir Jain
9ee26516a7
Merge branch 'fix/update_docs_for_hmac_api' into 'master'
...
esp_hmac: Fix documentation for API and Programming Guide
See merge request espressif/esp-idf!18703
2022-06-29 16:06:33 +08:00
Armando (Dou Yiwen)
e13d7f8351
Merge branch 'bugfix/s2_ap64_psram_crash_issue' into 'master'
...
psram: fix esp32s2 module with APS6404 PSRAM crash issue
Closes IDF-5361
See merge request espressif/esp-idf!18699
2022-06-29 11:19:17 +08:00
morris
85ab06440b
Merge branch 'bugfix/remove_dc_as_cmd_phase' into 'master'
...
spi_lcd: don't support dc_as_cmd_phase
Closes IDFGH-7026
See merge request espressif/esp-idf!18694
2022-06-29 10:50:36 +08:00
liqigan
3e3a0cdfdb
fix sink wrong sniff params which caused by HID porting
2022-06-29 10:11:56 +08:00
Ondrej Kosta
ed7afd8b73
Merge branch 'feature/eth_phy_common' into 'master'
...
ESP PHY structure refactor
Closes IDF-5149
See merge request espressif/esp-idf!18158
2022-06-28 23:25:12 +08:00
David Čermák
8678f9a9f4
Merge branch 'bugfix/esp_eth_test_hotfix' into 'master'
...
esp_eth: pytest_esp_eth CI timeout hotfix
See merge request espressif/esp-idf!18666
2022-06-28 23:11:26 +08:00
Eren Terzioglu
f6248ebf0d
esp/vfs: VFS semihosting interface support
2022-06-28 17:04:15 +03:00
Aditya Patwardhan
c6fe3ba7c6
esp_hmac: Fix documentation for API and Programming Guide
2022-06-28 12:47:28 +00:00
Kevin (Lao Kaiyao)
47266d7736
Merge branch 'refactor/add_description_to_touch_pad_set_meas_time' into 'master'
...
touch_sensor: add description to distinguish the API on different target
Closes IDFGH-7499
See merge request espressif/esp-idf!18341
2022-06-28 20:00:02 +08:00
morris
489d14cf55
spi_lcd: don't support dc_as_cmd_phase
...
The current SPI hardware can't support 9bit SPI data format very well
(i.e. inserting an extra bit before each data byte)
Closes https://github.com/espressif/esp-idf/pull/8644
2022-06-28 17:11:31 +08:00
morris
602e154c12
Merge branch 'refactor/move_gdma_to_hw_support' into 'master'
...
dma: move from driver to hw_support
See merge request espressif/esp-idf!18706
2022-06-28 15:57:56 +08:00
Armando (Dou Yiwen)
4dbd2c7e30
Merge branch 'refactor/move_spi_necessary_private_headers' into 'master'
...
spi: move spi_common_internal to esp_private
See merge request espressif/esp-idf!18146
2022-06-28 15:51:22 +08:00
Marius Vikhammer
4ffb15916e
mac addr: fix wrong offset being used for C2 BT mac address
2022-06-28 15:30:24 +08:00
muhaidong
3ed30a515f
esp_wifi: clear phy calibrated flag when phy pd memory deinit
2022-06-28 15:03:11 +08:00
Marius Vikhammer
5b6fbe6a5c
Merge branch 'bugfix/ulp_fsm_cocpu_trap' into 'master'
...
ulp: only enable relevant wakeup sources for ULP
Closes IDFCI-1323
See merge request espressif/esp-idf!18616
2022-06-28 14:24:23 +08:00
Armando
63d4b52e21
psram: correct psram size log
2022-06-28 14:17:44 +08:00
Armando
c51c1a8651
mmu: fix wrong mmu entry id issue
2022-06-28 14:17:44 +08:00
Armando
31b3f31ef4
ext_mem: make memory region check strict
2022-06-28 14:17:44 +08:00
morris
7fd9a91034
dma: move from driver to hw_support
2022-06-28 14:17:12 +08:00
Marius Vikhammer
a8e9c6b8b2
esp_hw_support: always inline cpu_hal_set_vecbase
2022-06-28 05:53:27 +00:00
Mahavir Jain
827837dce3
Merge branch 'fix/tls-size-esp32c2_esp32c3_esp32h2' into 'master'
...
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
Closes IDFCI-1312, IDFGH-7652, and IDF-1944
See merge request espressif/esp-idf!18554
2022-06-28 13:52:28 +08:00
Mahavir Jain
34e9f54a48
Merge branch 'bugfix/rsa_gen_key_test_c2' into 'master'
...
RSA: only run generate key test if we have MPI HW support
Closes IDFCI-1326
See merge request espressif/esp-idf!18704
2022-06-28 12:57:10 +08:00
morris
eebcce87b9
Merge branch 'feature/esp_lcd_bounce_buffers' into 'master'
...
Add bounce buffer support to esp_lcd
See merge request espressif/esp-idf!17894
2022-06-28 11:56:22 +08:00
Jeroen Domburg
5f8666afb8
Add bounce buffer support to esp_lcd
2022-06-28 11:56:22 +08:00
laokaiyao
d5e55e0563
touch_sensor: add description to distinguish the API on different target
...
Closes https://github.com/espressif/esp-idf/issues/9067
2022-06-28 02:20:43 +00:00
Marius Vikhammer
61691e332f
RSA: only run generate key test if we have MPI HW support
...
Test would take too long and time out on C2.
2022-06-28 09:39:43 +08:00
Martin Vychodil
0b0befc2a6
Merge branch 'fix/fatfs_ssize_undefined' into 'master'
...
fatfs: Fix undefined ssize member of FATFS struct
Closes IDFGH-7483
See merge request espressif/esp-idf!18667
2022-06-28 07:49:45 +08:00
Martin Vychodil
cd7355007d
Merge branch 'bugfix/app_trace_iram' into 'master'
...
apptrace: move all apptrace related functions to IRAM
Closes IDFGH-7571 and IDFGH-7664
See merge request espressif/esp-idf!18646
2022-06-27 17:46:30 +08:00
Ondrej Kosta
08f421a091
esp_eth: pytest_esp_eth CI timeout hotfix
2022-06-27 11:21:31 +02:00
Adam Múdry
0fac7d1c02
fatfs: Fix undefined ssize member of FATFS struct
2022-06-27 08:57:58 +00:00
zwj
ed593ba168
update ble lib (444e4a2b)
...
- fix rpa entry err if addr resol is disabled
- fix aux connect crash
2022-06-27 14:50:26 +08:00
zwj
004918adbe
fix BLE sleep can not be enabled
2022-06-27 14:21:11 +08:00
Nachiket Kukade
2efe4b791d
esp_wifi: Update wifi lib
...
Fix issue where set_config API uses stale NVS config if PMF disable
API was used before
2022-06-27 11:37:59 +05:30
Alexey Lapshin
69b317368e
esp_system: Fix esp32c2/esp32c3/esp32h2 TLS size
...
The change fixes thread-local-storage size by removing .srodata section
from it. It initially was included in TLS section by mistake.
The issue was found when stack size increased after building applications
with GCC-11.1 compiler. Stack size became bigger because some new data
appeared in .srodata. See more details here:
adce62f53d
2022-06-27 03:29:08 +00:00
Shu Chen
a9cccfe317
Merge branch 'bugfix/otbr-example-config' into 'master'
...
openthread: update OpenThread submodule
See merge request espressif/esp-idf!18560
2022-06-25 10:31:18 +08:00
Armando
f31d88e3fe
spi: move spi_common_internal to esp_private
2022-06-24 19:12:13 +08:00
Mahavir Jain
c619e2162d
Merge branch 'feature/memprot_settings_to_soc_caps' into 'master'
...
esp_system: move MEMPROT related configuration to soc capability header
Closes IDF-4506
See merge request espressif/esp-idf!18645
2022-06-24 18:08:19 +08:00
Linda
ca7138e653
docs:add chiptype and link to gpio.h
2022-06-24 17:13:15 +08:00
Erhan Kurubas
480e2ab149
esp32c2: check ocd mode before configure memprot
2022-06-24 09:13:02 +03:00
Ondrej Kosta
43f3904304
esp_eth: IEEE 802.3 PHY MII Management Interface functionality grouped to one common file
2022-06-24 05:51:44 +00:00
Darian
26ca7cbaed
Merge branch 'feature/update_smp_freertos_porting_notes' into 'master'
...
freertos: Update SMP FreeRTOS porting notes
See merge request espressif/esp-idf!18632
2022-06-24 13:33:44 +08:00
Marius Vikhammer
059a0713d7
Merge branch 'bugfix/reenable_c2_system_tests' into 'master'
...
system: enable misc system examples and unit tests for C2
Closes IDF-5054, IDF-5048, IDF-5142, and IDF-5051
See merge request espressif/esp-idf!18533
2022-06-24 12:12:11 +08:00
Marius Vikhammer
50cfd7de22
Revert "Merge branch 'fix/esptool_esp32c2_minrev' into 'master'"
...
This reverts merge request !18633
2022-06-24 11:37:23 +08:00
Marius Vikhammer
42aa4ee3d4
ulp: only enable relevant wakeup sources for ULP
...
Do not enable co-processor trap wakeup source when running ULP FSM, as this
could cause spurious wake-ups.
2022-06-24 02:30:29 +00:00
Darian
7ea4b9d408
Merge branch 'feature/freertos_smp_reduce_iram_usage' into 'master'
...
FreeRTOS: Move some SMP FreeRTOS functions to flash
See merge request espressif/esp-idf!18581
2022-06-24 06:29:54 +08:00
Zim Kalinowski
22ff8c7f78
Merge branch 'feature/update_freertos_kernel_source' into 'master'
...
freertos-smp: update FreeRTOS SMP kernel
Closes IDF-5256
See merge request espressif/esp-idf!18624
2022-06-24 04:19:04 +08:00
Zim Kalinowski
974151bd31
Merge branch 'feature/freertos-smp-rsa-timeouts' into 'master'
...
freertos: adjust rsa test timeouts for SMP
Closes IDF-5253
See merge request espressif/esp-idf!18585
2022-06-23 21:27:36 +08:00
Ivan Grokhotkov
87180907f7
Merge branch 'bugfix/nvs_part_ptr_wrong_init' into 'master'
...
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
Closes IDFGH-7503 and IDFGH-7152
See merge request espressif/esp-idf!18503
2022-06-23 21:23:39 +08:00
Sudeep Mohanty
2c7b4cf8d5
Merge branch 'bugfix/fix_legacy_pcnt_driver_test_with_freertos_smp' into 'master'
...
freertos-smp: Fix legacy_pcnt_driver for FreeRTOS SMP config
Closes IDF-5274
See merge request espressif/esp-idf!18631
2022-06-23 20:19:08 +08:00
Mahavir Jain
dd24639215
Merge branch 'esp32h2/enable_ecc_accelerator' into 'master'
...
esp32h2: Enable ECC accelerator
Closes IDF-3397
See merge request espressif/esp-idf!18647
2022-06-23 20:06:26 +08:00
Sudeep Mohanty
e3e2ac979a
freertos-smp: update FreeRTOS SMP kernel
...
This commit updates the FreeRTOS SMP kernel to commit id 2eff03708
from the upstream smp branch, which is the latest as on date.
2022-06-23 11:56:20 +00:00
Mahavir Jain
9cbf34b53d
Merge branch 'bugfix/configure_link_encryption_for_charac' into 'master'
...
WifiProv: Add configuration support for forcing link encryption
Closes https://github.com/espressif/esp-idf/issues/9201
Closes IDFGH-7649
See merge request espressif/esp-idf!18620
2022-06-23 19:46:47 +08:00
Roland Dobai
6d762ec8b6
Merge branch 'fix/esptool_esp32c2_minrev' into 'master'
...
tools: Generate images for ESP32-C2 with required minimal revision
See merge request espressif/esp-idf!18633
2022-06-23 19:25:35 +08:00
Marius Vikhammer
82daa80eac
apptrace: move all apptrace related functions to IRAM
...
Closes: https://github.com/espressif/esp-idf/issues/9131
2022-06-23 16:54:24 +08:00
Darian Leung
733021ebf8
freertos: Move some SMP FreeRTOS functions to flash
...
The CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH allows some FreeRTOS functions to be placed
into flash, thus saving some IRAM. However, this feature was previously not supported for
SMP FreeRTOS.
This commit adds CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH support for SMP FreeRTOS. There
are now separate linker fragment files for IDF FreeRTOS and SMP FreeRTOS, named "linker.lf"
and "linker_smp.lf" respectively.
2022-06-23 16:00:46 +08:00
Cao Sen Miao
2c0651a671
Add regi2c enable/disable reference count
2022-06-23 15:36:44 +08:00
Cao Sen Miao
3a820462ac
temperature_sensor: Add temperature sensor support for ESP32-C2
2022-06-23 15:36:43 +08:00
Sachin Parekh
6cfc9c365f
esp32h2: Enable ECC accelerator
2022-06-23 12:59:13 +05:30
Marius Vikhammer
7e60e07a0a
Merge branch 'feature/esp8684_sha' into 'master'
...
mbedtls: enable hw support for SHA on C2
Closes IDF-3830 and IDF-5141
See merge request espressif/esp-idf!18531
2022-06-23 14:18:49 +08:00
Island
7d10f8581a
Merge branch 'feature/add_filter_seq_auth_config' into 'master'
...
Feature/add filter old seq_auth menuconfig
See merge request espressif/esp-idf!18622
2022-06-23 14:17:51 +08:00
Zim Kalinowski
dc8b1406cc
freertos: adjust rsa test timeouts for SMP
2022-06-23 07:26:00 +02:00
Zim Kalinowski
aa786b34c2
Merge branch 'feature/freertos-smp-flash-test-timeout' into 'master'
...
freertos: increase timeout for multi flash test cases
Closes IDF-5074
See merge request espressif/esp-idf!18584
2022-06-23 13:06:44 +08:00
Mahavir Jain
0a12eab32e
esp_system: move MEMPROT related configuration to soc capability header
...
Closes IDF-4506
2022-06-23 10:29:42 +05:30
Jiacheng Guo
9f47861019
openthread: update OpenThread submodule
...
* Update OpenThread to latest master
* Add required lwIP configurations to border router examples
* Fix build warnings
2022-06-23 11:33:17 +08:00
Marius Vikhammer
f4c79687f8
SHA: added hardware support for SHA on C2.
2022-06-23 11:01:16 +08:00
Marius Vikhammer
c6260e66e5
system: re-enable esp_event, real_time_stats and pthread examples and test for C2
2022-06-23 02:05:46 +00:00
Zim Kalinowski
136c873364
Merge branch 'refactor/g0_for_xtensa' into 'master'
...
G0: Support Xtensa targets for G0-only compilation
Closes IDF-3087
See merge request espressif/esp-idf!18538
2022-06-23 07:28:37 +08:00
Aditya Patwardhan
c22a67208e
Merge branch 'fix/esp_tls_timeout_issue' into 'master'
...
esp-tls: Fix esp-tls timeout issue
Closes IDF-4943
See merge request espressif/esp-idf!18323
2022-06-22 23:25:13 +08:00
Darian Leung
fa45adee3c
freertos: Update SMP FreeRTOS porting notes
2022-06-22 20:20:12 +08:00
Roland Dobai
78e6a04eae
tools: Generate images for ESP32-C2 with required minimal revision
2022-06-22 13:28:24 +02:00
Sudeep Mohanty
755789113b
freertos-smp: Fix legacy_pcnt_driver for FreeRTOS SMP config
...
This commit increases the memory leak threshold for legacy_pcnt_driver
test from 300 bytes to 400 bytes. The test fails due to a breach of the
threshold value by 8 bytes.
2022-06-22 13:19:34 +02:00
wangjialiang
b905789dd0
ble_mesh: stack: Add filter old seq_auth packet menuconfig
2022-06-22 08:08:28 +00:00
Jiang Jiang Jian
203c3e6e1c
Merge branch 'bugfix/fix_esp32c2_owe_support' into 'master'
...
esp_wifi: fix esp32c2 owe support
See merge request espressif/esp-idf!18610
2022-06-22 15:46:46 +08:00
weitianhua
b4aa3269e7
Change HF AG APIs' NamingMethod
...
1. Remove parameter of esp-bt_hf_init & esp_bt_hf_deinit API
2. Change API names
2022-06-22 15:34:05 +08:00
Mahavir Jain
a75548bb1a
Merge branch 'bugfix/mbedtls_custom_cert_ut' into 'master'
...
ci: Fix `custom certificate bundle` UT failure for S3
See merge request espressif/esp-idf!18574
2022-06-22 14:57:27 +08:00
Darian
e9385aa5c0
Merge branch 'bugfix/bluedroid_typos' into 'master'
...
Bluedroid: Fix breaking and non-breaking typos
Closes IDFGH-5103
See merge request espressif/esp-idf!18596
2022-06-22 14:31:50 +08:00
Rahul Tank
0dc0f8ad51
WifiProv: Extended support for configuring if link encryption is needed
...
when attempting to read / write characteristic to bluedroid stack
2022-06-22 10:17:28 +05:30
jincheng
b5d1464180
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-06-22 11:33:04 +08:00
Jiang Jiang Jian
aed2f605ff
Merge branch 'bugfix/bond_not_saved_properly_for_pairing_again' into 'master'
...
Bugfix: bond not saved properly after re-pairing
See merge request espressif/esp-idf!18328
2022-06-22 11:05:08 +08:00
Jiang Jiang Jian
0ee5cb2f4c
Merge branch 'bugfix/wifi_condition_linker_mapping' into 'master'
...
WiFi: Fix linking of WiFi functions dependent on PM_ENABLE
See merge request espressif/esp-idf!18597
2022-06-22 10:57:05 +08:00
Ivan Grokhotkov
88d2a221f1
fatfs, spiffs: add missing dependency on vfs
...
Since vfs is no longer a common component, the dependency needs to be
added explicitly.
2022-06-21 17:16:49 +02:00
morris
ac98d89ced
Merge branch 'bugfix/fix_esp32c2_does_not_support_csi_issue' into 'master'
...
Bugfix/fix esp32c2 does not support csi issue
Closes IDF-4216
See merge request espressif/esp-idf!18595
2022-06-21 22:04:21 +08:00
chenjianxing
d4d3d65898
esp_wifi: fix esp32c2 owe support
2022-06-21 20:58:10 +08:00
Onkar
f2384a4b83
Bugfix: bond not saved properly after re-pairing
2022-06-21 19:36:35 +08:00
jincheng
70d892fbb8
restore edr_en which was wrongly cleared by role switch
...
add critical protection for vhci_env_p->vhci_intr_st
ignore max_page when handle remote features
Closes https://github.com/espressif/esp-idf/issues/7923
Closes https://github.com/espressif/esp-idf/issues/8394
Closes https://github.com/espressif/esp-idf/issues/1921
2022-06-21 19:23:41 +08:00
Darian Leung
a8805e5b01
bluedroid: Fix non breaking typos
2022-06-21 19:07:25 +08:00
Darian Leung
c2e098c10e
bluedroid: Fix breaking change typos
...
This commit fixes typos that are breaking changes (i.e., macros, types, and functions)
in the bluedroid API. Migration notes for v5.0 have also been added.
Closes https://github.com/espressif/esp-idf/issues/6887
2022-06-21 19:07:25 +08:00
Aditya Patwardhan
8785d1687c
esp_tls.h: Add note regarding default timeout_ms value
2022-06-21 16:33:52 +05:30
muhaidong
96f86e0bb4
esp_wifi: esp32c2 does not support wifi mesh
2022-06-21 16:48:52 +08:00
Laukik Hase
fbeac8d43c
ci: Enable custom certificate bundle
test for ESP32-S3
...
- Increase leakage limit for `test performance RSA key operations`
UT by 64 bytes
2022-06-21 14:18:23 +05:30
morris
d178d1d58a
Merge branch 'bugfix/esp32s2_startup_garbled_output' into 'master'
...
esp_system: fix garbled UART output on startup on esp32s2
Closes IDFGH-7615
See merge request espressif/esp-idf!18549
2022-06-21 15:02:35 +08:00
Laukik Hase
ff44ff8050
mbedtls: Acquire lock before enabling MPI (RSA) hardware
...
- For ESP32-S3
2022-06-21 10:48:17 +05:30
Laukik Hase
740b9a9afe
wifi_prov: Added support for WPA3_PSK and WPA2_WPA3_PSK APs
2022-06-21 04:24:19 +00:00
Jiang Jiang Jian
3cc134672b
Merge branch 'feature/optimize_bluetooth_architecture_0616' into 'master'
...
Feature/optimize bluetooth architecture
See merge request espressif/esp-idf!18553
2022-06-21 01:35:12 +08:00
Darian Leung
0c895466ef
wifi: Fix linking of WiFi functions dependent on PM_ENABLE
...
The following functions are only defined when CONFIG_PM_ENABLE is defined:
- wifi_apb80m_request()
- wifi_apb80m_release()
This commit makes their linker script mapping statements also dependent on CONFIG_PM_ENABLE
thus fixing some linker errors when CONFIG_PM_ENABLE is disabled.
2022-06-21 00:12:08 +08:00
Jiang Jiang Jian
5f9bbf71fe
Merge branch 'feature/sae_sta_h2e' into 'master'
...
SAE H2E support for STA
See merge request espressif/esp-idf!17860
2022-06-20 23:52:08 +08:00
muhaidong
b48b9beace
esp_wifi: esp32c2 does not support csi.
2022-06-20 21:47:51 +08:00
muhaidong
9a25d06b5f
esp_wifi: esp32s2 esp32c3 and esp32s3 support ftm
2022-06-20 21:47:51 +08:00
morris
865937fba3
Merge branch 'bugfix/fix_esp32c2_dose_not_support_wapi' into 'master'
...
esp_wifi: esp32c2 does not support wapi
Closes IDF-4216
See merge request espressif/esp-idf!18573
2022-06-20 21:31:54 +08:00
Shreyas Sheth
591c7a496c
esp_wifi: WPA3 SAE H2E support for station
2022-06-20 18:51:11 +05:30
GengYuchao
d0a1fb1802
Fix nimble repo for timer and co_count
2022-06-20 21:18:54 +08:00
GengYuchao
0184d892ef
Fix for prototype
2022-06-20 21:18:20 +08:00
Jiang Jiang Jian
cce48ded57
Merge branch 'bugfix/spp_send_data_crash' into 'master'
...
component_bt: Fix crash when spp sends data
See merge request espressif/esp-idf!18563
2022-06-20 19:56:29 +08:00
muhaidong
2ccce0ca41
esp_wifi: update comments of WI-FI CAPS in soc_caps.h
2022-06-20 19:43:16 +08:00
Omar Chebib
8fae0f0753
G0: Support Xtensa targets for G0-only compilation
...
G0-only example now supports Xtensa targets. This means that G0 layer
does not depend on G1+ layers anymore
2022-06-20 11:34:20 +00:00
Zim Kalinowski
c414d7b292
freertos: increase timeout for multi flash test cases
2022-06-20 10:25:39 +00:00
Martin Vychodil
692b9980b5
Merge branch 'feature/memprot_api_unified_s3_2' into 'master'
...
System/Security: Memprot API unified (ESP32S3)
See merge request espressif/esp-idf!16169
2022-06-20 17:34:22 +08:00
xiongweichao
90510fb597
Fix crash when sending data by spp
2022-06-20 17:12:07 +08:00
GengYuchao
1dabebf771
Fix Kconfig format issue and add option
2022-06-20 17:00:12 +08:00
GengYuchao
42d70086ae
Sync nimble fix for bt component
2022-06-20 17:00:12 +08:00
GengYuchao
6658a46478
Move tinycrypt function
2022-06-20 17:00:12 +08:00
GengYuchao
61ee34f713
Add new porting file
2022-06-20 17:00:12 +08:00
GengYuchao
7916f45d58
Update the host configuration options file. Update the osi malloc function.
2022-06-20 17:00:12 +08:00
GengYuchao
9782f86f82
update rom file for c2 controller lib
2022-06-20 17:00:12 +08:00
GengYuchao
b2f8a3c694
Update bt controller interface file
2022-06-20 17:00:12 +08:00
GengYuchao
633e9282b7
Update the CMake compilation architecture and update the controller configuration options
2022-06-20 17:00:12 +08:00
GengYuchao
d1afa7f8d5
Update ble controller lib for esp32c2
2022-06-20 17:00:12 +08:00
Darian
7756b6e2c7
Merge branch 'bugfix/esp_ipc_isr_freertos_deadlock' into 'master'
...
esp_system: Workaround esp_ipc_isr_stall_other_cpu() deadlock with SMP FreeRTOS
Closes IDF-5250 and IDF-5251
See merge request espressif/esp-idf!18565
2022-06-20 16:31:44 +08:00
Roland Dobai
b6e6adddc3
Merge branch 'refactor/change_copyright_components' into 'master'
...
components: Change copyright in components files
See merge request espressif/esp-idf!18580
2022-06-20 16:02:12 +08:00
Jakob Hasse
d7cceabbb4
Merge branch 'feature/upgrade_c_cxx_standards' into 'master'
...
build system: use C17 and C++2a by default
Closes IDF-1499, IDFGH-1788, IDFGH-2781, and IDFGH-7617
See merge request espressif/esp-idf!18371
2022-06-20 12:24:08 +08:00
muhaidong
6ca2804107
esp_wifi: esp32c2 does not support wapi.
2022-06-20 11:42:12 +08:00
Jing Li
6c8dc275a1
Merge branch 'refactor/improve_flash_power_down_logic' into 'master'
...
sleep: improve flash power down logic
See merge request espressif/esp-idf!17901
2022-06-20 11:05:58 +08:00
Martin Vychodil
339fcbf14d
System/Security: Memprot API unified (ESP32S3)
...
Unified Memory protection API for all PMS-aware chips - ESP32S3 port
2022-06-20 02:36:44 +00:00
Ondrej Kosta
26edd9b98f
Merge branch 'feature/lwip_bridge' into 'master'
...
Feature/lwip bridge
Closes IDF-4944
See merge request espressif/esp-idf!17945
2022-06-19 03:09:05 +08:00
Kapil Gupta
7fae6ce4f2
Correct SSID copy length during WPS scan
2022-06-18 13:26:48 +00:00
morris
06eb494a61
pcnt: support set the level of virtual IO
2022-06-18 15:00:37 +08:00
Sudeep Mohanty
ac5cfa78bf
Merge branch 'bugfix/freertos_smp_fix_test_preemtion' into 'master'
...
freertos-smp: Fix test_preemtion yield time threshold for FreeRTOS SMP
Closes IDF-5254
See merge request espressif/esp-idf!18577
2022-06-18 05:04:05 +08:00
Zim Kalinowski
d209cb3a6b
Merge branch 'bugfix/freertos_tlsp_del_cb_tests' into 'master'
...
freertos: Fix SMP FreeRTOS TSLP deletion callback tests
Closes IDF-5252
See merge request espressif/esp-idf!18576
2022-06-18 04:05:25 +08:00
Ivan Grokhotkov
3973db7664
soc: make register access macros compatible with C++20
...
In C++20, using the result of an assignment to a 'volatile' value is
deprecated.
Breaking change: register "setter" or modification macros can no
longer be used as expressions.
Closes https://github.com/espressif/esp-idf/issues/9170
2022-06-17 18:09:22 +02:00
simon.chupin
45482bd1c0
components: Change copyright in components files
2022-06-17 16:59:56 +02:00
Ivan Grokhotkov
9ff37d122a
esp_common: add handling for designated inits for C++20
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
9dba0476a0
asio: disable concepts support
...
The bundled version of asio uses legacy concepts syntax
(https://en.cppreference.com/w/cpp/experimental/constraints ) which is
not accepted by GCC with -std=c++20.
Disable the concepts support until asio is upgraded to a version which
supports the new syntax.
2022-06-17 16:44:17 +02:00
Ivan Grokhotkov
a2ca5d03c5
examples, components: remove C/C++ standard overrides
...
...where they are not necessary after switching to C17 and C++20.
2022-06-17 16:44:17 +02:00
Sudeep Mohanty
648f4d3a9f
freertos-smp: Fix test_preemtion yield time threshold for FreeRTOS SMP
...
This commit adjusts the test_preemtion yield time threshold to pass when
FreeRTOS SMP is enabled.
2022-06-17 16:03:34 +02:00
Darian Leung
97cf44cbe0
freertos: Fix SMP FreeRTOS TSLP deletion callback tests
...
The TLSP deletion callback feature is not compatible with the CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP
option. However, the "freertos_options" unit test configuration will enable that option.
This commit disables all CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP related features when compiling with
SMP FreeRTOS.
2022-06-17 21:57:11 +08:00
Aditya Patwardhan
6222d43984
protocomm: Added option to enable/disable supported security versions.
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
f2cce5fa0d
wifi_provisioning: Update the APIs with reference to the new APIs from protocomm
...
esp_local_ctrl: Update the code with reference to new changes in protocomm component
2022-06-17 13:16:20 +00:00
Aditya Patwardhan
eb7ff34c89
protocomm: Added SRP6a implementation as the security version 2.
...
1) Rename srp component to esp_srp
2) Remove dependency on hkdf sha
3) Restructure protocomm component APIs to make them more flexible for allowing multiple security versions
4) esp_srp: convert API return type from int to esp_err_t
5) esp_srp: Formatting changes
6) Added mbedtls_gcm instead of aes_ctr
Co-authored-by: Laukik hase <laukik.hase@espressif.com>
2022-06-17 13:16:20 +00:00
Laukik Hase
5169e22277
protocomm: Generated proto-c and python files for SRP6a scheme
...
- Added protobuf auto-generated files to pre-commit check
ignore lists
2022-06-17 13:16:20 +00:00
Alexey Gerenkov
73989eb05b
Merge branch 'feature/coredump_separate_stack_xtensa' into 'master'
...
espcoredump: allow reserving dedicated stack size for Xtensa architecture
See merge request espressif/esp-idf!18041
2022-06-17 20:29:24 +08:00
Jiang Jiang Jian
02b9aafa96
Merge branch 'bugfix/fix_some_wifi_issue' into 'master'
...
esp_wifi: add multiphy support for c2 and fix ftm with ps issue
Closes WIFI-4468, WIFI-4464, WIFI-4467, WIFI-4463, WIFI-4456, WIFI-4459, WIFI-4460, WIFI-4474, and WIFI-4505
See merge request espressif/esp-idf!18480
2022-06-17 20:00:24 +08:00
jingli
3a908c66e6
use API instead of Kconfig
2022-06-17 19:57:47 +08:00
Sudeep Mohanty
089d88da77
Merge branch 'bugfix/freertos_smp_build_test_failures' into 'master'
...
freertos-smp: Fix build test issues for s2, s3, c3 with FreeRTOS SMP enabled
See merge request espressif/esp-idf!18564
2022-06-17 19:53:54 +08:00
Jiang Jiang Jian
9e40841483
Merge branch 'bugfix/fix_some_memory_leak_in_phy' into 'master'
...
fix the bug that some memory leaked in phy after wifi/ble deinit
Closes IDFGH-6820
See merge request espressif/esp-idf!18548
2022-06-17 18:31:30 +08:00
Ivan Grokhotkov
a22730c914
esp_system: fix garbled UART output on startup on esp32s2
...
Closes https://github.com/espressif/esp-idf/issues/9168
2022-06-17 12:09:07 +02:00
jingli
824e0ddca8
improve flash power down logic
2022-06-17 18:01:43 +08:00
Darian Leung
95955ed170
esp_system: Workaround esp_ipc_isr_stall_other_cpu() deadlock with SMP FreeRTOS
...
SMP FreeRTOS uses a single kernel lock for all critical sections. There is a known
issue with esp_ipc_isr_stall_other_cpu() that can cause dead if the other CPU is
already in a critical section.
This commit adds a temporary workaround to reduce the chance of deadlock by taking
the SMP FreeRTOS kernel lock first before stalling the other CPU.
See IDF-5257 for more details.
2022-06-17 15:37:07 +08:00
Sudeep Mohanty
c5d6f97331
freertos-smp: Fix build test errors for esp32s2 and esp32s3
...
This commit fixes build test errors for esp32s2 and esp32s3 with
FreeRTOS SMP enabled.
2022-06-17 09:21:46 +02:00
Roland Dobai
a988cc9a64
Merge branch 'tools/csv_handling_overhaul' into 'master'
...
tools: Overhaul csv handling for mfg_gen and nvs_partition_gen
Closes IDFGH-5434
See merge request espressif/esp-idf!18365
2022-06-17 15:20:50 +08:00
Sudeep Mohanty
55f1eca248
freertos-smp: Fix build test errors for esp32c3
...
This commit fixes build test failures for esp32c3.
2022-06-17 09:18:46 +02:00
Sudeep Mohanty
7726f343e8
freertos-smp: Update prvYieldCore() to fix compile warning
...
prvYieldCore() leads to an array-out-of-bounds error when compiled with
-Os optimization and configNUM_CORES = 1. This commit avoids this
compile warning by compiling out the part of code which is unnecessary
when configNUM_CORES is 1.
2022-06-17 09:11:02 +02:00
Konstantin Kondrashov
7f109b8181
Merge branch 'bugfix/adds_iram_attr_for_efuse_apis' into 'master'
...
bootloader_efuse: Adds IRAM_ATTR for efuse API
Closes IDFGH-7601
See merge request espressif/esp-idf!18517
2022-06-17 13:24:41 +08:00
Jack
cb0dd5cc75
fix the bug that some memory leaked in phy after wifi/ble deinit
2022-06-16 20:42:20 +08:00
muhaidong
820bfe9cd8
esp_wifi: fix ftm with ps and add multiphy support for c2
...
1. sleep: fix potential issue when PSRAM enable.
2. esp32c2: add multiphy support.
3. ftm: workaround for ftm with ps.
4. add regdomain max channel of ap.
5. update total scan time.
6. update min chan when country policy is auto.
7. check whether country schan and nchan is valid.
2022-06-16 20:11:22 +08:00
Jiang Jiang Jian
da54350570
Merge branch 'feature/OWE_sta' into 'master'
...
WPA3 OWE support for station
See merge request espressif/esp-idf!16443
2022-06-16 15:33:22 +08:00
Zim Kalinowski
3f2411c691
Merge branch 'bugfix/freertos_smp_disable_pm_tests' into 'master'
...
freertos: Disable esp_pm when SMP FreeRTOS is enabled
Closes IDF-5103, IDF-5104, and IDF-5127
See merge request espressif/esp-idf!18363
2022-06-16 15:11:11 +08:00
Ivan Grokhotkov
c38810e268
Merge branch 'bugfix/s3_increase_static_alloc_size' into 'master'
...
bootloader, esp_system: increase static allocation space for esp32s3
See merge request espressif/esp-idf!18045
2022-06-16 15:06:10 +08:00
morris
381b4cb26f
Merge branch 'bugfix/undefined_dport_lvl_def' into 'master'
...
soc(esp32): Expose SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL for all ECO versions
Closes IDFGH-7606
See merge request espressif/esp-idf!18520
2022-06-16 15:00:24 +08:00
Mahavir Jain
519737823c
Merge branch 'bugfix/low_wifi_throughput_udp' into 'master'
...
ci, test: temporary adjust IDF_PERFORMANCE_MIN_UDP_RX_THROUGHPUT limit
Closes IDFCI-1302
See merge request espressif/esp-idf!18522
2022-06-16 14:48:57 +08:00
Kapil Gupta
6212a50edd
wpa_supplicant: Add debug info for eloop functions
2022-06-16 10:36:34 +05:30
Omar Chebib
752026a174
Merge branch 'refactor/remove_g0_dep_on_g1_riscv' into 'master'
...
G0: RISC-V targets have now an independent G0 layer
See merge request espressif/esp-idf!17926
2022-06-16 11:53:39 +08:00
Djordje Nedic
bbc3add0e3
tools: overhaul csv handling for mfg_gen and nvs_partition_gen
...
This fixes the issue where multiline strings and strings with delimiters inside the nvs input csv file were incorrectly parsed, and adds back the ability to add comment lines anywhere in the CSV file.
The issue stems from the move away from the python built in csv module to manual parsing, which was made after moving away from using the csv module to parse mfg data.
This reverts back to using the csv module for parsing and writing csv data in both mfg_gen and nvs_partition_gen, fixes the original issue in mfg_gen and improves code quality which makes the code more readable and maintainable.
Closes https://github.com/espressif/esp-idf/issues/7175
2022-06-15 12:31:49 +00:00
Ivan Grokhotkov
8ee3decdba
bootloader, esp_system: increase static allocation space for esp32s3
...
The previously used splits between memory allocated for ROM code,
2nd stage bootloader and the app were somewhat safe and conservative.
This resulted in some space being unavailable for static allocation
in the app.
This commit increases the space available for static allocation to the
maximum possible amount.
1. Some of the ROM code static allocation is only used in UART/USB/SPI
download modes. This region ("shared buffers") has been placed at
the lower end of ROM memory area, to be reusable in flash boot
mode. The 2nd stage bootloader linker script is modified to "pack"
all sections exactly up to the end but with roughly 8K margin between
startup stacks.
2. Instead of calculating the sections placement and hardcoding the
addresses in the LD script again, rewrite it to calculate the
start address of each memory region automatically based on the
logic above.
3. Adjust the app memory layout (SRAM_IRAM_END) accordingly,
increasing the space available for static allocation.
Overall these changes increase the space available for static
allocation by about 78kB.
The downside of these changes is that the 2nd stage bootloader .data
segment is now directly adjacent to the startup stack on the PRO CPU.
Previously, there was effectively about 78kB of extra stack space for
the PRO CPU, before the stack would run into the data segment.
2022-06-15 17:57:11 +05:30
Darian Leung
434287fc8b
freertos: Xtensa FreeRTOS saves threadptr in solicited stack frame
...
The Xtensa FreeRTOS port does not save the threadptr register when
doing a voluntary yield. This can result in a crash when multiple
tasks used the threadptr register and call "taskYIELD()".
This commit adds the threadptr register to the solicited stack frame.
2022-06-15 20:20:41 +08:00
Shyamal Khachane
6d55761f60
OWE support for station
2022-06-15 17:20:24 +05:30
Armando (Dou Yiwen)
0b80546f8e
Merge branch 'feature/new_esp_psram_component' into 'master'
...
esp_psram: new esp psram component
Closes IDF-4318, IDF-4382, IDF-4841, and IDFGH-7192
See merge request espressif/esp-idf!18050
2022-06-15 19:16:56 +08:00
Roland Dobai
62fe93f9ad
Merge branch 'fix/flash_detect_new_project' into 'master'
...
tools: Rename the flash size detection kconfig option
Closes IDFGH-7593
See merge request espressif/esp-idf!18505
2022-06-15 19:14:38 +08:00
Zim Kalinowski
e55ca17fb6
Merge branch 'feature/enable_freertos_smp_on_c2_and_h2' into 'master'
...
freertos-smp: enable FreeRTOS SMP for all targets
Closes IDF-5233
See merge request espressif/esp-idf!18506
2022-06-15 18:55:11 +08:00
Jakob Hasse
27bb68f2d3
Merge branch 'refactor/rename_bootloader_private_include_dir' into 'master'
...
bootloader_support: rename include_bootloader/ -> private_include/
See merge request espressif/esp-idf!18475
2022-06-15 18:46:30 +08:00
Anton Maklakov
8a6c36ada4
ci, test: temporary adjust IDF_PERFORMANCE_MIN_UDP_RX_THROUGHPUT limit
2022-06-15 17:19:24 +07:00
KonstantinKondrashov
f428a241c6
soc(esp32): Expose SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL for all ECO versions
...
It fixes a build issue when ESP32_ECO3_CACHE_LOCK_FIX=y
Closes https://github.com/espressif/esp-idf/issues/9160
2022-06-15 17:42:21 +08:00
Zim Kalinowski
ce098ecea8
Merge branch 'feature/freertos-smp-adjust-performance-thresholds' into 'master'
...
freertos: adjust freertos smp performance thresholds
See merge request espressif/esp-idf!18389
2022-06-15 17:23:00 +08:00
Darian Leung
546a7fc495
esp_pm: Disable esp_pm when SMP FreeRTOS is enabled
...
SMP FreeRTOS currently does not support power management yet. This
commit makes SMP FreeRTOS and esp_pm mutually exclusive.
2022-06-15 16:17:59 +08:00
Michael (XIAO Xufeng)
7c7d53813c
Merge branch 'feat/revert_touch_s3' into 'master'
...
touch: Added support for using touch in sleep modes back on ESP32-S3
Closes IDF-5041
See merge request espressif/esp-idf!18421
2022-06-15 16:11:50 +08:00
KonstantinKondrashov
c4bdcf3207
bootloader_efuse: Adds IRAM_ATTR for efuse API
...
Fixes startup of app for case:
bootloader with 40Mhz and app with 80Mhz (ESPTOOLPY_FLASHFREQ)
Closes https://github.com/espressif/esp-idf/issues/9156
2022-06-15 15:48:41 +08:00
Jiang Jiang Jian
20e5a989a2
Merge branch 'feature/esp32c2_support_ble_sleep' into 'master'
...
Support ESP32C2 BLE modem sleep and lightsleep
See merge request espressif/esp-idf!18432
2022-06-15 15:39:55 +08:00
Jing Li
074c708cf0
Merge branch 'refactor/simplify_code_for_time_compensation_when_sleep' into 'master'
...
system/sleep: simplify code for time compensation when wakeup from light sleep
See merge request espressif/esp-idf!18491
2022-06-15 14:38:40 +08:00
Kevin (Lao Kaiyao)
bb30edf35a
Merge branch 'refactor/i2s_driver_rewrite' into 'master'
...
🔨 i2s: i2s driver-NG
Closes IDF-3714 and IDF-4592
See merge request espressif/esp-idf!15175
2022-06-15 14:22:58 +08:00
Mahavir Jain
0f8d149525
Merge branch 'feature/enable_mbedtls_tests_for_c2' into 'master'
...
mbedtls: enable all tests except SHA for ESP32-C2
See merge request espressif/esp-idf!18372
2022-06-15 12:53:05 +08:00
morris
d421f26562
Merge branch 'bugfix/update_gpio_intr_enable_note' into 'master'
...
Update the note of the gpio_intr_enable function
See merge request espressif/esp-idf!18488
2022-06-15 11:16:58 +08:00
Jiang Jiang Jian
60327aeea4
Merge branch 'bugfix/avdtp_genreal_reject_format_error' into 'master'
...
component_bt: Fix AVDTP general reject format error
See merge request espressif/esp-idf!17636
2022-06-15 11:07:55 +08:00
Jiang Jiang Jian
49c53dbe03
Merge branch 'feature/update_hfp_ag_version' into 'master'
...
component_bt: Update hfp_ag version to 1.7.2
Closes BT-2082
See merge request espressif/esp-idf!18329
2022-06-15 11:05:36 +08:00
Armando (Dou Yiwen)
1b63128237
Merge branch 'contrib/github_pr_9133' into 'master'
...
driver(spi): fix flag check in bus initialization (GitHub PR)
Closes IDFGH-7574
See merge request espressif/esp-idf!18462
2022-06-15 10:59:42 +08:00
ioio
a759e00958
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
...
Added unit test case.
Closes https://github.com/espressif/esp-idf/pull/8755
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2022-06-15 10:38:56 +08:00
laokaiyao
28b8fc6a7e
i2s: update documents for driver-NG
2022-06-15 10:30:04 +08:00
laokaiyao
0fe3bb8ab7
i2s: update examples and unit-tests
2022-06-15 10:29:06 +08:00
laokaiyao
621d0aa942
i2s: Introduced a brand new driver
2022-06-15 10:29:06 +08:00
Roland Dobai
d56c578ddb
tools: Rename the flash size detection kconfig option
...
9c46c98b4c
have changed the default value
of ESPTOOLPY_FLASHSIZE_DETECT. As the side effect, existing
projects (having the option still enabled) started to discard the SHA256 digest.
Rename the ESPTOOLPY_FLASHSIZE_DETECT option so existing projects would
have the value disabled by default.
Closes https://github.com/espressif/esp-idf/issues/9148
2022-06-14 15:56:20 +02:00
Ondrej Kosta
53082a22f7
esp_netif: added support for LwIP bridge
...
examples: created bridge example
2022-06-14 15:29:44 +02:00
Darian
e213e66ba3
Merge branch 'refactor/esp_hw_support_cpu' into 'master'
...
esp_hw_support: Add new esp_cpu.h abstraction
Closes IDF-4769
See merge request espressif/esp-idf!17091
2022-06-14 21:11:30 +08:00
zwj
a9509ec34c
disable BT_BLE_RPA_SUPPORTED by default and enabled by default for other chips
2022-06-14 19:57:07 +08:00
Sudeep Mohanty
472729a513
freertos-smp: enable FreeRTOS SMP for all targets
...
This commit enables FreeRTOS SMP for esp32s2, esp32s3, esp32c2 and
esp32h2.
2022-06-14 13:53:30 +02:00
zwj
fd90341138
support ble modem sleep and light sleep
2022-06-14 19:52:50 +08:00
morris
919344547b
Merge branch 'bugfix/rmt_register_file_s3' into 'master'
...
rmt: update register file after fixing csv of RMT peripheral (esp32s2/s3)
Closes IDFGH-7537
See merge request espressif/esp-idf!18392
2022-06-14 18:24:28 +08:00
Jakob Hasse
84082d365b
refactor (bootloader_support): include_bootloader/ -> private_include/
2022-06-14 17:27:50 +08:00
Tomas Rezucha
6ba7b10302
Merge branch 'fix/usb/buffer_sizes' into 'master'
...
usb: TinyUSB buffer sizes
Closes IDFGH-7469
See merge request espressif/esp-idf!18359
2022-06-14 17:23:52 +08:00
Michael (XIAO Xufeng)
7b8e5888ca
Merge branch 'refactor/add_clk_tree_ll' into 'master'
...
clk_tree: Stage3 - HAL for clock subsystem
Closes IDF-4334
See merge request espressif/esp-idf!18270
2022-06-14 17:16:29 +08:00
Jiang Jiang Jian
3cb6abee3c
Merge branch 'bugfix/hal_assert_spelling' into 'master'
...
HAL: fix kconfig HAL_ASSERTION typo
See merge request espressif/esp-idf!18482
2022-06-14 16:24:25 +08:00
Jiang Jiang Jian
4e33239474
Merge branch 'feature/remove_back_compatible_with_s3beta_rom' into 'master'
...
spi_flash: remove back-compatible with caller function of S3Beta ROM
See merge request espressif/esp-idf!18492
2022-06-14 16:22:08 +08:00
Armando
26df228b11
psram: fix esp32/esp_psram_impl_quad memcpy out of bounds issue
2022-06-14 15:44:27 +08:00
Armando
cdad8a02fe
esp_psram: remove g_spiram_ok
2022-06-14 15:44:27 +08:00
Armando
38e5043ae8
esp_psram: new psram component
2022-06-14 15:44:27 +08:00
Darian
135480396a
Merge branch 'bugfix/spi_should_use_early_log' into 'master'
...
SPI: Fix incorrect log usage
See merge request espressif/esp-idf!17017
2022-06-14 15:24:37 +08:00
Omar Chebib
2fd784c97a
G0 RISC-V: Remove "private_include/regi2c_brownout.h" header as it has been moved and simplify "regi2c_ctrl.h"
2022-06-14 15:00:53 +08:00
Omar Chebib
5bcd9b2db8
G0: RISC-V targets have now an independent G0 layer
...
G0 doesn't depend on any G1+ layer for RISC-V based targets
2022-06-14 15:00:53 +08:00
jingli
30e7af2ffb
system/sleep: simplify code for time compensation when wakeup from light sleep
2022-06-14 14:49:26 +08:00
Darian Leung
a8a3756b38
hal: Route CPU and Interrupt Controller HAL/LL to esp_cpu calls
...
This commit makes changes to cpu_ll.h, cpu_hal.h, and interrupt_controller_hal.h:
- Moved to esp_hw_support in order to be deprecated in the future
- HAL/LL API now route their calls to esp_cpu.h functions instead
Also updated soc_hal.h as follows:
- Removed __SOC_HAL_..._OTHER_CORES() macros as they dependend on cpu_hal.h
- Made soc_hal.h and soc_ll.h interfaces always inline, and removed soc_hal.c.
This commit also updates the XCHAL_ERRATUM_572 workaround by
- Removing it's HAL function and invoking the workaround it directly the bootloader
- Added missing workaround for the ESP32-S3
2022-06-14 14:40:03 +08:00
Darian Leung
149872131a
hal: Move dedicated GPIO LL and HAL
...
This commit moves the dedicated GPIO LL and HAL functions from
cpu_ll.h to dedic_gpio_cpu_ll.h.
- cpu_ll_enable_cycle_count() has also been removed due to lack of feasible usage scenarios
2022-06-14 14:38:29 +08:00
Mahavir Jain
4e4d0a5011
Merge branch 'bugfix/psram_startup_crash' into 'master'
...
psram: Fix startup crash when `CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0`
Closes IDFGH-6938
See merge request espressif/esp-idf!17543
2022-06-14 14:36:47 +08:00
Darian Leung
61eb7baa6b
esp_hw_support: Add esp_cpu.h abstraction and API
...
This commit updates the esp_cpu.h API. The new API presents a new
abstraction of the CPU where CPU presents the following interfaces:
- CPU Control (to stall/unstall/reset the CPU)
- CPU Registers (to read registers commonly used in SW such as SP, PC)
- CPU Interrupts (to inquire/allocate/control the CPUs 32 interrupts)
- Memory Port (to configure the CPU's memory bus for memory protection)
- Debugging (to configure/control the CPU's debugging port)
Note: Also added FORCE_INLINE_ATTR to the DoxyFile in order to pass doc
builds for esp_cpu.h
2022-06-14 14:30:58 +08:00
Darian Leung
556ec30457
esp_hw_support: Rename cpu_util.c to cpu.c
2022-06-14 14:30:57 +08:00
jiangguangming
0e8401e9b0
spi_flash: remove back-compatible with caller function of S3Beta ROM
2022-06-14 11:25:30 +08:00
xiongweichao
82730166aa
Update the note of the gpio_intr_enable function
2022-06-14 10:44:02 +08:00
TDA2030
09c192c7f1
rgb_lcd: optimise rgb_panel_draw_bitmap
...
by using memcpy instead of coping in a nested for loop
2022-06-14 02:20:47 +00:00
morris
b2bb8fd3c4
rgb_lcd: support update pclk at runtime
2022-06-14 02:20:47 +00:00
morris
843279d287
rgb_lcd: support fractional clock divisor
2022-06-14 02:20:47 +00:00
Sudeep Mohanty
302c548bb0
Merge branch 'feature/freertos_smp_enable_riscv_port' into 'master'
...
freertos-smp: add support for RISC-V targets on FreeRTOS SMP
See merge request espressif/esp-idf!18128
2022-06-14 04:17:54 +08:00
Sudeep Mohanty
ff185f737c
Merge branch 'refactor/freertos_yielding_tests' into 'master'
...
freertos: refactor yield tests for freertos
Closes IDF-3343, IDFCI-1250, IDFCI-1251, IDFCI-1252, IDFCI-1253, IDFCI-1254, IDFCI-1255, and IDFCI-1256
See merge request espressif/esp-idf!18369
2022-06-13 22:33:40 +08:00
Konstantin Kondrashov
7d942e0a5d
Merge branch 'feature/efuse_rst_is_treated_as_poweron_rst' into 'master'
...
reset_reasons: EFUSE_RST is treated as POWERON_RST + checks errors of eFuse BLOCK0
Closes IDF-3702
See merge request espressif/esp-idf!14742
2022-06-13 21:26:13 +08:00
Laukik Hase
914b0de764
freertos: Indicate completed initialization for APP CPU with idle task hook
...
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2022-06-13 17:17:42 +05:30
Sudeep Mohanty
12e2312aaa
freertos: FreeRTOS SMP RISC-V port cleanup and enable esp32c3 in KConfig
...
This commit does general cleanup of the risc-v port files and restricts
FreeRTOS SMP config option to only esp32 and esp32c3.
2022-06-13 13:39:16 +02:00
Darian Leung
71eef9a9b0
freertos: Fix SMP RISC-V Port IDF Style critical sections
...
Previously the RV port was routing IDF style critical section API to call FreeRTOS style critical section API.
For example, a call to "portENTER_CRITICAL(mux)" would eventually call `vTaskEnterCritical()" via the following call flow:
- portENTER_CRITICAL(mux)
- vPortEnterCritical()
- portSET_INTERRUPT_MASK_FROM_ISR()
- vTaskEnterCritical()
This commit fixes the IDF style critical section by making sure that they are completely orthogonal to FreeRTOS critical sections
2022-06-13 13:34:21 +02:00
Sudeep Mohanty
8fd953c627
freertos-smp: add support for RISC-V targets oon FreeRTOS SMP
...
TBD: Initial commit. Enables risc-v port.
2022-06-13 13:34:21 +02:00
Rahul Tank
835aec1152
Merge branch 'bugfix/mbedtls_free_keypair' into 'master'
...
Nimble: Fixed memory leak while generating keypair using embedtls
See merge request espressif/esp-idf!18322
2022-06-13 17:50:34 +08:00
songruojing
6f6251f369
hal: Limit the HAL_ASSERTION_LEVEL in bootloader to be no larger than 1 (i.e. silent)
2022-06-13 17:47:51 +08:00
songruojing
03477a59db
rtc_clk: Fix rtc8m calibration failure after cpu/core reset
...
1. make sure 8md256 clk is enabled before calibration
2. improve bootloader and application startup 8m, 8md256 enable logic
2022-06-13 17:47:51 +08:00
songruojing
c8752cee6a
clk_tree: Refactor rtc_clk.c by adding HAL layer for clock subsystem
2022-06-13 17:47:50 +08:00
Mahavir Jain
52769051e2
Merge branch 'bugfix/fix_ws_ping_receive' into 'master'
...
fix(websocket): Support handler deal with PING and CLOSE frame
Closes IDFGH-7209
See merge request espressif/esp-idf!18065
2022-06-13 17:23:38 +08:00
Sudeep Mohanty
9a53a4abf1
freertos: refactor yield tests for freertos
...
This commit refactors the yield test scenarios for a more deterministic
prediction of the kernel's yielding behavior.
2022-06-13 10:57:55 +02:00
Marius Vikhammer
e18f381905
HAL: fix kconfig HAL_ASSERTION typo
2022-06-13 16:19:28 +08:00
Martin Vychodil
7f884dc966
Merge branch 'fix/ff_sdmmc_status_check_optional' into 'master'
...
fatfs: Add option to mock ff_sdmmc_status output to increase IO speed
Closes IDF-4788
See merge request espressif/esp-idf!18300
2022-06-13 14:42:12 +08:00
David Čermák
a6980a6b6a
Merge branch 'bugfix/mqtt_host_test' into 'master'
...
MQTT: Fix compilation of networking host tests
Closes IDF-4286
See merge request espressif/esp-idf!18099
2022-06-13 13:13:00 +08:00
Rahul Tank
2b097995bc
Merge branch 'bugfix/fix_compilation_issue_esp32h2' into 'master'
...
NimBLE: fix compilation issue in nimble examples for ESP32H2
See merge request espressif/esp-idf!18438
2022-06-13 12:33:49 +08:00
Matus Fabo
384d61f156
remove: sdspi_host deprecated api
...
add: migration guide documentation
2022-06-12 20:07:27 +00:00
Michael (XIAO Xufeng)
f522865462
Revert "touch: add protection for touch sleep case"
...
This reverts commit 974ac3b4b8
.
2022-06-13 01:51:15 +08:00
Michael (XIAO Xufeng)
069ef38ff6
Revert "touch_sensor: forbid from using touch sensor with sleep on ESP32-S3"
...
This reverts commit a84faa3cef
.
2022-06-13 01:51:12 +08:00
David Cermak
877eb62602
mqtt: Update tests to start with valid transport
2022-06-11 14:23:35 +02:00
David Cermak
0aea4bf50d
mqtt: Fix client_enqueue(len=0), Improve transport memory
...
* Update submodule: git log --oneline 64f88b4412ea6649dbf207a07370c2617160d044..a21c387d6280260894981c22494017c893d505b9
Detailed description of the changes:
* mqtt_client: Added checks for cleanly-closed connection and timeout
- See merge request espressif/esp-mqtt!118
- Added checks for cleanly-closed connection and timeout (espressif/esp-mqtt@e05d873 )
* mqtt_client: fix esp_mqtt_client_enqueue for len=0 (GitHub PR)
- See merge request espressif/esp-mqtt!135
- mqtt_client: fix esp_mqtt_client_enqueue for len=0 (espressif/esp-mqtt@69b6493 )
* Fix implicit malloc/free inclusion
- See merge request espressif/esp-mqtt!134
- See commit https://github.com/espressif/esp-mqtt/commit/9299f54
* feat(mqtt): Optimize mqtt transport list and remove unused transport
- See merge request espressif/esp-mqtt!131
- See commit https://github.com/espressif/esp-mqtt/commit/647e0ef
* Fix WSS default port selection through menuconfig.
- See merge request espressif/esp-mqtt!132
- - Closes https://github.com/espressif/esp-mqtt/issues/223
- See commit https://github.com/espressif/esp-mqtt/commit/f6caaff
2022-06-11 14:23:35 +02:00
David Cermak
1ad3e2db17
mqtt: Fix and add mqtt host test to CI
2022-06-11 14:23:30 +02:00
David Čermák
2c1f7a044e
Merge branch 'bugfix/esp_netif_clean_deps' into 'master'
...
esp-netif: Make dependency on esp-eth optional
Closes IDF-4459
See merge request espressif/esp-idf!17980
2022-06-11 14:12:52 +08:00
Mitch Bradley
8d9e110a04
Reverts Backtrace: format to what it used to be
...
Was: Backtrace: N:M N:M N:M ...
Now: Backtrace:N:MN:M N:M ...
The problem with the new format is that it is hard to parse and
breaks the parser that is used by PlatformIO. The old format
is much more reasonable. I do not see how the pattern in IDFDUT.py
can work with the new format, due to the missing space after the :
2022-06-10 18:33:46 -10:00
Mahavir Jain
bb11770e38
Merge branch 'bugfix/low_wifi_throughput' into 'master'
...
ci, test: temporary adjust IDF_PERFORMANCE_MIN_TCP_RX_THROUGHPUT limit
Closes IDFCI-1302
See merge request espressif/esp-idf!18437
2022-06-10 19:28:36 +08:00
morris
4094f13fd3
rmt: fix error in rmt register file
...
Closes https://github.com/espressif/esp-idf/issues/9100
2022-06-10 18:38:42 +08:00
Mahavir Jain
fc43533859
mbedtls: enable all tests except SHA for ESP32-C2
2022-06-10 15:08:06 +05:30
Martin Vychodil
aa2cf79e13
Merge branch 'bugfix/fatfs_mtime_dst' into 'master'
...
fatfs: fix incorrect mtime returned for files created during DST
Closes IDFGH-7467
See merge request espressif/esp-idf!18333
2022-06-10 17:18:01 +08:00
Roland Dobai
724b4121b9
Merge branch 'feature/enable-lfn-for-fatfsparse' into 'master'
...
fatfs: enable long file names for fatfsparse.py
Closes IDF-4992
See merge request espressif/esp-idf!18212
2022-06-10 16:22:45 +08:00
Li Kun Qiao
20f5e180ee
Merge branch 'support/esp32h2beta1_beta2_lib_update' into 'master'
...
ieee802154: update 802154 lib for supporting H2-beta1 and beta2
See merge request espressif/esp-idf!18442
2022-06-10 15:22:42 +08:00
Jiang Jiang Jian
70d7a362db
Merge branch 'feature/wifi_beacon_loss_optimize' into 'master'
...
WiFi: beacon loss and noise check timer optimize for wifi power save
See merge request espressif/esp-idf!18447
2022-06-10 13:28:50 +08:00
Martin Vychodil
16a4ee7c36
Merge branch 'bugfix/spi_mode_status_check' into 'master'
...
sdmmc, sdspi: fixes related to status checks, R1b response support, erase fix for SPI mode, fix for erase timeout calculation
Closes IDF-4728
See merge request espressif/esp-idf!17727
2022-06-10 13:15:47 +08:00
Armando
44f771c713
psram: support s3 copy flash to psram
2022-06-10 10:39:29 +08:00
morris
5daa73d236
Merge branch 'refactor/mcpwm_hal_driver_doc' into 'master'
...
mcpwm: don't support disable carrier one-shot pulse
Closes IDFGH-7406
See merge request espressif/esp-idf!18295
2022-06-10 10:28:59 +08:00
Simon
6ad7558ec1
Merge branch 'feature/esp32c2_configurable_mmu_new' into 'master'
...
MMU: add configurable MMU page size support (For ESP32C2)
Closes IDF-3821
See merge request espressif/esp-idf!17854
2022-06-10 10:20:49 +08:00
Adam Múdry
8af790da45
fatfs: Add mock option to ff_sdmmc_status function to increase IO speed
...
Adds `disk_status_check_enable` field to `esp_vfs_fat_mount_config_t` struct to control if ff_sdmmc_status is mocked or not.
2022-06-09 20:09:32 +00:00
Martin Vychodil
3e78898d2c
Merge branch 'bugfix/spiffs_readdir_errno' into 'master'
...
spiffs: update submodule to fix SPIFFS_readdir errno issue
See merge request espressif/esp-idf!18366
2022-06-10 03:53:08 +08:00
Ivan Grokhotkov
39238f51ce
fatfs: fix incorrect mtime returned for files created during DST
...
mktime function uses tm_isdst member as an indicator whether the time
stamp is expected to be in daylight saving time (1) or not (0).
FAT filesystem uses local time as mtime, so no information about DST
is available from the filesystem.
According to mktime documentation, tm_isdst can be set to -1, in which
case the C library will try to determine if DST was or wasn't in
effect at that time, and will set UTC time accordingly.
Note that the conversion from UTC to local time and then back to UTC
(time_t -> localtime_r -> FAT timestamp -> mktime -> time_t) does not
always recover the same UTC time. In particular, the local time in the
hour before DST comes into effect can be interpreted as "before DST"
or "after DST", which would correspond to different UTC values. In
this case which option the C library chooses is undefined.
Closes https://github.com/espressif/esp-idf/issues/9039
Originally reported in https://github.com/espressif/arduino-esp32/issues/6786
2022-06-09 19:50:00 +00:00
Roland Dobai
a280ecd83a
Merge branch 'bugfix/esptool_flash_autodetect_build_issue' into 'master'
...
esptool: fix elf2image conversion with "--dont-append-digest"
See merge request espressif/esp-idf!18444
2022-06-09 23:26:46 +08:00
Yannis Huber
3397cf465d
driver(spi): fix flag check in bus initialization
...
The current flag check in the SPI bus initialization is wrong and
causes exceptions when using certain SPI hosts in quad transfert mode.
2022-06-09 17:20:30 +02:00
Martin Gaňo
0f160c8f11
fatfs: enable long file names for fatfsparse.py
2022-06-09 15:51:03 +02:00
Aditya Patwardhan
815935b01e
Merge branch 'ci/esp32c2_protocomm_ut' into 'master'
...
ci: Re-enable protocomm UTs for ESP32-C2
Closes IDF-5143
See merge request espressif/esp-idf!18394
2022-06-09 21:34:32 +08:00
likunqiao
41592e146a
ieee802154: update 802154 lib for supporting H2-beta1 and beta2
2022-06-09 13:13:20 +00:00
Shu Chen
3df100662c
Merge branch 'bugfix/rom_time_t_size_deps_esp32h2beta2' into 'master'
...
esp_rom: deprecate some esp32h2beta2 rom newlib funcs
See merge request espressif/esp-idf!18440
2022-06-09 20:56:09 +08:00
KonstantinKondrashov
5ec9baff36
efuse: Checks errors of 4x coding scheme for BLOCK0 if so then abort
2022-06-09 17:49:03 +08:00
KonstantinKondrashov
46f0313d6b
reset_reasons: EFUSE_RST is treated as POWERON_RST
...
ESP32 does not have the EFUSE_RST, the rest chips has this reset reason.
2022-06-09 17:49:03 +08:00
Tomas Rezucha
5d202aa401
usb: Clean-up TinyUSB unnecessary code
2022-06-09 10:56:39 +02:00
Tomas Rezucha
d1d9b8f8f6
usb: Fixed RX buffer min size
...
Closes https://github.com/espressif/esp-idf/issues/9040
2022-06-09 10:56:39 +02:00
David Cermak
fd366fac9e
esp_eth: Remove deprecated esp_eth_receive()
2022-06-09 07:55:40 +00:00
David Cermak
343cf2696e
esp_eth: Reduce internal deps onto netif-glue
2022-06-09 07:55:40 +00:00
David Cermak
5e19b9c951
esp-netif: Make dependency on esp-eth optional
...
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00:00
David Cermak
680f3a50c2
esp_eth: Rename drivers main header to esp_eth_driver
...
The original would be used as API header bringing both driver and netif related includes
2022-06-09 07:55:40 +00:00
Li Shuai
7efa8b855a
sleep: beacon loss and noise check timer optimize for wifi power save
2022-06-09 15:52:05 +08:00
morris
83eb2c4964
Merge branch 'bugfix/newlib_test_gcc11_esp32c2' into 'master'
...
newlib: ROM library is built with time_t 64bit in size
Closes IDFCI-1305 and IDFCI-1306
See merge request espressif/esp-idf!18424
2022-06-09 15:37:02 +08:00
Zim Kalinowski
56f2c86dd4
freertos: adjust performance test thresholds for SMP
2022-06-09 09:25:40 +02:00
David Čermák
f9c8d635c5
Merge branch 'feature/tcp_transport' into 'master'
...
tcp_transport: optimize memory
See merge request espressif/esp-idf!18102
2022-06-09 15:25:08 +08:00
Mahavir Jain
7dc0a1db18
esptool: fix elf2image conversion with "--dont-append-digest"
...
Append elf2image args so that "--dont-append-digest" do not override earlier
flash settings.
This was observed in case of ESP32-C2 image build where image build was failing
with `CONFIG_ESPTOOLPY_FLASHSIZE_DETECT`.
Related from earlier commit: 9c46c98b4c
2022-06-09 12:19:09 +05:30
Rahul Tank
0395078a06
NimBLE: fix compilation issue in nimble examples for ESP32H2
2022-06-09 10:57:31 +05:30
Marius Vikhammer
08c4984773
Merge branch 'bugfix/s3_psram_spinlock' into 'master'
...
spinlock: fixed spinlocks not working on S3 if placed in PSRAM
Closes IDF-5169, IDFGH-7560, and IDF-5007
See merge request espressif/esp-idf!18425
2022-06-09 13:02:18 +08:00
Laukik Hase
872f8513fb
ci: Re-enable protocomm UTs for ESP32-C2
2022-06-09 09:55:09 +05:30
morris
6eb450fa87
newlib: ROM library is build with time_t 64bit on esp32c2
2022-06-09 10:48:31 +08:00
wuzhenghui
89319cd72f
esp_rom: remove functions which depend on sizeof(struct stat) and all their callers for esp32h2-beta2
2022-06-09 10:40:09 +08:00
Marius Vikhammer
c8c2e78096
Merge branch 'bugfix/s3_sleep_voltage_enable_ulp' into 'master'
...
ulp: re-enable support, example and CI jobs for S2 and S3
Closes IDF-4514, IDFGH-7075, and IDFGH-7531
See merge request espressif/esp-idf!18308
2022-06-09 10:20:25 +08:00
Li Jingyi
21d65931fc
tcp_transport: add websocket dynamic buffer feature
...
Free websocket transport buffer when connection succeed to save peak heap cost about WS_BUFFER_SIZE.
2022-06-08 19:13:25 +00:00
Anton Maklakov
da3fa37d66
ci, test: temporary adjust IDF_PERFORMANCE_MIN_TCP_RX_THROUGHPUT limit
2022-06-08 19:51:06 +07:00
Cao Sen Miao
6589daabb9
MMU: Add configurable mmu page size support on ESP32C2
2022-06-08 19:34:31 +08:00
Darian Leung
a65165dd52
hal: Fix incorrect spi_hal log usage
...
esp_flash_init_main() can be during startup before the OS has started, thus should use
the EARLY version of logging.
2022-06-08 19:19:44 +08:00
Anton Maklakov
a343ab813c
spiffs, tests: increase stack size for a test
2022-06-08 17:07:53 +07:00
Marius Vikhammer
6e79cc69f9
re-enable riscv ulp gpio support and examples
...
Closes https://github.com/espressif/esp-idf/issues/8691
Closes https://github.com/espressif/esp-idf/issues/9094
2022-06-08 17:59:28 +08:00
Marius Vikhammer
9c4a12b11e
Revert "ulp: Keep RTC_CNTL_COCPU_SHUT_RESET_EN set for ULP RISC-V"
...
This reverts commit f709faea7c
.
2022-06-08 17:59:07 +08:00
Anton Maklakov
763deaea3c
freertos, tests: increase stack size for a test
2022-06-08 16:45:31 +07:00
Zim Kalinowski
20bbfa128c
Merge branch 'bugfix/freertos_smp_gcc11_build_errors' into 'master'
...
freertos: Fix GCC 11 SMP FreeRTOS build errors
See merge request espressif/esp-idf!18399
2022-06-08 16:29:58 +08:00
yuanjm
b9b1a7aba8
fix(websocket): Support handler deal with PING and CLOSE frame
...
Closes https://github.com/espressif/esp-idf/issues/8803
2022-06-08 16:16:57 +08:00
Marius Vikhammer
486316f222
spinlock: fixed spinlocks not working on S3 if placed in PSRAM
...
The compare and set instruction (S32C1I) cannot be used when
lock is not in internal memory.
Closes https://github.com/espressif/esp-idf/issues/9120
2022-06-08 14:31:16 +08:00
Fu Hanxi
da947e2544
Merge branch 'test/remove_rtc_power_pytest' into 'master'
...
test_rtc: remove invalid test case file
See merge request espressif/esp-idf!18374
2022-06-07 23:56:28 +08:00
Kapil Gupta
bb23d783c0
Merge branch 'bugfix/sta_rejoin_softap_mode_issue' into 'master'
...
wpa_supplicant: Add changes to deinit sta_info correctly
Closes WIFI-4441
See merge request espressif/esp-idf!18395
2022-06-07 21:47:14 +08:00
Wang Meng Yang
e2bc3f865e
Merge branch 'bugfix/uninitialized-element' into 'master'
...
component_bt:initialize all elements of esp_bt_controller_config_t
Closes IDFGH-7506
See merge request espressif/esp-idf!18343
2022-06-07 17:24:39 +08:00
xiongweichao
d52cb7d6e4
update hfp_ag version to 1.7.2
2022-06-07 17:17:03 +08:00
Darian Leung
3c6185788f
freertos: Fix GCC 11 SMP FreeRTOS build errors
...
This commit fixes the following build errors in SMP FreeRTOS when building with GCC 11:
- "-Wattributes" warning due to conflicting attributes on xPortInterruptedFromISRContext()
- "-Wtype-limits" warning due to taskVALID_CORE_ID() not casting xCoreID
2022-06-07 16:33:22 +08:00
Rahul Tank
27b34d60c1
Nimble: Added check to free keypair if already allocated to avoid memory
...
leak. Added an API that allows to free keypair
2022-06-07 13:38:15 +05:30
Kapil Gupta
ed35b6d4fc
Merge branch 'bugfix/supplicant_issues' into 'master'
...
fix some supplicant issues
Closes WIFI-4446 and WIFI-4445
See merge request espressif/esp-idf!18362
2022-06-07 15:49:38 +08:00
Chen Jian Xing
44989a9ea0
Merge branch 'feature/update_phy_lib_c3_s3_20220504' into 'master'
...
esp_phy: optimize phy calibration for C3 and S3
Closes IDFGH-5903
See merge request espressif/esp-idf!18028
2022-06-07 14:19:26 +08:00
Kapil Gupta
ed2bed49c0
wpa_supplicant: Add changes to deinit sta_info correctly
...
Incase sta pointer is not null during station join, deinit of
previous sm causing crash due to incorrect typecast.
Add changes to correct this.
2022-06-07 11:41:53 +05:30
xiongweichao
a2ea4f5bc9
Fix AVDTP general reject format error.
2022-06-07 02:45:46 +00:00
Zim Kalinowski
e6c5badfe2
Merge branch 'bugfix/freertos_smp_disable_scheduler_suspension_tests' into 'master'
...
freertos: Disable scheduler suspension tests for SMP FreeRTOS
Closes IDF-5077
See merge request espressif/esp-idf!18361
2022-06-07 00:25:02 +08:00
Kapil Gupta
28a06d07f7
Corrected hash size for sta_info structure
2022-06-06 16:38:04 +05:30
Michael (XIAO Xufeng)
773715d900
Merge branch 'feature/support_refresh_brownout_v1' into 'master'
...
spi_flash: send reset when brownout detected on XMC flash
Closes IDF-3882
See merge request espressif/esp-idf!16873
2022-06-06 16:27:58 +08:00
Kapil Gupta
e9128b3b5b
wpa_supplicant: Removed ESP32 reference from generic APIs/Code
2022-06-06 11:03:36 +05:30
Kapil Gupta
e60ebc0cbe
Use snprintf instead of sprintf
2022-06-06 11:03:36 +05:30
Kapil Gupta
2aa6853d3e
Remove strcpy/strncpy function callings from supplicant
2022-06-06 11:03:35 +05:30
Kapil Gupta
916a4d6524
Fix coverity reported issues
2022-06-06 11:03:35 +05:30
Kapil Gupta
944690a5e7
Correct condition for not to use pmk caching
2022-06-06 11:03:35 +05:30
Mahavir Jain
3de609800b
Merge branch 'fix/menuconfig_option_esp_cryptoauthlib' into 'master'
...
esp_tls_mbedtls.c: Fix esp-idf integration of esp-cryptoauthlib
See merge request espressif/esp-idf!18373
2022-06-06 12:41:05 +08:00
Mahavir Jain
2acab7c783
Merge branch 'feature/c2_rng_support' into 'master'
...
esp32c2: Add support for RNG
Closes IDF-4021
See merge request espressif/esp-idf!18149
2022-06-06 12:38:28 +08:00
Mahavir Jain
89e936f495
Merge branch 'feature/add_option_allow_short_app_partition' into 'master'
...
bootloader: Allows app partition length not 64KB aligned for NO SECURE BOOT
Closes IDF-4984
See merge request espressif/esp-idf!18364
2022-06-06 12:21:12 +08:00
Darian Leung
593fbe0b23
freertos: Disable scheduler suspension tests for SMP FreeRTOS
...
The behavior of vTaskSuspendAll() has changed in SMP FreeRTOS. This commit
disables scheduler suspension related unit tests for SMP FreeRTOS.
The tests will be updated in IDF-5201
2022-06-06 12:15:44 +08:00
Mahavir Jain
51bbee2e19
espcoredump: allow reserving dedicated stack size for Xtensa architecture
...
Core issue with SET_STACK was fixed with e543e97c7b
Related: IDF-2797
2022-06-06 03:24:50 +00:00
Michael (XIAO Xufeng)
e372710b35
test_rtc: remove invalid test case file
2022-06-06 00:36:21 +08:00
Jiang Jiang Jian
b617ccfb4c
Merge branch 'feature/esp32c2_eco1_bluetooth_update_0525_for_MR' into 'master'
...
Support bluetooth for esp32c2 chip
See merge request espressif/esp-idf!18243
2022-06-04 17:35:17 +08:00
Geng Yuchao
cef8c506fd
Synchronously modify the nibmle repo
2022-06-04 12:11:31 +08:00
Geng Yuchao
910b296d72
Add missing configuration items for BLE controller
2022-06-04 11:35:18 +08:00
Aditya Patwardhan
2ea419db22
esp_tls_mbedtls.c: Fix esp-idf integration of esp-cryptoauthlib
...
menuconfig option
2022-06-03 23:12:11 +05:30
Jiang Jiang Jian
95fd68a0ab
Merge branch 'bugfix/pm_enabled_bt_build_fail' into 'master'
...
component_bt: Bluetooth build fail when power management is enabled
Closes BT-2372 and IDFGH-7514
See merge request espressif/esp-idf!18331
2022-06-04 01:15:37 +08:00
Geng Yuchao
3ee9ce9d06
Sync nimble repo
2022-06-04 01:00:04 +08:00
Geng Yuchao
8533457208
Add bluetooth controller lib for esp32c2
2022-06-04 01:00:04 +08:00
Geng Yuchao
0722e6a0b7
Update controller lib for esp32h2
2022-06-04 01:00:04 +08:00
Geng Yuchao
5bba3ebed9
Fix esp32h2 controller support.
2022-06-04 00:59:56 +08:00
Geng Yuchao
5c3f0bfe7c
Add esp32c2 controller support.
2022-06-04 00:59:21 +08:00
Michael (XIAO Xufeng)
d798662421
Merge branch 'bugfix/s3_sleep_voltage' into 'master'
...
esp32s3: fixed dangerous power parameters in sleep modes
See merge request espressif/esp-idf!18168
2022-06-04 00:47:32 +08:00
Geng Yuchao
a692abd423
Optimize the Cmake file structure, support esp32c2.
...
Follow Kconfig to update the nimble config macro name.
2022-06-03 22:41:33 +08:00
Geng Yuchao
50b762af1f
Add Bluetooth controller menuconfig option for esp32c2 and esp32h2
2022-06-03 22:41:33 +08:00
Geng Yuchao
02636688eb
Refactor Kconfig options structure
2022-06-03 22:41:20 +08:00
Geng Yuchao
c1505d045c
Add periph_module needed for BT
2022-06-03 21:47:58 +08:00
Geng Yuchao
8012af37d1
Fix soc caps for BT
2022-06-03 21:45:40 +08:00
morris
067e0f65bd
Merge branch 'bugfix/c2_uart_default_pin_num' into 'master'
...
C2: Added default UART pin numbers
See merge request espressif/esp-idf!18351
2022-06-03 20:35:11 +08:00
morris
aa3ddbc3c6
Merge branch 'test/enable_c2_target_tests' into 'master'
...
ci: enable target tests for ESP32-C2
Closes IDF-4989
See merge request espressif/esp-idf!18182
2022-06-03 16:41:24 +08:00
Anton Maklakov
e0d2e186bf
Merge branch 'feature/toolchain_2022r1' into 'master'
...
Bring 2022r1-RC1 toolchains, GCC 11
Closes GCC-180, GCC-178, IDFGH-5559, IDFGH-6180, IDFGH-5101, and IDFGH-4380
See merge request espressif/esp-idf!16797
2022-06-03 16:05:49 +08:00