Commit Graph

26700 Commits

Author SHA1 Message Date
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
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
Jiang Jiang Jian
2024e4414f Merge branch 'bugfix/fixed_HIDH_connection_failure' into 'master'
bugfix/fixed connection failure and build errors of HID host

Closes IDFGH-8555 and IDFGH-8622

See merge request espressif/esp-idf!20858
2022-11-24 11:04:40 +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
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
morris
2f29408f3f Merge branch 'docs/provide_translation_for_esp_eth' into 'master'
docs: Provide CN translation for esp_eth

Closes DOC-3901

See merge request espressif/esp-idf!21029
2022-11-23 19:05:39 +08:00
Alexey Gerenkov
47c2c13de5 build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
morris
fefe6f3d75 Merge branch 'feature/etm_driver' into 'master'
Event Task Matrix (ETM) driver

Closes IDF-5808, IDF-6032, and IDF-5922

See merge request espressif/esp-idf!19008
2022-11-23 17:26:59 +08: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
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
Shu Chen
b30e28e88d Merge branch 'feature/ot_ci_add_service_discovery' into 'master'
openthread: add service_discovery and NAT64 cases for ot ci

See merge request espressif/esp-idf!20329
2022-11-23 11:45:44 +08:00
Jin Cheng
c98f522837 1. changed pin_type of Legacy Paring from FIXED to VARIABLE to avoid authentication failure
2. provide compatibilities with devices that do not support Secure Simple Paring

Closes https://github.com/espressif/esp-idf/issues/10069
Closes https://github.com/espressif/esp-idf/issues/10005
2022-11-23 11:17:08 +08:00
Jin Cheng
6fed8fa4ee fixed build errors with Secure Simple Paring disabled 2022-11-23 11:16:59 +08:00
Wang Meng Yang
9124b71803 Merge branch 'bugfix/a2dp_source_memory_access_out_of_bounds' into 'master'
Fixed the issue memory access out of bounds in a2dp_source example

See merge request espressif/esp-idf!21140
2022-11-23 10:31:12 +08:00
Island
a5f72c3e34 Merge branch 'bugfix/change_log_print' into 'master'
ble_mesh:example:Add command to test the function of duplicate exceptional list

Closes BT-175

See merge request espressif/esp-idf!20035
2022-11-23 10:24:43 +08:00
Yuan Hong Hui
b278d8ca1b ble_mesh:example:Add command to test the function of duplicate exceptional list 2022-11-23 10:24:43 +08:00
Zim Kalinowski
95cc3e5b6c esp_common: migrate tests to pytest 2022-11-22 22:15:08 +01:00
Alexey Gerenkov
55bd4a74cd tools: Replace 'xtensa-clang' with 'esp-clang' 2022-11-22 17:30:14 +03: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
Fu Hanxi
4f37359267 Merge branch 'ci/add_temp_skip_ci_marker' into 'master'
ci: add `temp_skip_ci` marker to simplify markers

Closes RDT-251

See merge request espressif/esp-idf!21185
2022-11-22 20:57:27 +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
Fu Hanxi
056601127b ci: add temp_skip_ci marker to simplify markers
example: `@pytest.mark.temp_skip_ci(targets=['esp32'])`
2022-11-22 17:54:55 +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
Zhang Xiao Yan
ae2ad18cba Merge branch 'docs/update_32-bit_accessible_memory' into 'master'
docs: update the usage of MALLOC_CAP_32BIT on ESP32 chips

Closes DOC-4151

See merge request espressif/esp-idf!21139
2022-11-22 16:46:17 +08:00
Cao Sen Miao
fb9d0d9f03 temperature_sensor: Add support on ESP32-C6 (No calibration) 2022-11-22 16:22:31 +08:00
Shang Zhou
3efc3a0665 docs: Provide CN translation for esp-eth 2022-11-22 16:20:10 +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
f40aed1fe0 doc: Update efuse doc 2022-11-22 16:09:10 +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