Commit Graph

12694 Commits

Author SHA1 Message Date
Mahavir Jain
0ad7d93122 Merge branch 'bugfix/esp32c3_wrong_iram_alignment' into 'master'
System/memprot: ESP32C3 IRAM section alignment fix (LD)

Closes IDF-3554

See merge request espressif/esp-idf!14393
2021-07-26 10:57:53 +00:00
Aditya Patwardhan
c69f0ec329 Merge branch 'fix/memory_leaks_identified_by_cppcheck' into 'master'
Fix/memory leaks identified by cppcheck

Closes IDFGH-5573

See merge request espressif/esp-idf!14497
2021-07-25 01:53:44 +00:00
Martin Vychodil
ce28af2dd4 System/memprot: ESP32C3 IRAM section alignment fix (LD)
IRAM section didn't contain sufficient padding for possible CPU instruction prefetch,
ie instruction fetch could happen in DRAM section which is prohibited by the Memprot module.
This is fixed by adding 16B to the end of IRAM section in LD script (C3 CPU prefetch buffer depth is 4 words)

Closes IDF-3554

* fix
2021-07-23 17:11:12 +02:00
Alex Henrie
d4ff9ab266 Fix memory leak on error path in register_select
And remove dead error handling code from unregister_select.

Closes https://github.com/espressif/esp-idf/pull/7296
2021-07-23 17:49:34 +05:30
Alex Henrie
5242e048d4 Fix memory leak on error path in http_header_set_format 2021-07-23 17:48:45 +05:30
Alex Henrie
b07ad7a08d Fix memory leak on error path in md5_printf 2021-07-23 17:48:45 +05:30
Alex Henrie
f88a2f10c2 Fix memory leak on error path in esp_ds_start_sign 2021-07-23 17:48:45 +05:30
Li Hang Fan
61f79cbf9c Merge branch 'refactor/move_ldscript_to_soc' into 'master'
refactor/soc: Move peripheral linker scripts out of target component

Closes IDF-3580

See merge request espressif/esp-idf!14474
2021-07-23 11:54:56 +00:00
Ivan Grokhotkov
32d4829fed Merge branch 'bugfix/rtos_systick_cycle_time_error_dfs' into 'master'
fix RTOS SysTick cycle time error caused by DFS

See merge request espressif/esp-idf!14486
2021-07-23 10:59:50 +00:00
Yuan Jian Min
30e9242f90 Merge branch 'bugfix/fix_http_client_fetch_header_error' into 'master'
esp_http_client: Fix when receive FIN, close the connection in internal.

Closes IDFGH-5271

See merge request espressif/esp-idf!14240
2021-07-23 08:59:37 +00:00
Hrishikesh Dhayagude
ab970ac0cf Merge branch 'bugfix/bluedriod_esp32c3' into 'master'
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack

See merge request espressif/esp-idf!14124
2021-07-23 08:33:22 +00:00
yuanjm
02367b44ef esp_http_client: Fix when receive FIN, close the connection in internal.
Closes https://github.com/espressif/esp-idf/issues/7036
2021-07-23 12:16:17 +08:00
Li Shuai
c460905fd9 fix RTOS SysTick cycle time error caused by DFS 2021-07-22 21:48:56 +08:00
Alex Lisitsyn
a573e9d3c8 Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks' into 'master'
freemodbus: add affinity option for modbus stack tasks
freemodbus: change the default value of `FMB_TIMER_PORT_ENABLED` to disabled

Closes IDFGH-4907

See merge request espressif/esp-idf!12767
2021-07-22 09:12:56 +00:00
Konstantin Kondrashov
76a4340bf7 Merge branch 'bugfix/efuse_table_for_c3' into 'master'
efuse: Fix len of SOFT_DIS_JTAG for esp32c3 and esp32h2

Closes IDF-3577

See merge request espressif/esp-idf!14389
2021-07-22 08:47:34 +00:00
Li Shuai
ead49c7acf Merge branch 'feature/support_esp32s3_gpio_sleep_iso' into 'master'
light sleep: add gpio isolate function at slept status for esp32s3

