Commit Graph

12763 Commits

Author SHA1 Message Date
Shubham Patil
2d2b066c01 espcoredump: Update expected output to fix test failures 2021-07-28 09:41:07 +05:30
Li Shuai
8a10ba4179 system: fix app cpu core clock gate invalid issue 2021-07-28 11:34:29 +08:00
He Yin Ling
2849f3bf44 Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
Test: add ethernet iperf example test case

Closes TCI-463

See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d test: add ethernet iperf example test case 2021-07-28 09:39:02 +08:00
Shubham Patil
3e84e5e668 Merge branch 'bugfix/xtensa_extra_info_register_values' into 'master'
espcoredump.py: Parse EPS and EPC register values using register index

See merge request espressif/esp-idf!14448
2021-07-27 10:22:41 +00:00
Jiang Jiang Jian
4d7f356f04 Merge branch 'bugfix/bypass_supplicant_from_sonar' into 'master'
wpa_supplicant: bypass sonar checks for upstream code

See merge request espressif/esp-idf!13472
2021-07-27 06:14:17 +00:00
Michael (XIAO Xufeng)
18bee2380a Merge branch 'refactor/usb_device_driver' into 'master'
tiny_usb: support on esp32-s3

Closes IDF-3234

See merge request espressif/esp-idf!14293
2021-07-26 16:21:55 +00:00
morris
88c87bfe56 mcpwm: update hal and soc naming 2021-07-26 22:32:45 +08:00
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
Ivan Grokhotkov
7534c4467f rom, spi_flash: add a patch for esp_flash_erase_region for C3, S3, H2 2021-07-24 13:28:25 +02: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
Ivan Grokhotkov
118fafef07 spi_flash: add test case for esp_flash_erase_region with 0 size 2021-07-23 14:14:57 +02:00
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
negativekelvin
8e6700c156
esp_flash_api fixes 2021-07-23 02:35:27 -07: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
Kapil Gupta
e667d1af2e wpa_supplicant: bypass sonar checks for upstream code 2021-07-22 14:12:22 +08: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
morris
81448dcae8 tiny_usb: rename Kconfig name
1. Renamed Kconfig file of tinyusb (distinguish tinyusb stack from usb
   peripheral)
2. bugfix/typofix/doc update of tinyusb
2021-07-22 10:43:10 +08:00
morris
2218204aa7 doc: update tinyusb document to support esp32s3
1. Renamed SOC_USB_SUPPORTED to SOC_USB_OTG_SUPPORTED for the reason of
   another USB related peripheral: USB_JTAG_SERIAL
2. correct related document
2021-07-22 10:43:10 +08:00
morris
42f3bca5a1 usb: update LL to support PHY selection
ESP32-S3 has two USB peripheral, one is USB_OTG, another is
USB_JTAG_SERIAL

A new mux has been introduced to select internal/external PHY interface.
2021-07-22 10:40:08 +08: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
Shubham Patil
df12f22e37 espcoredump.py: Parse EPS and EPC register values using register index 2021-07-21 20:24:47 +05:30
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
Omar Chebib
b8c6c5334f i2c: modify examples to work out of the box on ESP32S3
On ESP32S3, the default I2C pins of the examples are already used by USB.
This commit changes the default pins.
2021-07-21 11:04:16 +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
Li Shuai
512800891e light sleep: add uart new final state machine support for esp32s3 2021-07-20 11:27:14 +08:00
Jiang Jiang Jian
af9cb85e00 Merge branch 'feature/support_esp32s3_rtc_hw_support' into 'master'
esp_hw_support: add rtc module support for esp32s3

See merge request espressif/esp-idf!14368
2021-07-20 03:23:10 +00:00
Wang Meng Yang
d48dee8027 Merge branch 'bugfix/a2dp_deint_crash_master' into 'master'
component_bt: fix a2dp deinit crash

Closes BT-1722

See merge request espressif/esp-idf!14360
2021-07-20 03:02:03 +00:00
Anton Maklakov
be8ef09a59 Merge branch 'feature/exception_emergency_pool_test_ci' into 'master'
[cxx]: Activate emergency exception memory pool test in CI

Closes IDF-1610

See merge request espressif/esp-idf!14143
2021-07-20 02:22:32 +00:00
Ivan Grokhotkov
7b922bb8c6 Merge branch 'bugfix/emac_default_cfg' into 'master'
Fix invalid ETH_MAC_DEFAULT_CONFIG macro in C++

Closes IDF-3592

See merge request espressif/esp-idf!14409
2021-07-19 14:59:58 +00:00
Yang Zhao
6aa44a8a89 This is to fix the hardware bug. The device may report scan event
timeout when scaning.If check this error,then reset the rwble core.
2021-07-19 20:56:30 +08:00
Darian
a7468b519d Merge branch 'bugfix/twai_low_speed_bit_rates' into 'master'
TWAI: Fix incorrect configuration initializers for low speed bit rates

