Aditya Patwardhan
dfcf5878f8
secure_boot_v2: Fix warning message
2022-11-25 03:25:36 +05:30
Aditya Patwardhan
22ad083ccd
Merge branch 'refactor/merge_esp_ds_code_between_targets' into 'master'
...
Merge esp_ds and hmac_hal layers for different targets
Closes IDF-3803, IDF-6144, and DOC-3973
See merge request espressif/esp-idf!21187
2022-11-25 03:59:18 +08:00
Kevin (Lao Kaiyao)
0b1db93ea1
Merge branch 'feature/support_uart_on_c6' into 'master'
...
uart: support uart on esp32c6
Closes IDF-5338
See merge request espressif/esp-idf!21101
2022-11-24 18:42:31 +08:00
Aditya Patwardhan
1c233cc508
hmac_hal: Merge hmac hal layer for different into one
2022-11-24 16:04:26 +05:30
Aditya Patwardhan
aa27abb39b
esp_hw_support/esp_ds: Improve documentation for esp_ds_sign and esp_ds_encrypt_params API
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
2c1416d92c
hal/esp32s3: Rename static API hmac_ll_query_config_error to
...
hmac_ll_config_error in order to make it standardized across targets
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
ac1f4a263b
esp_hw_support: Merge esp_ds.h file for different targets into one
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
f79d8f9c07
esp_hw_support: Merge esp_ds.c file for different targets into one
2022-11-24 16:03:30 +05:30
Aditya Patwardhan
6a75fe5912
esp_hw_support: Update build system support for mergin esp_ds.c files
...
into one
2022-11-24 16:03:23 +05:30
C.S.M
28b2deaf24
Merge branch 'feature/add_target_esp32h2' into 'master'
...
ESP32-H2: Introduce new target for ESP32H2
See merge request espressif/esp-idf!21190
2022-11-24 18:31:19 +08:00
Aditya Patwardhan
efd05fdebb
esp32c3/esp_ds.c: Fix RSA_LEN_MAX variable
2022-11-24 15:53:51 +05:30
Guillaume Souchere
b496bab0f6
heap: fix linker issues and remove spi flash dependencies
2022-11-24 10:31:14 +01:00
Guillaume Souchere
e31e6d4de8
feat: remove tlsf_fls and tlsf_ffs from linker as they are inlined.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
ab1bd08ab9
tools: update list of references to not include symbold used by __assert_func calls
...
On xtensa architecture, the call to __assert_func uses a reference to __func__ that can
sometimes be placed in flash. Since the __asert_func can be called from functions in IRAM
the check_callgraph script can report an error when checking for invalid calls from IRAM
to flash sections. However, the __asert_func prevents this scenario at runtime so the
check_callgraph script reports a 'flas positive' situation. For this reasson, all references
to __func__$x found prior to a call to __assert_func are droped in the parsing of the rtl files.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
0376e6ec79
heap: add check for usage of flash content from iram
...
this commits:
- adds build-time test to check that no call to flash regions are done from IRAM functions
- resolves problems related to IRAM function using content in flash memory
- update heap_caps_alloc_failed to use a default function name in DRAM
when necessary instead of creating a function name variable in DRAM for
each call of heap_caps_alloc_failed. This allows to save some extra bytes
in RAM.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
5dc0481d21
heap: add documentation about the function placement in IRAM and its usage in ISR
...
This commits adds a internal.md file in the heap directory to clarify the idea behind
which functions is placed in IRAM or in flash.
A section in mem_alloc.rst documentation is added to specify which functions from the
heap component API can be used in interrupt handlers.
2022-11-24 10:31:14 +01:00
Guillaume Souchere
7fcd964b1d
heap: add selective placement of function in IRAM
...
This commit aims to place in the IRAM section only the functions that
are relevent for performance instead of placing the entire content of
multi_heap.c, mullti_heap_poisoning.c and tlsf.c in the IRAM.
2022-11-24 10:31:14 +01:00
laokaiyao
888ca08cb2
uart: support examples and tests on esp32c6
2022-11-24 16:07:24 +08:00
laokaiyao
7778ab6d5c
uart: support update_reg and PCR clock for all uart devices
2022-11-24 16:07:23 +08:00
wuzhenghui
e90d76e5b7
bugfix: fix uart fifo lost data issue
2022-11-24 16:07:23 +08:00
Kapil Gupta
ed2abeb07f
esp_wifi: Update wifi libs
...
Add changes to prevent security overwritten in full scan
Co-authored-by: Nachiket Kukade <nachiket.kukade@espressif.com>
2022-11-24 10:42:57 +05:30
Island
26e5d16c47
Merge branch 'bugfix/Fix_exceptional_list_params_check' into 'master'
...
ble_mesh: stack: Fix exceptional list parameters check issue
See merge request espressif/esp-idf!20851
2022-11-24 12:02:09 +08:00
Armando
9d9d1e4bf3
soc: remove unused macro in ext_mem_defs.h
...
ESP_CACHE_TEMP_ADDR is not used in IDF
2022-11-24 10:29:35 +08:00
Alexey Gerenkov
8c2ae2f9bd
Merge branch 'feature/universal_clang_toolchain_support' into 'master'
...
build: Adds support for universal Clang toolchain
Closes LLVM-79
See merge request espressif/esp-idf!20090
2022-11-24 03:09:46 +08:00
Ondrej Kosta
785f154f56
Merge branch 'feature/emac_buff' into 'master'
...
esp_eth: receive buffer allocation optimization
Closes IDFGH-7769
See merge request espressif/esp-idf!19977
2022-11-24 00:48:19 +08:00
Nachiket Kukade
986bd37528
esp_wifi: Update wifi libs
...
Fix unprotected SA Query issue and scan regression
2022-11-23 17:33:51 +05:30
wangjialiang
766d1d1b66
ble_mesh: stack: Fix exceptional list parameters check issue
2022-11-23 19:46:20 +08:00
Zim Kalinowski
40ffc48ff7
Merge branch 'feature/migrate-esp-common-tests-to-pytest' into 'master'
...
esp_common: migrate unit tests to pytest test app
Closes IDF-5572
See merge request espressif/esp-idf!20194
2022-11-23 19:39:50 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
Zim Kalinowski
17ba68d89a
cleaned up
2022-11-23 08:45:56 +01:00
morris
4019e307f1
doc: add api reference for etm driver
2022-11-23 15:32:34 +08:00
morris
4186bd041c
gptimer: added etm example
2022-11-23 15:32:34 +08:00
morris
356c6bb528
gdma: support etm extension
2022-11-23 15:32:34 +08:00
morris
560ea9b754
systimer: support etm event
2022-11-23 15:32:34 +08:00
morris
00b6ec28b2
gptimer: support etm event and task
2022-11-23 15:31:33 +08:00
morris
494516d5f3
gpio: support etm extension
2022-11-23 15:31:33 +08:00
morris
fb26d0e11f
etm: added etm channel allocator
2022-11-23 15:31:33 +08:00
Konstantin Kondrashov
b4580a1980
Merge branch 'feature/esp_timer_add_ll_for_rc_fast_clk' into 'master'
...
hal: Adds hal/ll func for SYSTIMER to select clock source: XTAL or RC_FAST_CLK
Closes IDF-5323
See merge request espressif/esp-idf!21136
2022-11-23 15:05:48 +08:00
Cao Sen Miao
86aa4df5b5
ESP32-H2: Introduce new target for ESP32H2
2022-11-23 14:38:05 +08:00
Omar Chebib
7baa63cbc2
Merge branch 'staging/asm_dedic_gpio_example' into 'master'
...
Dedicated/Fast GPIO: add examples implementing software I2C, UART and SPI on RISC-V targets
Closes IDF-5936
See merge request espressif/esp-idf!20921
2022-11-23 14:19:01 +08:00
C.S.M
cc9fd34a4f
Merge branch 'feature/bringup_tsens_esp32c6' into 'master'
...
temperature_sensor: Add support on ESP32-C6 (No calibration)
Closes IDF-5322
See merge request espressif/esp-idf!20698
2022-11-23 12:46:21 +08:00
Wang Meng Yang
11fde1a9a5
Merge branch 'bugfix/optimize_hidh_disconnection' into 'master'
...
Bugfix/Fix HID Host improper handle of freeing resource in esp_hid component
Closes BT-2909
See merge request espressif/esp-idf!20919
2022-11-23 11:56:55 +08:00
Zim Kalinowski
95cc3e5b6c
esp_common: migrate tests to pytest
2022-11-22 22:15:08 +01:00
Konstantin Kondrashov
618572c139
Merge branch 'feature/efuse_c6' into 'master'
...
efuse(esp32-c6): Update efuse_table and rs coding error func
Closes IDF-5919 and IDF-5341
See merge request espressif/esp-idf!21163
2022-11-22 21:50:42 +08:00
KonstantinKondrashov
63f852adc8
hal: Adds hal/ll func for SYSTIMER to select clock source: XTAL or RC_FAST_CLK
2022-11-22 20:29:19 +08:00
Armando
c3682bf0a4
soc: update iram/dram addr range in ext_mem_defs.h
...
IRAM0/DRAM0 addr range update, on s3, c3, c2, h4, c6:
IRAM0_ADDRESS_LOW ~ IRAM0_ADDRESS_HIGH
DRAM0_ADDRESS_LOW ~ DRAM0_ADDRESS_HIGH
now are for the real IRAM0 and DRAM0
2022-11-22 18:53:50 +08:00
Armando
ad52655558
bootloader: improve irom/drom mapping way
2022-11-22 18:53:50 +08:00
Omar Chebib
d965b7fdec
Merge branch 'staging/esp_static_assert' into 'master'
...
C/Cxx: Static assertions are now unified
Closes IDFGH-8479
See merge request espressif/esp-idf!20569
2022-11-22 17:04:02 +08:00
Cao Sen Miao
fb9d0d9f03
temperature_sensor: Add support on ESP32-C6 (No calibration)
2022-11-22 16:22:31 +08:00
Konstantin Kondrashov
167d5ae3b9
Merge branch 'bugfix/esp_timer_disable_alarms' into 'master'
...
esp_timer: Fix the stop alarm triggering when the timer list is empty
Closes IDF-5323
See merge request espressif/esp-idf!21114
2022-11-22 16:14:27 +08:00
KonstantinKondrashov
2e8c3c61b3
efuse: Adds an option to disable eFuse FPGA tests
2022-11-22 16:09:10 +08:00
KonstantinKondrashov
0eee228700
efuse(esp32-c6): Update efuse_table and rs coding error func
2022-11-22 16:09:10 +08:00
C.S.M
54d9da987a
Merge branch 'bugfix/flash_large_memory_size' into 'master'
...
spi_flash: Fix issue that cannot get accurate flash size when encounter large size memory
Closes IDFGH-8063
See merge request espressif/esp-idf!20738
2022-11-22 16:07:17 +08:00
Jiang Jiang Jian
d89a51299d
Merge branch 'bugfix/modify_wifi_max_conn_num' into 'master'
...
esp_wifi: modify wifi max conn num
Closes IDFGH-7960, WIFI-4176, IDFGH-8431, and WIFI-5004
See merge request espressif/esp-idf!19367
2022-11-22 15:51:08 +08:00
Kevin (Lao Kaiyao)
4867928160
Merge branch 'bugfix/i2s_tdm_doubled_mclk' into 'master'
...
i2s: fixed double mclk in tdm mode
Closes IDFGH-8764 and IDFGH-8763
See merge request espressif/esp-idf!21138
2022-11-22 15:41:16 +08:00
Jiang Jiang Jian
cea661419b
Merge branch 'bugfix/fix_c3_s3_ble_temperature_performance' into 'master'
...
Fixed bluetooth disconnection caused by HW temperature rise or fall on ESP32C3 and ESP32S3
See merge request espressif/esp-idf!20748
2022-11-22 14:37:36 +08:00
Omar Chebib
623bffaab8
Dedicated GPIO: add examples implementing software I2C, UART and SPI on RISC-V targets.
...
Use dedicated GPIOs in examples to show how to emulate a UART, I2C and SPI bus.
(Using assembly and C)
2022-11-22 14:17:40 +08:00
Wan Lei
65c0b2b81a
Merge branch 'feature/c6_spi_master_driver_support' into 'master'
...
esp32c6: support spi master & slave driver
Closes IDF-5335 and IDF-5336
See merge request espressif/esp-idf!20877
2022-11-22 12:29:25 +08:00
Michael (XIAO Xufeng)
439a709c42
Merge branch 'feat/esp32s3_essl_sdmmc_host' into 'master'
...
essl: add support for ESP32-S3 SDMMC host
See merge request espressif/esp-idf!19325
2022-11-22 11:18:32 +08:00
David Čermák
a61861f6b6
Merge branch 'bugfix/netif_init_semicolons' into 'master'
...
esp_netif: Remove trailing semicolons from netif IF's (GitHub PR)
Closes IDFGH-8631
See merge request espressif/esp-idf!20998
2022-11-21 23:56:33 +08:00
Kapil Gupta
e8e7e3f946
esp_wifi: Flush PMK caching if bss akm has changed
2022-11-21 18:34:13 +05:30
Darian
74ed2aa2ee
Merge branch 'feature/freertos_10.4.3_sync_critical_sections_vs_suspension' into 'master'
...
FreeRTOS(IDF): Resolve critical section (multi-core) vs scheduler suspension (single-core)
Closes IDF-3755
See merge request espressif/esp-idf!21002
2022-11-21 18:38:43 +08:00
Rahul Tank
858c5e296d
Merge branch 'bugfix/reattempt_crash' into 'master'
...
NimBLE: Updated check for reattempt connection code
See merge request espressif/esp-idf!21130
2022-11-21 18:37:15 +08:00
Roland Dobai
c51a14bec9
Merge branch 'fix/call_esptool' into 'master'
...
Tools: Fix esptool wrappers by avoiding importing the module
Closes IDFGH-8395
See merge request espressif/esp-idf!21053
2022-11-21 17:35:07 +08:00
Omar Chebib
cd21058097
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +08:00
laokaiyao
039af72058
i2s: fixed typo 'philip'
...
Closes: https://github.com/espressif/esp-idf/issues/10197
2022-11-21 15:58:06 +08:00
laokaiyao
22531d2a9f
i2s: fixed tdm mclk doubled issue
...
Closes: https://github.com/espressif/esp-idf/issues/10196
2022-11-21 15:53:54 +08:00
morris
71968a4856
Merge branch 'doc/pcnt_overflow_compensate' into 'master'
...
pcnt: support accumulate the count value in the high/low limit event
Closes IDFGH-8726 and IDF-5944
See merge request espressif/esp-idf!21076
2022-11-21 15:13:44 +08:00
nvmd
8906a68108
Remove trailing semicolons from netif IF's
2022-11-21 07:03:35 +00:00
Shu Chen
c9b77bc662
Merge branch 'support/libot_lib154_rename_h2_to_h4' into 'master'
...
openthread: rename h2 to h4
See merge request espressif/esp-idf!21041
2022-11-21 14:10:19 +08:00
Michael (XIAO Xufeng)
359207d8df
sdmmc: removed incorrect pin description file on S2
2022-11-21 14:03:41 +08:00
Michael (XIAO Xufeng)
720b86a886
example/sdio: add support for ESP32-S3 as host (via SD)
2022-11-21 14:03:41 +08:00
Omar Chebib
54954518b1
Merge branch 'staging/riscv_wrapper_freertos_tasks' into 'master'
...
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning
Closes IDF-4662
See merge request espressif/esp-idf!20845
2022-11-21 12:14:34 +08:00
Mahavir Jain
2c9eb26e6f
Merge branch 'bugfix/esp_http_server_config' into 'master'
...
esp_http_server: fix default control port for HTTPS configuration
Closes IDFGH-8719 and IDFGH-8663
See merge request espressif/esp-idf!21089
2022-11-21 11:37:01 +08:00
Mahavir Jain
1657db56c9
Merge branch 'feature/fix_warning_in_mac_addr' into 'master'
...
esp_hw_support: Fix coverity warnings in mac_addr API
See merge request espressif/esp-idf!21141
2022-11-21 11:26:56 +08:00
zhiweijian
73cd69d5ad
Fixed CI esp32s3.default_2_s3.Test failed
2022-11-21 10:20:34 +08:00
zhiweijian
ebd2825379
- update phy lib
...
- Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3
- call pll track in controller task
2022-11-21 10:19:54 +08:00
morris
5bd99deb48
pcnt: support accumulate count value
...
Closes https://github.com/espressif/esp-idf/issues/10167
2022-11-21 10:15:19 +08:00
morris
dcaa753f37
Merge branch 'bugfix/legacy_rmt_resource_leak' into 'master'
...
rmt: fix memory leak in the legacy driver
Closes IDFGH-8732 and IDF-5941
See merge request espressif/esp-idf!21084
2022-11-20 16:55:39 +08:00
zhangyanjiao
fbbb762a4e
update wifi lib:
...
1. Modify wifi max connection num
2. Fix the ESPNOW senf fail after changing opmode
Closes IDFGH-7960
Closes WIFI-4176
Closes WIFI-5004
2022-11-18 17:56:46 +08:00
Jiang Jiang Jian
96b0cb2828
Merge branch 'bugfix/override_esp32c6_rom_regi2c_apis' into 'master'
...
esp_rom: override esp32c6 rom regi2c api
See merge request espressif/esp-idf!21131
2022-11-18 16:36:42 +08:00
KonstantinKondrashov
ff62e33e2d
esp_hw_support: Fix coverity warnings in mac_addr API
2022-11-18 16:16:55 +08:00
wanlei
3aeedc2ad3
spi: bringup c6 spi master & slave driver support
2022-11-18 15:54:14 +08:00
Omar Chebib
6fe563163c
RISC-V: fix PC not saved when using backtrace
2022-11-18 15:07:38 +08:00
Omar Chebib
d580f6b076
RISC-V: Create a wrapper around FreeRTOS Tasks to detect the ones returning
2022-11-18 15:07:32 +08:00
Wang Meng Yang
6a8f528e08
Merge branch 'bugfix/fix_hfp_clcc_parser_bug' into 'master'
...
Bugfix/Fix HFP client parse CLCC command response bug
Closes BT-2907
See merge request espressif/esp-idf!20904
2022-11-18 12:16:42 +08:00
wuzhenghui
a7f952238e
bootloader: enable i2c clk at bootloader_hardware init
2022-11-18 11:17:08 +08:00
wuzhenghui
ffab6ce1bb
add modem reg headers
2022-11-18 11:17:04 +08:00
Marius Vikhammer
ffb878964a
Merge branch 'bugfix/c6_chip_info' into 'master'
...
esp-hw-support: update C6 chip info to include 802.15.4 support
See merge request espressif/esp-idf!21129
2022-11-18 09:18:04 +08:00
timoxd7
355abfdff6
Queue Send fix
...
Fixes rare deadlock on heavy loaded multicore-systems.
2022-11-17 20:20:29 +01:00
KonstantinKondrashov
54b06ecb62
esp_timer: Fix the stop alarm triggering when the timer list is empty
...
Related to ESP32-C6 chip only because this chip can power down the digital domain
during the light sleep. And after wakes up, systimer gets resumed,
and the alarm value < count value, so it leads the alarm fired immediately.
We get one unnecessary interrupt at light sleep exit time.
Other chips do not power down the digital domain related to systimer.
2022-11-17 14:32:16 +00:00
Armando (Dou Yiwen)
cee025c003
Merge branch 'bugfix/return_error_when_fail_detect_oct_psram' into 'master'
...
esp_psram: return error when fail to detect an octal psram
See merge request espressif/esp-idf!21033
2022-11-17 21:18:02 +08:00
morris
454fc4034c
Merge branch 'contrib/github_pr_10165' into 'master'
...
Clarify GPIO Mask Comment (GitHub PR)
Closes IDFGH-8724
See merge request espressif/esp-idf!21068
2022-11-17 20:03:49 +08:00
Aditya Patwardhan
96585abb17
Merge branch 'feature/esp_http_client_support_secure_element' into 'master'
...
esp_http_client: Add option to use secure_element
Closes IDFGH-8625
See merge request espressif/esp-idf!20972
2022-11-17 19:24:31 +08:00
wuzhenghui
0d5fe4d1c3
esp_rom: put regi2c override apis to IRAM
2022-11-17 19:12:02 +08:00
Zhi Wei Jian
4a3319d381
Merge branch 'bugfix/change_default_tx_power_on_c3_and_s3' into 'master'
...
Change BLE default TX power on ESP32C3 and ESP32S3
Closes BT-2867, IDFGH-8459, IDFGH-8318, and IDFGH-7439
See merge request espressif/esp-idf!20543
2022-11-17 17:56:54 +08:00
wuzhenghui
eb2444bb7f
esp_rom: override i2c_reg ops api in rom phy
2022-11-17 17:23:34 +08:00
Aditya Patwardhan
ba43063314
esp_http_client: Add option to use secure_element
...
Closes https://github.com/espressif/esp-idf/issues/10071
2022-11-17 14:43:35 +05:30
Mahavir Jain
3247cd05e4
Merge branch 'bugfix/coverity_scan_warnings' into 'master'
...
Fix multiple coverity scan warnings
See merge request espressif/esp-idf!21014
2022-11-17 16:46:20 +08:00
isha.pardikar@espressif.com
3a3e7b1401
NimBLE: Fixed going for reattempt connection code
2022-11-17 13:08:22 +05:30
Darian
eb837bbb6f
Merge branch 'bugfix/freertos_smp_riscv_statement_expr_macro' into 'master'
...
FreeRTOS(SMP): Fix SMP FreeRTOS RISC-V statement expression macro
See merge request espressif/esp-idf!21110
2022-11-17 15:35:26 +08:00
Konstantin Kondrashov
55578295db
Merge branch 'feature/api_to_define_user_mac_addres' into 'master'
...
esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address
Closes IDFGH-5534 and IDFGH-8022
See merge request espressif/esp-idf!21036
2022-11-17 15:26:35 +08:00
morris
31d9312442
Merge branch 'contrib/github_pr_10106' into 'master'
...
hal/uart_ll.h: Fix compile with C++ (GitHub PR)
Closes IDFGH-8661
See merge request espressif/esp-idf!20952
2022-11-17 15:07:16 +08:00
zhangyanjiao
d11ee31bf1
Modify maximum softap conn num and espnow encryption peer num
2022-11-17 15:02:34 +08:00
Marius Vikhammer
f7a0a3040c
esp-hw-support: update C6 chip info to include 802.15.4 support
2022-11-17 14:27:26 +08:00
David McCurley
0c89ab3b58
soc: update SOC_GPIO_VALID_GPIO_MASK doc
...
Merges https://github.com/espressif/esp-idf/pull/10165
2022-11-17 06:24:11 +00:00
Jiang Jiang Jian
7b35f8008f
Merge branch 'mesh/bugfix_fix_memory_leak_issue' into 'master'
...
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
Closes WIFI-5023, FCS-1081, and IDFGH-4525
See merge request espressif/esp-idf!21108
2022-11-17 13:56:23 +08:00
Armando
bf6ca71630
esp_psram: return error when fail to detect oct psram
2022-11-17 13:46:44 +08:00
laokaiyao
3b4ec64f26
i2s: support on esp32c6
2022-11-17 11:04:39 +08:00
morris
f080d647cc
Merge branch 'test/move_sdio_to_pytest_app' into 'master'
...
sdio: move sdio related test case to it's own pytest app
Closes IDF-5501 and IDFCI-1377
See merge request espressif/esp-idf!19314
2022-11-17 10:14:59 +08:00
Radek Tandler
aad600c9ca
Merge branch 'feature/storage_host_test_nvs' into 'master'
...
nvs_flash: Migrate host tests to CMake build system, use Linux partition API
Closes IDF-4697
See merge request espressif/esp-idf!20671
2022-11-17 02:05:35 +08:00
Jakob Hasse
c381fee319
Merge branch 'feature/esp_system_linux' into 'master'
...
esp_system partially buildable on Linux
Closes IDF-5983
See merge request espressif/esp-idf!21055
2022-11-16 22:38:48 +08:00
radek.tandler
ca7f073e7b
nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation
...
Host tests of nvs_flash eligible to run in Linux implementation of nvs flash were migrated. Remaining test cases
were left in original folder. Migrated test cases use CMake instead of make.
2022-11-16 14:15:23 +01:00
KonstantinKondrashov
244cf14ea8
esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address
...
Closes https://github.com/espressif/esp-idf/pull/7261
Closes https://github.com/espressif/esp-idf/issues/9531
2022-11-16 19:23:10 +08:00
Darian Leung
623f20d2b5
freertos(SMP): Fix SMP FreeRTOS RISC-V statement expression macro
...
Macros that need to reteurn a value should use GCC statement expression macro
syntax. This commit fixes the portTRY_ENTER_CRITICAL() in the RISC-V port of
SMP FreeRTOS to be a statement expression macro.
2022-11-16 17:51:10 +08:00
Jakob Hasse
cce1f9dee4
Merge branch 'feature/freertos_task_notification_configurable' into 'master'
...
freertos: make num of task notifications configurable
Closes IDFGH-7819
See merge request espressif/esp-idf!20880
2022-11-16 17:11:03 +08:00
Jakob Hasse
5b3a645813
feat(esp_system): Partially buildable on Linux now
2022-11-16 09:03:09 +01:00
zwj
b2a17e9d4c
Update bt lib for ESP32C3 and ESP32S3
...
- Added config to disable scan backoff
- Fixed llm_scan.c assert at line 1485 during controller deinit if duplicate scan is not stopped
- Call pll track in controller task
2022-11-16 15:58:32 +08:00
zwj
39c03e0ce0
Fixed errors reported by CI clang_tidy_check
2022-11-16 15:58:31 +08:00
Darian Leung
8b98e4e3b8
freertos(IDF): Restore vanilla call behavior on xTaskIncrementTick() and vTaskSwitchContext()
...
Due to SMP, critical sections have been added to xTaskIncrementTick() and
vTaskSwitchContext() (to take the xKernelLock). However, this is technically
not necessary when building for single-core as FreeRTOS expect these funcitons
to be called with interrupts already disabled.
This commit makes the critical secitons in those functions depend on
"configNUM_CORES > 1", and ensures that interrupts are disabled when calling
those functions. This effectively restores the vanilla behavior for these
functions when building for single-core.
2022-11-16 15:50:21 +08:00
Darian Leung
087e4318a6
freertos(IDF): Use common macros for SMP specific critical sections
...
In IDF FreeRTOS, when building for SMP, there are numerous functions
which require different critical sections when compared to single-core. This
commit encapsulates those difference into a common set of macros whose
behavior depends on "configNUM_CORES > 1". As such...
- Vanilla behavior has been restored for some functions when building for
single core (i.e., used to call taskENTER_CRITICAL, now disables interrupts
mactching vanilla behavior).
- Reduces number of "#ifdef (configNUM_CORES > 1)" in functions
- Any SMP only critical sections are now wrapped by
"#ifdef (configNUM_CORES > 1)" and properly documented via comments.
2022-11-16 15:50:21 +08:00
Darian
4c1ff6016a
Merge branch 'bugfix/freertos_smp_xtensa_port_disable_interrupt_macro' into 'master'
...
FreeRTOS(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port
See merge request espressif/esp-idf!21093
2022-11-16 15:47:11 +08:00
zwj
d074b74e1f
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-16 15:44:29 +08:00
zwj
8dc4207e69
change default tx power from 3dBm to 9dBm
2022-11-16 15:44:29 +08:00
zhangyanjiao
eab2ce1ca8
esp_mesh: fix the memeory leak issue when call esp_mesh_start/stop
...
Closes WIFI-5023
Closes FCS-1081
Closes IDFGH-4525
2022-11-16 14:14:07 +08:00
wanlei
ee4f4ac3e0
test: move sdio unit-test to test_apps
2022-11-16 11:22:31 +08:00
Sudeep Mohanty
ac99c0ad6b
Merge branch 'feature/freertos_remove_untested_fn_feature' into 'master'
...
freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option
Closes IDF-5298
See merge request espressif/esp-idf!21000
2022-11-16 10:28:42 +08:00
morris
f7f3c514df
Merge branch 'feature/esp_rom_alias_mz_crc32_to_crc32_le' into 'master'
...
move {target}/rom/miniz.h to common miniz.h
Closes IDFGH-8737
See merge request espressif/esp-idf!21083
2022-11-16 03:16:42 +08:00
Mahavir Jain
79216c657e
esp_http_server: modify error print for clarifying internal socket usage
...
Closes https://github.com/espressif/esp-idf/issues/10108
Closes IDFGH-8663
2022-11-15 20:46:35 +05:30
Mahavir Jain
34f3287323
esp_http_server: fix default control port for HTTPS configuration
...
For simultaneous HTTP and HTTPS server use-case, default configurations
set same control socket port and hence one of the server initialization
fails with an error "error in creating control socket".
This commit modifies default initializers to use different control
socket port in HTTP vs HTTPS server case.
Closes https://github.com/espressif/esp-idf/issues/10160
Closes IDFGH-8719
2022-11-15 20:46:35 +05:30
Marius Vikhammer
73724b0d41
Merge branch 'bugfix/c2_chip_info_gpio_range' into 'master'
...
hw-support: update C2 chip info to reflect that esp8684 has embedded flash
Closes IDFGH-8735 and IDFGH-8734
See merge request espressif/esp-idf!21064
2022-11-15 20:39:06 +08:00
morris
06b8d395fb
Merge branch 'feature/esp_lcd_spi_support_3wire_half-duplex' into 'master'
...
esp_lcd: support serial interface-I mode for spi LCD
See merge request espressif/esp-idf!21077
2022-11-15 19:54:56 +08:00
Ondrej
6fff81d970
esp_eth: receive buffer allocation optimization
...
Receive buffers are allocated with a size equal to actual received frame size
2022-11-15 10:44:12 +00:00
Jakob Hasse
73d9d83a2f
feat(freertos): make num of task notifications configurable
...
Closes https://github.com/espressif/esp-idf/issues/9349
2022-11-15 09:36:42 +01:00
jiangguangming
08fd77a09a
move {target}/rom/miniz.h to a common miniz.h
...
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H4
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32
Closes https://github.com/espressif/esp-idf/issues/10177
2022-11-15 15:39:39 +08:00
Jiang Jiang Jian
e4bb9cb2b1
Merge branch 'bugfix/ble_mesh_event_typo_fix' into 'master'
...
ble_mesh: stack: Fix typo in directly erase settings event
See merge request espressif/esp-idf!20908
2022-11-15 15:34:59 +08:00
liqigan
a025dfd965
optimize HID Host disconnection procedure
2022-11-15 15:15:50 +08:00
liqigan
df7449615b
fix HFP client parse CLCC command response bug
2022-11-15 15:14:42 +08:00
Darian Leung
816ddc8867
freertos(SMP): Fix SMP FreeRTOS portDISABLE_INTERRUPTS() macro on xtensa port
...
The portDISABLE_INTERRUPTS() macro on Xtensa should return only the interrupt
mask/level before the interrupts were disabled. Previously, the entire contents
of PS register were returned (i.e., direct return from RSIL instruction without
any bit masking or shifting).
This commit fixes the portDISABLE_INTERRUPTS() macro to return the INTLEVEL
bitfield of the PS register.
2022-11-15 14:57:24 +08:00
Darian
fd9c88ac85
Merge branch 'feature/freertos_smp_add_unit_tests_config' into 'master'
...
FreeRTOS(SMP): Add Amazon SMP FreeRTOS unit test configuration
See merge request espressif/esp-idf!21028
2022-11-15 14:54:23 +08:00
morris
6c8807e789
rmt: fix memory leak in the legacy driver
...
Closes https://github.com/espressif/esp-idf/issues/10173
2022-11-15 06:29:59 +00:00
Simon Arlott
d1993c01f2
hal/uart_ll.h: Fix compile with C++
...
I'm including <hal/uart_ll.h> in my C++ application because I need to
bypass the uart driver. The inline functions in the header file fail to
compile as C++.
All of the enums need explicit casts for conversion to/from integers.
Merges https://github.com/espressif/esp-idf/pull/10106
2022-11-15 06:29:05 +00:00
Jiang Jiang Jian
6cbedbfa57
Merge branch 'mesh/bugfix_fix_invalid_child_issue' into 'master'
...
esp_wifi_mesh: fix invalid child issue
Closes IDFGH-8290
See merge request espressif/esp-idf!20270
2022-11-15 11:28:28 +08:00
Wan Lei
602884e668
Merge branch 'feature/_spi_slave_reset_trans_queue_api' into 'master'
...
spi_slave: add a private API to reset transaction queue
Closes IDF-5033
See merge request espressif/esp-idf!20825
2022-11-15 10:45:53 +08:00
David Čermák
b5f69e5fb7
Merge branch 'bugfix/tcp_transport_err_propagate' into 'master'
...
tcp_transport: Fix error propagation on tcp_read()
Closes IDFGH-8549, IDF-6202, and ESPAT-1346
See merge request espressif/esp-idf!20913
2022-11-15 00:46:47 +08:00
Jakob Hasse
7fd27f338a
Merge branch 'bugfix/esp_ds_encrypt_param_doc' into 'master'
...
esp_ds: remove requirement of aligned and DMA capable buffer from docs
See merge request espressif/esp-idf!21012
2022-11-14 23:17:35 +08:00
Jiang Jiang Jian
8ea3865430
Merge branch 'feature/support_ble_memory_release_on_esp32c2' into 'master'
...
Support BLE memory release on ESP32C2
See merge request espressif/esp-idf!20838
2022-11-14 19:32:01 +08:00
Liu Zhongwei
1a7cdc095b
esp_lcd: add condition for spi to keep cs low
2022-11-14 17:55:27 +08:00
shenjun
8dc397d88a
esp_wifi_mesh: update wifi mesh libs
...
1. fix invalid child issue
2. fix WIFI_EVENT_AP_STADISCONNECTED event error
2022-11-14 17:48:17 +08:00
Armando (Dou Yiwen)
66b1c34095
Merge branch 'feature/remove_psram_cs_clk_pin_settings_config_s2_s3' into 'master'
...
PSRAM: remove CS/CLK pin settings in kconfig on ESP32S2/S3
Closes IDF-5966
See merge request espressif/esp-idf!20162
2022-11-14 17:36:44 +08:00