See merge request espressif/esp-idf!14370
2021-07-22 07:52:55 +00:00
Switi Mhaiske
99cce49299 ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack 2021-07-22 15:37:46 +08:00
Michael (XIAO Xufeng)
fbb6b1b11a Merge branch 'bugfix/fix_uart_reset_issue_on_esp32c3' into 'master'
bugfix(uart): reset uart0 core before uart apb reset

Closes IDF-3362

See merge request espressif/esp-idf!12749
2021-07-22 07:20:58 +00:00
morris
3277393670 Merge branch 'bugfix/s3_uart_reg_update' into 'master'
uart: S3 7.2.8 bringup

Closes IDF-3227 and IDF-3304

See merge request espressif/esp-idf!14009
2021-07-22 07:11:31 +00:00
aleks
dfcc434910 freemodbus: add affinity option for modbus stack tasks
Closes https://github.com/espressif/esp-idf/issues/6700
2021-07-22 13:15:24 +08:00
SalimTerryLi
2347e68e6b
soc: move peripheral linker scripts out of target component 2021-07-22 12:55:01 +08:00
Fu Hanxi
69650e0c18 Merge branch 'feature/espcoredump_test_refactor' into 'master'
Feature: espcoredump test refactor

See merge request espressif/esp-idf!13092
2021-07-22 04:35:58 +00:00
Marius Vikhammer
a29a6ceef0 uart: update register headers and examples for S3 2021-07-22 12:05:49 +08:00
Omar Chebib
74d939fd71 Merge branch 'feature/spi_keep_cs_low' into 'master'
SPI: chip select can now be kept active if the bus has been acquired

Closes IDF-3125

See merge request espressif/esp-idf!13546
2021-07-22 03:57:58 +00:00
Fu Hanxi
12f0b55ca9 test(coredump): refactor coredump test and add esp32s2/esp32c3 tests 2021-07-22 10:17:59 +08:00
Alexey Gerenkov
a9db7831b0 Merge branch 'bugfix/sysview_timestamp' into 'master'
sysview: fix tiemrgroup as sv timestamp

See merge request espressif/esp-idf!14374
2021-07-21 19:15:45 +00:00
Cao Sen Miao
38633699f1 Merge branch 'refact/cleanup_tempreture_sensor_driver' into 'master'
temp_sensor: Add check to the temp_sensor api

Closes IDF-2532 and IDF-2780

See merge request espressif/esp-idf!13456
2021-07-21 12:26:24 +00:00
Konstantin Kondrashov
1b29a4aa5e Merge branch 'bugfix/sync_rtc_and_esp_timer_before_reboot' into 'master'
esp_system: Adds sync of FRC & RTC counters in esp_restart

Closes ESPCS-509 and IDFGH-4548

See merge request espressif/esp-idf!11841
2021-07-21 12:22:03 +00:00
KonstantinKondrashov
92448e7bd7 secure_boot: Whole 3 bits are set for SOFT_DIS_JTAG eFuse 2021-07-21 17:19:01 +05:00
Shu Chen
80f03f4820 Merge branch 'feature/otbr-1.3' into 'master'
openthread: support 1.3 border routing features

See merge request espressif/esp-idf!14407
2021-07-21 08:01:26 +00:00
KonstantinKondrashov
b8dd163149 efuse: Fix len of SOFT_DIS_JTAG for esp32c3 and esp32h2 2021-07-21 12:10:09 +05:00
Konstantin Kondrashov
9c870b74bb Merge branch 'bugfix/freertos_ut_suspend' into 'master'
freertos: Increases delta for UT - Test suspend-resume CPU. The number of...

Closes IDFCI-688

See merge request espressif/esp-idf!14403
2021-07-21 06:07:34 +00:00
Cao Sen Miao
69ad24c943 temp_sensor: add docs for esp32c3 2021-07-21 13:34:52 +08:00
KonstantinKondrashov
c19b37d2a9 esp_system: Adds sync of FRC & RTC counters in esp_restart
In case when FRC and RTC counters are very different then
the need to sync them before to restart the ESP
to get the correct system time after reboot.
2021-07-21 10:23:24 +05:00
Shu Chen
dadaf30d17 Merge branch 'feature/add_eui64_for_esp32h2_efuse' into 'master'
efuse: add mac extension address for esp32h2