Closes IDF-3585

See merge request espressif/esp-idf!14388
2021-07-19 12:32:45 +00:00
Marius Vikhammer
03545feaea Merge branch 'feature/s3_flash_enc' into 'master'
S3 Flash encryption bringup

Closes IDF-1786 and IDF-2576

See merge request espressif/esp-idf!14259
2021-07-19 08:56:50 +00:00
Dmitry
883617d51f Change call0 to callx0 because on Esp32S3 it make error. 2021-07-19 11:19:54 +03:00
Ondrej Kosta
02a432b8d3 Fix invalid ETH_MAC_DEFAULT_CONFIG macro in C++ 2021-07-19 09:56:07 +02:00
Darian Leung
d604bf05af TWAI: Fix incorrect configuration initializers for low speed bit rates
This commit fixes the timing configuration initializers for the
1K, 5K, and 10K bit rates.
2021-07-19 14:27:39 +08:00
Omar Chebib
a7b6ec85b8 Merge branch 'feature/move_memory_layout_to_heap' into 'master'
G0: Memory layouts are now part of heap components

Closes IDF-1264

See merge request espressif/esp-idf!14028
2021-07-19 06:23:19 +00:00
Zim Kalinowski
da9e5ca38a Merge branch 'bugfix/usb_device_struct_cleanup' into 'master'
Cleanup USB device struct

Closes IDFGH-5223

See merge request espressif/esp-idf!13473
2021-07-19 04:23:20 +00:00
sly
d6762a9fb7 esp_hw_support: add rtc module support for esp32s3 2021-07-19 11:17:48 +08:00
xiongweichao
b1bceb6b42 Not initialized or in the process of de-initialization, calling API will return ERR 2021-07-19 11:06:21 +08:00
xiongweichao
55fe021ddb fix a2dp deinit crash 2021-07-19 11:06:21 +08:00
Wang Meng Yang
28e86c9b6f Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff' into 'master'
bugfix/unable to initiate SCO connection when peer device not accept sniff mode.

Closes BT-1201

See merge request espressif/esp-idf!12403
2021-07-18 23:21:24 +00:00
morris
0c7b43c3b0 sysview: fix tiemrgroup as sv timestamp 2021-07-18 16:13:32 +08:00
morris
2058e89448 Merge branch 'feature/fpga_bootloader' into 'master'
Boot ESP32 & ESP32-S2 apps on FPGA

See merge request espressif/esp-idf!8270
2021-07-18 08:06:38 +00:00
Michael (XIAO Xufeng)
59195b6fb3 Merge branch 'bugfix/update_gdma_soc' into 'master'
gdma: alignment setting for PSRAM transfer

Closes IDF-1524

See merge request espressif/esp-idf!13976
2021-07-17 14:04:03 +00:00
KonstantinKondrashov
84e5f52a26 freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs 2021-07-16 18:26:02 +05:00
Angus Gratton
356d7b6da3 esp_hw_support: Clean up CMakeLists file 2021-07-16 20:14:28 +08:00
Angus Gratton
9d6366f290 esp_hw_support: Move rtc.h header from target components 2021-07-16 20:14:28 +08:00
Angus Gratton
86061a720b app_update: Add soc_caps dependency to esp_ota_ops.h 2021-07-16 20:14:28 +08:00
Angus Gratton
77b1ddbcdb driver: Add some settling time when driving USB IOs high/low
Otherwise seems to sometimes fail in release config
2021-07-16 20:14:28 +08:00
Angus Gratton
f9d958a65d ut configs: Replace target component with esp_hw_support
No tests remaining in the target components.

Some further consolidations can be made here later, to combine target-specific
configs that don't need to be target-specific any more.
2021-07-16 20:14:28 +08:00
Angus Gratton
c1ca7a35b0 ldgen: Remove some remaining references to TARGET.project.ld.in 2021-07-16 20:14:27 +08:00
Angus Gratton
f0471b18b2 esp32h2: Move from target component to esp_hw_support (new structure) 2021-07-16 20:14:27 +08:00
Angus Gratton
867f13c6b7 tests gen_digital_signature_tests: Fix mypy issues 2021-07-16 20:14:27 +08:00
Renz Bagaporo
b06dba7823 esp32: move app linker scripts 2021-07-16 20:14:27 +08:00
Renz Bagaporo
fddc0b6799 esp32: move remaining tests 2021-07-16 20:14:27 +08:00
Renz Bagaporo
7c22cccb9c esp32: cleanup build script 2021-07-16 20:14:27 +08:00
Renz Bagaporo
844af01eb4 esp32: move spiram, himem 2021-07-16 20:14:26 +08:00