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
Michael (XIAO Xufeng)
4d2bb1e7ec
sdio_slave: fixed the issue that interrupt may be cleared with finished trans unhandled
2021-07-24 22:29:15 +08: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
Renz Bagaporo
452bfda367
esp32: move dport_access
2021-07-16 20:14:26 +08:00
Renz Bagaporo
702e41e1c8
esp32s2: move crypto related functions
2021-07-16 20:14:26 +08:00
Renz Bagaporo
ea2aafbb7a
esp32s2: move memprot api
2021-07-16 20:14:26 +08:00
Jakob Hasse
e94117a055
Merge branch 'bugfix/correct_driver_cmake' into 'master'
...
[driver]: removed redundant code in CMakeLists.txt
See merge request espressif/esp-idf!13365
2021-07-16 11:27:08 +00:00
morris
860c38bb24
Merge branch 'bugfix/config_data_interface_early' into 'master'
...
emac: configure data interface early
See merge request espressif/esp-idf!14339
2021-07-16 07:49:06 +00:00
morris
d9819bc7ae
gdma: set transfer ability
2021-07-16 14:47:09 +08:00
morris
d31b1f79e6
async_mcp: apply general esp_check macros
2021-07-16 14:47:09 +08:00
morris
3176ba11d8
gdma: update DMA soc data for esp32-s3
2021-07-16 14:47:09 +08:00
morris
217d3eb690
Merge branch 'feature/adc_single_sample_support_on_s3' into 'master'
...
adc: support adc single read on s3
Closes IDF-3118
See merge request espressif/esp-idf!14036
2021-07-16 06:32:08 +00:00
morris
bae28ed1ff
Merge branch 'refactor/esp_check_on_rtc_tempsensor' into 'master'
...
Refactor/rtc_tempsensor: esp_check update & fix log level
Closes IDFGH-5546
See merge request espressif/esp-idf!14377
2021-07-16 04:25:05 +00:00
Omar Chebib
9dd02354d2
Merge branch 'feature/riscv_panic_backtrace' into 'master'
...
espsystem: add support for RISC-V panic backtrace
Closes IDF-2064
See merge request espressif/esp-idf!12070
2021-07-16 04:13:44 +00:00
Jakob Hasse
24798ab739
Merge branch 'feature/esp_common_header_only' into 'master'
...
esp_common: Add support for linux target providing header only library
See merge request espressif/esp-idf!14310
2021-07-16 03:47:43 +00:00
Angus Gratton
35dd71b31e
Merge branch 'bugfix/va_args_macro' into 'master'
...
Provide `__VA_OPT__(,)` macro for C++20
Closes IDFGH-4898
See merge request espressif/esp-idf!12945
2021-07-16 03:46:37 +00:00
xiongweichao
fbab2fc0e3
Add remove sniff when peer not accepted sniff mode
2021-07-16 11:31:13 +08:00
Wang Meng Yang
32d9852625
Merge branch 'bugfix/ble_acl_tx_flush' into 'master'
...
components/bt: Fix for BLE ACL tx flush issue during reset
See merge request espressif/esp-idf!13949
2021-07-16 02:08:22 +00:00
Angus Gratton
c5d20dc231
fpga: Disable BOD when running on FPGA
2021-07-16 10:50:06 +10:00
KonstantinKondrashov
4ccb5515ef
fpga/bootloader: Fix LoadProhibited error when bootloader_fill_random() is not in iram_loader_seg
2021-07-16 10:50:06 +10:00
Angus Gratton
1a626ef6ca
esp32: App can boot on FPGA image
...
Includes fix for detecting ESP32 ECO3 on FPGA
2021-07-16 10:50:06 +10:00
Angus Gratton
bbbbd5cf0c
esp32s2: FPGA can boot to Hello World
2021-07-16 10:50:06 +10:00
Angus Gratton
8cc8c60b45
soc esp32s2: Use constant for XTAL value
...
ESP32-S2 only supports a 40MHz crystal.
2021-07-16 10:50:06 +10:00
Angus Gratton
192b5925da
bootloader: Can boot to IDF scheduler start on internal-use FPGA
...
On ESP32 & ESP32-S2. Patch doesn't include changes to make the app run fully.
2021-07-16 10:50:06 +10:00
Ivan Grokhotkov
ca51cd67a4
Merge branch 'bugfix/correct_clang_atomics' into 'master'
...
newlib,clang: implement __sync_* atomics for clang/llvm toolchain.
Closes LLVM-92
See merge request espressif/esp-idf!14269
2021-07-15 19:01:32 +00:00
Andrei Safronov
40daaa9d56
newlib,clang: implement __sync_* atomics for clang/llvm toolchain.
2021-07-15 20:36:40 +03:00
sushant.chougule
4c3d527b2f
component/bt: Fix BLE controller crash during reset/reboot
2021-07-15 22:35:37 +05:30
laokaiyao
27d9657b6c
driver/adc: support adc single sample on s3
2021-07-15 19:13:50 +08:00
Axel Lin
6c2aa59b51
freertos: Apply upstream stack masking fix for xtensa/port.c
...
Link: 6a5784598a (diff-cfa9a8b71a9665b5610f59bd2f56cb81b3ee73beaa6cac3fc965884069588d47)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/7274
2021-07-15 11:55:41 +02:00
Marius Vikhammer
126c6405f1
Merge branch 'feature/s3_default_2_config' into 'master'
...
CI: add S3 default_2 unit test config
See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
SalimTerryLi
ad505e7f03
rtc_tempsensor: esp_check update & fix log level
...
Closes https://github.com/espressif/esp-idf/issues/7271
2021-07-15 17:23:07 +08:00
Jakob Hasse
f6031d469b
[cxx]: No ##__VA_ARGS__ in public header files
...
* ##__VA_ARGS__ is replaced by __VA_OPT__(,)
and __VA_ARGS if C++20 is used.
* Affected header files are: esp_log.h,
portmacro.h and esp_check.h
* Closes https://github.com/espressif/esp-idf/pull/6692
2021-07-15 17:05:57 +08:00
Vladimir Chistyakov
1d74652b5e
Fix portGET_ARGUMENT_COUNT macro
...
portGET_ARGUMENT_COUNT uses a GCC extension ##__VA_ARGS__. It forces
the user to compile the code with GNU extensions enabled instead of ISO
language standard. The suggested change is to replace ##__VA_ARGS__ with
__VA_OPT__(,) __VA_ARGS__ which is supported by the current version of
GCC used in ESP-IDF for both C and C++ ISO standards.
This fix would enable ESP-IDF users to compile their code with ISO C++20
standard in future releases.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
2021-07-15 17:01:31 +08:00
Michael (XIAO Xufeng)
ded74889da
Merge branch 'bugfix/spi_slave_wrong_miso_mosi' into 'master'
...
spi_slave: Fix MOSI/MISO inconsistent references on the SPI Slave drivers.
See merge request espressif/esp-idf!13645
2021-07-15 08:51:41 +00:00
Jakob Hasse
3d174f67d9
[esp_event]: fixed and improved docs
...
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function
Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-07-15 16:46:02 +08:00
Michael (XIAO Xufeng)
f4e44b0b8e
Merge branch 'bugfix/i2c_slave_esp32s2' into 'master'
...
i2c: fix I2C slave clock source selection
Closes IDF-3177
See merge request espressif/esp-idf!13670
2021-07-15 08:36:46 +00:00
Ivan Grokhotkov
afe14a5ed2
Merge branch 'bugfix/newlib_dirent_decls' into 'master'
...
newlib: add C++ guards to the platform-specific dirent.h
Closes IDFGH-5465
See merge request espressif/esp-idf!14308
2021-07-15 07:27:14 +00:00
Sachin Parekh
fed4c4c313
Merge branch 'fix/esp32c3_memprot_split_line' into 'master'
...
esp32c3/memprot: Fix incorrect calculations and register access
Closes IDF-3510 and IDF-3514
See merge request espressif/esp-idf!14201
2021-07-15 05:08:14 +00:00
Omar Chebib
0771bd1711
espsystem: Rearchitecture and fix eh_frame_parser bugs
...
eh_frame_parser is architecture independent, thus the files have
been rearchitectured. Some bugs have been fixed in the test.
A README file has also been added to eh_frame_parser host test
directory.
eh_frame_parser is now able to detect empty gaps in .eh_frame_hdr
table (missing DWARF information).
Fix a bug occuring when parsing backtraces originated from abort().
Fix build missing dependencies issue.
2021-07-15 12:47:51 +08:00
Omar Chebib
2575c0d49f
i2c: fix I2C slave clock source selection
...
In I2C slave mode, clock source can now be changed, according to
the flags specified in `i2c_config_t` structure. Thus, ESP32-S2
can now act as an I2C slave, even with a 400KHz master clock.
2021-07-15 12:28:57 +08:00
Zim Kalinowski
f29d873c54
Merge branch 'feature/linenoise_improvement' into 'master'
...
console: re-use the available REPL console API and improve linenoise
Closes IDFGH-5296
See merge request espressif/esp-idf!13897
2021-07-15 03:37:19 +00:00
Omar Chebib
0fd74a43c8
console: re-use the available REPL console API and improve linenoise
...
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.
Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
Armando
6bb6f3ebc4
adc: refactor esp32s3 adc_ll.h
2021-07-15 10:33:03 +08:00
Shu Chen
3badc7b70f
Merge branch 'feature/support_154_thread_on_esp32h2' into 'master'
...
esp32h2: enable IEEE 802.15.4 and Thread
See merge request espressif/esp-idf!14315
2021-07-15 02:18:11 +00:00
Omar Chebib
c4f57af6c9
G0: Memory layouts are now part of heap components
2021-07-15 11:38:23 +10:00
Li Shuai
d2aeb9e4ce
light sleep: add gpio configure workaround at slept status for esp32s3
2021-07-14 21:57:21 +08:00
Hrishikesh Dhayagude
48058343fd
Merge branch 'feature/protocomm_mfg_data' into 'master'
...
Provisioning BLE: Add API to set manufacturer data in advertisement (scan response) packets
See merge request espressif/esp-idf!14147
2021-07-14 11:22:15 +00:00
Shu Chen
8e56ecc656
openthread: enable ot_cli on esp32h2
2021-07-14 19:15:24 +08:00
Shu Chen
bdaeeb3169
ieee802154: add IEEE 802.15.4 component
2021-07-14 19:14:30 +08:00
Marius Vikhammer
450aad552a
esptool: update esptool submodule
2021-07-14 18:46:17 +08:00
Marius Vikhammer
b8a322195e
flash encryption: add flash encryption support for ESP32-S3
2021-07-14 18:46:17 +08:00
Mahavir Jain
5270d8216b
Merge branch 'bugfix/fix_timer_delete_crash' into 'master'
...
Nimble: Add fix for crash in esp_timer deletion
Closes IDFCI-731
See merge request espressif/esp-idf!14316
2021-07-14 10:07:16 +00:00
Ivan Grokhotkov
aa404750c3
Merge branch 'bugfix/spi_flash_ubsan_fail' into 'master'
...
hal: spi_flash: avoid calling memcpy with NULL buffer
Closes IDFCI-737
See merge request espressif/esp-idf!14323
2021-07-14 09:30:41 +00:00
Angus Gratton
6f0b36f7be
Merge branch 'doc/flash_manual_encrypt' into 'master'
...
docs: Add manual encryption docs, fix flash encryption efuse bug
Closes IDFGH-3006
See merge request espressif/esp-idf!14178
2021-07-14 09:27:34 +00:00
Marius Vikhammer
19b3d2acb8
Merge branch 'bugfix/psram_fix_bootloader' into 'master'
...
bootloader: disable psram cache bug fix for bootloader
Closes FCS-438 and IDF-3132
See merge request espressif/esp-idf!13299
2021-07-14 09:22:30 +00:00
Angus Gratton
fcd193b024
docs: Use soc_caps instead of chip names for flash encryption docs
...
Clears the way for ESP32-S3 and future chips.
2021-07-14 16:57:31 +10:00
Prasad Alatkar
c8f4153d4f
Provisioning BLE: Add API to set manufacturer data in scan response
...
- Add `wifi_prov_scheme_ble_set_mfg_data` API to set custom manufacturer data
in BLE advertisements.
- Run format.sh script on modified files.
- Fix few typos in `protocomm_nimble.c`.
- Incorporate suggestion to remove extra check on protocomm_ble_mfg_data_len
- Remove few unnecessary comments.
2021-07-14 11:56:04 +05:30
morris
44c175649a
Merge branch 'refactor/replace_wrapped_LOGD_with_macro' into 'master'
...
uart,i2c: deprecate and replace wrapped xxx_CHECK with macro ESP_RETURN_ON_FALSE
See merge request espressif/esp-idf!14297
2021-07-14 05:55:13 +00:00
Marius Vikhammer
fe921291d2
build system: fix cxx init_priority not working on S3
2021-07-14 10:56:24 +08:00
Mahavir Jain
3365a7b21d
Merge branch 'feature/secure_boot_key_check_before_revoke' into 'master'
...
Check if the running app is signed by a valid key before revocation
See merge request espressif/esp-idf!13034
2021-07-13 13:06:27 +00:00
Angus Gratton
cb71466daa
Merge branch 'doc/bootloader_customization' into 'master'
...
docs: Expand bootloader section
Closes IDF-313 and IDFGH-4810
See merge request espressif/esp-idf!5660
2021-07-13 09:57:43 +00:00
Marius Vikhammer
05bb4a5d89
bootloader: disable psram cache bug fix for bootloader
...
The psram cache bug fix was also being applied to the bootloader binary (for cmake),
which doesnt do any psram access.
Applying this fix would increase the binary size, as much as 300 bytes in worst case scenarios
2021-07-13 16:28:22 +08:00
Rahul Tank
d0ad0d6139
system : Add defination of ESP_ERROR_CHECK_WITHOUT_ABORT under CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT flag
2021-07-13 16:20:49 +08:00
Rahul Tank
e81facd3e8
Nimble: Add fix for crash in esp_timer deletion
...
Added change in nimble submodule to handle crash in case of non-started
timer is attempted to be deleted.
2021-07-13 16:20:49 +08:00
Mahavir Jain
4c41a5bbd0
Merge branch 'feature/upgrade_mbedtls_to_v2.16.11' into 'master'
...
mbedtls: upgrade to release v2.16.11
Closes IDF-3429
See merge request espressif/esp-idf!14294
2021-07-13 08:12:46 +00:00
Supreet Deshpande
92754bd47e
Check if the running app is signed by a valid key before revocation
2021-07-13 13:38:12 +05:30
Mahavir Jain
76bd33e9a4
Merge branch 'cert/skipping_keyelements_validation' into 'master'
...
MbedTLS: Add config option for key elements and key element extension for SSL connection
See merge request espressif/esp-idf!12898
2021-07-13 07:55:49 +00:00
Omar Chebib
b967dc0dbf
espsystem: add support for RISC-V panic backtrace
...
Add .eh_frame and .eh_frame_hdr sections to the binary (can be
enabled/disabled within menuconfig). These sections are parsed
when a panic occurs. Their DWARF instructions are decoded and
executed at runtime, to retrieve the whole backtrace. This
parser has been tested on both RISC-V and x86 architectures.
This feature needs esptool's merge adjacent ELF sections feature.
2021-07-13 15:42:40 +08:00
Zim Kalinowski
34c16dba93
Merge branch 'bugfix/core_dump_image_erase_with_encryption' into 'master'
...
Fix a bug in `core_dump_image_erase` when flash encryption is enabled
Closes IDFGH-5173
See merge request espressif/esp-idf!14060
2021-07-13 07:34:00 +00:00
Angus Gratton
072232a934
docs: Expand bootloader section
...
- Cover customization options
- Cross-link to the "general notes" section which explains the low-level details
Closes IDF-313
2021-07-13 17:33:53 +10:00
morris
8e069dd755
emac: configure data interface early
...
Related to https://github.com/espressif/esp-idf/issues/7227
2021-07-13 15:10:23 +08:00
morris
3e2d98500f
Merge branch 'refactor/common_rom_rtc_apis' into 'master'
...
soc: define reset reasons in soc component
Closes IDF-1993
See merge request espressif/esp-idf!9829
2021-07-13 07:05:25 +00:00
Angus Gratton
d7d28786b2
Merge branch 'bugfix/secure_boot_sig_verify' into 'master'
...
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
See merge request espressif/esp-idf!14300
2021-07-13 06:48:25 +00:00
Angus Gratton
4fe4df8770
Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
...
bootloader: Add configurable pin level for factory reset (PR)
Closes IDFGH-5337
See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
Mahavir Jain
ea3c901874
mbedtls: fix crt_bundle test to ensure proper server start event
...
This fixes occasional test failure that was observed due to
client task getting started before server was up.
2021-07-13 13:20:16 +08:00
Mahavir Jain
3be3d5fff2
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-13 13:20:16 +08:00
Angus Gratton
36815fa1bf
soc: Add SOC_EFUSE_SUPPORT_XTS_AES_256_KEYS flags for esp32s2,s3
...
Fixes regression in f339b3fc96
2021-07-13 14:24:03 +10:00
morris
1560d6f1ba
soc: add reset reasons in soc component
2021-07-13 10:45:38 +08:00
Kang Zuoling
ee4ca67620
touch_element: add unit test for Touch Element lib
2021-07-12 10:02:46 +08:00
David Cermak
a7d5798b85
esp_common: Add support for linux target providing header only library
2021-07-09 17:29:45 +02:00
morris
8887897f54
Merge branch 'bugfix/timer_example_crashed_not_calling_timer_group_set_alarm_value_in_isr' into 'master'
...
driver/timer: fixed auto reload problem in default isr callback
Closes IDFGH-5229
See merge request espressif/esp-idf!13528
2021-07-09 10:18:18 +00:00
Ivan Grokhotkov
1d44e40fb1
hal: spi_flash: avoid calling memcpy with NULL buffer
...
In practice, calling memcpy with NULL buffer and 0 size works on the
ESP32, but the C standard considers this an undefined behavior.
When building with UBSAN checks enabled, compiler will insert a check
that memcpy argument is non-NULL, regardless of the size argument.
This caused a failure in tools/test_apps/system/panic, which is built
with USBAN enabled for several components.
2021-07-09 11:24:25 +02:00
Mahavir Jain
d838a11d78
Merge branch 'bugfix/fix_ws_handle_big_messages_error' into 'master'
...
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
Closes IDFGH-5463
See merge request espressif/esp-idf!14224
2021-07-09 07:53:12 +00:00
SalimTerryLi
f545adbceb
i2c.c, uart.c: replace xxx_CHECK with ESP_RETURN_ON_FALSE
2021-07-09 15:13:34 +08:00
Marius Vikhammer
70fd8529e9
Merge branch 'bugfix/s3_soc_update' into 'master'
...
soc: update S3 memory layout
See merge request espressif/esp-idf!14258
2021-07-09 06:13:22 +00:00
Angus Gratton
c2c0e4de3b
Merge branch 'feature/s3_wdt_bringup' into 'master'
...
TIMG and WDT bringup for S3
Closes IDF-1881, IDF-3229, IDF-3301, and IDF-3274
See merge request espressif/esp-idf!13957
2021-07-09 04:43:41 +00:00
Marius Vikhammer
5d184dcfe0
soc: update S3 memory layout
2021-07-09 12:29:56 +08:00
Sachin Parekh
1e17b1d843
esp32c3/memprot: Correct the split line address calculation
2021-07-09 09:33:52 +05:30
Sachin Parekh
29a308e614
esp32c3/memprot: Fix incorrect access to DRAM0 split line registers
...
memprot_ll_set_dram0_split_line_* and memprot_ll_get_dram0_split_line_* APIs were accessing
incorrect configuration register
2021-07-09 09:33:52 +05:30
Michael (XIAO Xufeng)
a85f5b797e
Merge branch 'ci/flash_performance_no_check_EXT_WR_4B' into 'master'
...
ci: stop checking FLASH_SPEED_BYTE_PER_SEC_EXT_WR_4B performance
See merge request espressif/esp-idf!14247
2021-07-09 02:39:21 +00:00
Omar Chebib
9340cb4c1a
Merge branch 'feature/override_bootloader' into 'master'
...
bootloader: override the 2nd stage bootloader
Closes IDF-2946 and IDFGH-5279
See merge request espressif/esp-idf!13178
2021-07-09 02:25:24 +00:00
Ivan Grokhotkov
cbf207bfb8
newlib: add C++ guards to the platform-specific dirent.h
...
Before newlib 3.3.0, <dirent.h> bundled in newlib did not include any
function declarations. Instead, the file included the platform-
specific <sys/dirent.h>. This inclusion was inside a C++ guard block.
ESP-IDF provided sys/dirent.h inside newlib component, and this file
contained all the necessary function and structure declarations.
Since da418955f5
,
common function declarations have been added to <dirent.h> in newlib.
However, the inclusion of sys/dirent.h has been moved out of the C++
guard block. However we didn't notice this change and did not update
sys/dirent.h in ESP-IDF newlib component to and the now-required
C++ guards there.
This commit adds the missing C++ guards to the platform-specific
sys/dirent.h.
The declarations of common dirent.h functions are now present both in
<dirent.h> (provided by newlib) and in sys/dirent.h (provided by IDF).
We keep the declarations in sys/dirent.h for compatibility, since some
ESP-IDF files and applications may include <sys/dirent.h> directly,
rather than <dirent.h>.
Closes https://github.com/espressif/esp-idf/issues/7204
2021-07-08 15:53:58 +02:00
Ondrej Kosta
a6db3a5e77
esp_eth: Change clock mode setting
...
RMII clock mode is made to be run-time configurable.
Closes https://github.com/espressif/esp-idf/issues/6564
Closes https://github.com/espressif/esp-idf/issues/7107
2021-07-08 14:27:31 +02:00
Marius Vikhammer
4553654f40
build system: fix rtc_data being placed in wrong region for S3
2021-07-08 18:40:01 +08:00
Marius Vikhammer
80acc1a002
CI: add S3 default_2 unit test config
2021-07-08 18:39:57 +08:00
Jakob Hasse
7edb808592
[cxx]: Activated emergency pool test to CI
2021-07-08 17:26:49 +08:00
Angus Gratton
e3ca61a200
secure boot: Fix incorrect handling of mbedtls_ctr_drbg_seed() failure in signature verification
...
Increase the test app optimization level to one that would find this issue.
2021-07-08 19:17:04 +10:00
Shu Chen
d93887f9f0
Merge branch 'feature/openthread-lib' into 'master'
...
openthread: provide prebuilt libopenthread libraries
See merge request espressif/esp-idf!14177
2021-07-08 09:15:33 +00:00
morris
90f05c42b2
Merge branch 'bugfix/fix_i2c_master_write_bug' into 'master'
...
i2c: application can now call `i2c_master_write` for sending a single byte
Closes IDF-3518 和 IDFCI-741
See merge request espressif/esp-idf!14273
2021-07-08 06:32:39 +00:00
morris
3b821b8ac3
Merge branch 'bugfix/rotary_encoder_example_main' into 'master'
...
bugfix: rotary encoder example isr service install
Closes IDFGH-5105
See merge request espressif/esp-idf!14114
2021-07-08 04:25:30 +00:00
Kapil Gupta
38d6772507
mbedtls: Add config option key element and key element ext
2021-07-08 09:23:22 +05:30
morris
8694cb7fdf
Merge branch 'bugfix/missing_include_in_rtc_clk' into 'master'
...
rtc: Add missing esp_rom_sys.h header in rtc clk
See merge request espressif/esp-idf!14221
2021-07-08 02:38:42 +00:00
Chen Jian Xing
65efad0122
Merge branch 'bugfix/fix_connect_fail_cause_by_sleep' into 'master'
...
Fix connection failure caused by sleep
Closes WIFI-3710
See merge request espressif/esp-idf!14271
2021-07-07 15:13:17 +00:00
David Čermák
cd47ba03bc
Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
...
mdns: Clean the main mdns module from lwip dependencies
See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
Jiacheng Guo
0050248918
openthread: provide prebuilt libopenthread libraries
2021-07-07 15:27:47 +08:00
Jakob Hasse
cdcf88272b
Merge branch 'bugfix/exclude_spi_flash_deadlock_test_on_s3_completely' into 'master'
...
[spi_flash]: temporary disable deadlock test for all targets
See merge request espressif/esp-idf!14248
2021-07-07 05:12:18 +00:00
xiehang
3491da1f3f
Fix connection failure caused by sleep
2021-07-07 11:38:03 +08:00
zwj
f5fcfec2cb
Fixed ESP32S3 BLE controller init failed
2021-07-06 18:04:04 +08:00
Marius Vikhammer
71c1da8952
timer group: add timer group and WDT support for ESP32S3
...
Regenerate timer group header files and update LL, check examples
and update docs.
2021-07-06 16:21:43 +08:00
Omar Chebib
e9ffe03544
i2c: the user is now allowed to call i2c_master_write even for sending a single byte
2021-07-06 12:12:16 +08:00
WangShichang
8fd261b3eb
esp_phy: update esp32s3 phy init data
2021-07-06 11:38:42 +08:00
chenjianxing
564068d5af
esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue
2021-07-06 11:38:40 +08:00
morris
d9d4db43a1
Merge branch 'feature/dedic_gpio_esp32s3' into 'master'
...
Dedicated gpio driver on esp32s3
Closes IDF-3387
See merge request espressif/esp-idf!14196
2021-07-06 03:20:04 +00:00
Jiang Jiang Jian
0edcf11089
Merge branch 'bugfix/revert_default_country' into 'master'
...
esp_wifi: Revert default country to China
See merge request espressif/esp-idf!14251
2021-07-05 13:15:43 +00:00
yuanjm
f2a0b48cf9
esp_http_server: Fix ws server handle length over 1440(MTU) messages incorrectly.
...
Closes https://github.com/espressif/esp-idf/issues/7202
2021-07-05 20:09:49 +08:00
Michael (XIAO Xufeng)
c6716dcb39
Merge branch 'feature/esp32c3_usbjtag_console_blocking' into 'master'
...
USB_serial_jtag controller: Add driver for supporting VFS on esp32c3(blocking implementation)
Closes IDF-3066 and IDF-3019
See merge request espressif/esp-idf!13414
2021-07-05 07:57:19 +00:00
Kapil Gupta
ecd1d9406e
esp_wifi: Revert default country to China
2021-07-05 12:32:47 +05:30
Angus Gratton
6bbb58c8c2
bootloader: Small cleanup and docs for factory reset level config
...
- Add to docs & config descriptions
- Change to a "choice" to become self-documenting
- Keep the bootloader_common_check_long_hold_gpio() function for compatibility
2021-07-05 12:08:36 +08:00
chegewara
fb7234a13d
bootloader: Add selectable level for factory reset pin
...
Closes https://github.com/espressif/esp-idf/pull/7089
2021-07-05 12:08:36 +08:00
Jakob Hasse
2ac44f1e76
[spi_flash]: fixed test disabling
...
* MR 14212 accidentally disabled the test
"spi_flash deadlock with high priority
busy-waiting task"
for all targets except S3 without legacy
flash implementation. The test is now
disabled for all targets, since
the same issue appeared on other targets, too.
2021-07-05 11:25:15 +08:00
Cao Sen Miao
3aa9ac2469
usb_serial_jtag: Add blocking driver to support vfs.
2021-07-05 11:22:38 +08:00
Michael (XIAO Xufeng)
7f98fbb553
ci: stop checking FLASH_SPEED_BYTE_PER_SEC_EXT_WR_4B performance
2021-07-05 11:20:55 +08:00
Omar Chebib
a79acb413e
bootloader: override the 2nd stage bootloader
...
Add the possibility to have user bootloader components. This is performed
from an application/project, by creating bootloader components. To do so,
it is required to create a `bootloader_component` directory containing
the custom modules to be compiled with the bootloader.
Thanks to this, two solutions are available to override the bootloader now:
- Using hooks within a user bootloader component
- Using a user defined `main` bootloader component to totally override the
old implementation
Please check the two new examples in `examples/custom_bootloader`
* Closes https://github.com/espressif/esp-idf/issues/7043
2021-07-05 10:25:32 +08:00
Michael (XIAO Xufeng)
acc1e543b0
Merge branch 'bugfix/fix_bit_error_in_ledc_struct' into 'master'
...
LEDC: fix bit error in ledc_struct.h
Closes DOC-1580
See merge request espressif/esp-idf!14161
2021-07-03 14:01:51 +00:00
Jiang Jiang Jian
3636edca1a
Merge branch 'feature/regdomain_support' into 'master'
...
esp_wifi: Add support for regdomain db
Closes WIFI-3596
See merge request espressif/esp-idf!13413
2021-07-02 17:22:08 +00:00
Michael (XIAO Xufeng)
5986b204c6
Merge branch 'feature/i2c_add_static_buffer_transfers' into 'master'
...
i2c: add `i2c_cmd_link_create_static()` to create commands from a given buffer
Closes IDFGH-3087
See merge request espressif/esp-idf!13013
2021-07-02 14:00:03 +00:00
Cao Sen Miao
fecf27e54c
spi_flash: add support for 32Mbit address GD flash, for GD25Q256
2021-07-02 17:13:51 +08:00
Kapil Gupta
a5086e302d
esp_wifi: Add support for regdomain database
2021-07-02 14:11:40 +05:30
Jiang Jiang Jian
b88dc652ed
Merge branch 'bugfix/rrm_caps_for_open_ap' into 'master'
...
wpa_supplicant: Fix some issues in 11kv
Closes WIFI-3673, WIFI-3433, WIFI-3749, and WIFI-3726
See merge request espressif/esp-idf!13694
2021-07-02 08:04:50 +00:00
Ivan Grokhotkov
82a5f9c4b7
Merge branch 'bugfix/tls_alignment' into 'master'
...
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts
See merge request espressif/esp-idf!14220
2021-07-02 06:36:09 +00:00
Angus Gratton
b0f68decaf
Merge branch 'bugfix/exclude_spi_flash_deadlock_test_on_s3' into 'master'
...
[spi_flash]: Disable deadlock test from S3
See merge request espressif/esp-idf!14212
2021-07-02 05:49:15 +00:00
Kapil Gupta
16b64e8524
wpa_supplicant: Fix some issues in 11kv
...
Fix following issues:
1. RRM capability addition for open AP
2. Crash during scan flush
3. Station not able to connect if disassoc timer is present in BTM request
4. Memory leaks during wifi init/deinit.
2021-07-02 09:41:23 +05:30
Jiang Jiang Jian
2a747b7bb1
Merge branch 'bugfix/ftm_lock_free_issue' into 'master'
...
esp_wifi: Update wifi lib with lock free issue fix
See merge request espressif/esp-idf!14214
2021-07-01 17:39:52 +00:00
David Čermák
76a7c78a0a
Merge branch 'bugfix/esp_netif_dhcps_state' into 'master'
...
esp_netif: Fix dhcps state transitions
Closes IDF-3399
See merge request espressif/esp-idf!13991
2021-07-01 16:01:21 +00:00
Almir Okato
06a849b33e
rtc: Add missing esp_rom_sys.h header in rtc clk
...
rtc_clk.c for esp32, esp32s2 and esp32s3 did not include the
esp_rom_sys.h header which could cause implicit declaration issues for
some function calls.
2021-07-01 12:50:14 -03:00
Michael (XIAO Xufeng)
0e31332693
Merge branch 'feature/add_esp32h2_target' into 'master'
...
esp32h2: add esp32h2 build target
See merge request espressif/esp-idf!13944
2021-07-01 14:46:37 +00:00
Krzysztof Budzynski
f0b2926d70
Merge branch 'docs/s3_get_started' into 'master'
...
docs: updated getting started for S3
Closes IDF-3281 and IDF-3282
See merge request espressif/esp-idf!14174
2021-07-01 14:33:55 +00:00
Ivan Grokhotkov
a6c721b24c
esp32[s2,s3]: fix _flash_rodata_align value in the linker scripts
...
Regression from 4702feeee
. The TLS segment is located inside
.flash.rodata, so we need to get the alignment of that section, not
.flash.rodata_noload.
2021-07-01 16:13:31 +02:00
David Cermak
619235c2ee
mdns: Fix fuzzer IDF-mock layer
...
Removed lwip dependencies
Simplified the mocks for esp32 and esp-netif
2021-07-01 15:45:05 +02:00
David Cermak
54e329444a
mdns: Clean the main mdns module from lwip dependencies
...
* Reduced number of include paths
* Abstract the internals of mdns packet (specifics defined in
mdns_networking.c)
* Use ESP_IP addresses instead of lwip addresses
2021-07-01 15:01:39 +02:00
David Cermak
7cab3d48e6
esp_netif: IP Address: Add esp-ip addr copy API, IP init macros
2021-07-01 15:01:39 +02:00
Shu Chen
75bd02bd46
esp32h2: add some more fixes and TODOs
2021-07-01 20:36:39 +08:00
David Čermák
6661d01a64
Merge branch 'feature/mdns_query_async' into 'master'
...
mdns: Add asynchronous query API
See merge request espressif/esp-idf!13988
2021-07-01 12:28:54 +00:00
wuzhenghui
112372d598
update rom bootloader addr info
2021-07-01 19:53:50 +08:00
Shu Chen
2df4ddf998
esp32h2: fixes after rebase
2021-07-01 19:53:50 +08:00
Shu Chen
ee23a489b9
esp32h2: code clean up
2021-07-01 19:53:50 +08:00
Shu Chen
e9a51e410a
esp32h2: add stub code for efuse/esp_gdbstub/esp_phy
...
Only stub code for these components:
* efuse
* esp_gdbstub
* esp_phy
2021-07-01 19:53:11 +08:00
Shu Chen
6fce2930d0
esp32h2: enable more components to support esp32h2
...
Involved components:
* app_trace
* esp-tls
* esp_adc_cal
* esp_pm
* esp_serial_slave_link
* esp_timer
* freertos
* idf_test
* log
* mbedtls
* newlib
* perfmon
* spi_flash
* spiffs
* ulp
* unity
* vfs
2021-07-01 19:53:11 +08:00
Shu Chen
c0056813f2
esp32h2: add bootloader support
2021-07-01 19:53:11 +08:00
Shu Chen
5e3689ae0f
esp32h2: update esp_system and esp_hw_support to support esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
7d4b2617e1
esp32h2: copy esp_system and esp_hw_support from esp32c3
...
Copy the esp32c3 code without any change:
* components/esp_hw_support/include/soc/esp32h2
* components/esp_hw_support/port/esp32h2
* components/esp_system/port/soc/esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
37f4cb8b4b
esp32h2: add rom code for esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
205cd469e9
esp32h2: update driver/hal/soc components to support esp32h2
2021-07-01 19:53:11 +08:00
Shu Chen
983cca8b27
esp32h2: copy driver/hal/soc components from esp32c3
...
Copy the esp32c3 code without any change:
* components/driver/esp32h2
* components/esp32h2
* components/hal/esp32h2
* components/soc/esp32h2
2021-07-01 19:53:11 +08:00