See merge request espressif/esp-idf!14363
2021-07-21 03:46:58 +00:00
Chen Yi Qun
6317f5b481 add uart core reset in uart_module_enable() 2021-07-21 11:41:04 +08:00
Wangjialin
2b986fbd49 For esp_restart API, reset uart0 core first, then reset uart0 apb side, so as to prevent uart output garbage after cpu reset. (UART0 RST bits will be cleared in ROM)
Add UART0/1 core reset on esp32c3, in case uart driver would also reset uart hardwares.
2021-07-21 11:41:04 +08:00
Cao Sen Miao
24356cf7f7 temp_sensor: add check to temp_sensor api 2021-07-21 11:24:37 +08:00
Jiacheng Guo
a74bbde9c5 openthread: support 1.3 border routing features
- Support ICMPv6 auto config
- Support SRP service delegation
- Publish _meshcop._mdns service
2021-07-21 10:44:10 +08:00
Omar Chebib
a6e14c37b2 SPI: chip select can now be kept active if the bus has been acquired
The user can now request the chip select to remain active after the current
transfer. In order to do so, he MUST acquire the bus first with `spi_device_acquire_bus()`
function, else, an error is returned.
2021-07-21 10:39:45 +08:00
Michael (XIAO Xufeng)
a1b5c38218 Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail' into 'master'
freemodbus: fix modbus rs485 rts enable fail after some time

Closes IDFGH-1987

See merge request espressif/esp-idf!11548
2021-07-21 02:07:52 +00:00
Alex Lisitsyn
c801b3a182 freemodbus: fix uart_wait_tx_done() reenable tx_done interrupt
fixes the issue with uart_wait_tx_done() when the task is suspended and transmission is done right before reenable tx_done interrupt
2021-07-21 10:07:44 +08:00
Michael (XIAO Xufeng)
7357d777e3 Merge branch 'feature/touch_sense_test_case' into 'master'
touch_element: add unit test for touch element lib

Closes IDF-2667

See merge request espressif/esp-idf!11825
2021-07-20 17:28:53 +00:00
Roland Dobai
b37ef24bd7 Merge branch 'bugfix/fix_memory_layout_h_ci_issue' into 'master'
host tests: add missing header files for compiling host tests

See merge request espressif/esp-idf!14430
2021-07-20 12:37:00 +00:00
Ivan Grokhotkov
88e28a57f2 Merge branch 'bugfix/gdbstub_rt_callx0' into 'master'
Fix problem on Esp32S3 with dangerous relocation for gdbstub.

See merge request espressif/esp-idf!14145
2021-07-20 09:56:20 +00:00
Omar Chebib
bd96484f7b host tests: add missing header files for compiling host tests 2021-07-20 17:44:20 +08:00
Ivan Grokhotkov
c28612cd2b Merge branch 'bugfix/freertos_coproc_save_area_alignment' into 'master'
freertos: Apply upstream stack masking fix for xtensa/port.c (Github PR)

Closes IDFGH-5549

See merge request espressif/esp-idf!14379
2021-07-20 09:00:04 +00:00
Wang Meng Yang
226c6ab6de Merge branch 'bugfix/fix_scan_timeout_mr_master' into 'master'
Fix the scan timeout report

See merge request espressif/esp-idf!14325
2021-07-20 07:53:52 +00:00
Jakob Hasse
ecb437f8fd Merge branch 'bugfix/esp_event_any_id_unregister' into 'master'
ESP Event: fix unregister documentation

Closes IDFGH-4969

See merge request espressif/esp-idf!14184
2021-07-20 07:33:57 +00:00
zhangwenxu
d5b9078e23 efuse: add mac extension address for esp32h2 2021-07-20 12:03:17 +08:00