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
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
Jin Cheng
e38ee1d9bc
Increase BtI2STask stack depth to avoid stack overflow
2022-11-24 10:33:16 +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
nx518
6168622176
clear EIE INTIE instead of non-existent EIR INTIE
2022-11-23 19:29:44 +01: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
xueyunfei
7490a1553d
lwip:optimization dns ipv4 ipv6 timeir
...
* Update submodule: git log --oneline 33912690ea005e8ff05b2c579ebbf0a4189c3b00..705dd71d46779bf29653f1f1d7b1af5a09fb2aa7
Detailed description of the changes:
- dhcp: init fine timer when dhcp start(esp-lwip@705dd71d)
- ip6 timer: optimization lwip ip6 reassembly timer (esp-lwip@9813ea9a)
- ip4 timer: optimization lwip ip4 reassembly timer (esp-lwip@ce1a7099)
- dns timer: optimization lwip dns timer (esp-lwip@6b0bfc2e)
2022-11-23 11:57:47 +00: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
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
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
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