zwl
1732a6d044
Fixed memory leak when RAM free size is insufficient or setting ext scan parameters failed on ESP32-C2
2022-11-29 16:29:26 +08:00
zhangyanjiao
8226de767c
esp_wifi: fix esp32c3 connect fail
...
Closes IDFCI-1524
2022-11-28 16:09:24 +08:00
Song Ruo Jing
7466ddfa8c
ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py)
2022-11-28 11:58:30 +08:00
jiangguangming
86126b83fa
esp_rom: remove lldesc_xxx definitions since no actual function bodies
...
Closes https://github.com/espressif/esp-idf/issues/10204
2022-11-28 11:27:19 +08:00
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
morris
560ea9b754
systimer: support etm event
2022-11-23 15:32:34 +08:00
Cao Sen Miao
86aa4df5b5
ESP32-H2: Introduce new target for ESP32H2
2022-11-23 14:38:05 +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
wuzhenghui
0d5fe4d1c3
esp_rom: put regi2c override apis to IRAM
2022-11-17 19:12:02 +08:00
wuzhenghui
eb2444bb7f
esp_rom: override i2c_reg ops api in rom phy
2022-11-17 17:23:34 +08: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
jiangguangming
618dfaa67a
esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips
2022-11-10 16:57:28 +08:00
muhaidong
cc4be9946d
esp_wifi: fix some softap issues
...
1. add lldesc_config and clr PWR MGT flag
2. send null data instead of qos null data when receive ps-poll while power save queue is empty
3. update power save queue hw len
4. set more data bit
5. only send null data when psq hw len is 0 after recv ps-poll
2022-11-09 20:47:44 +08:00
Kevin (Lao Kaiyao)
5bed8fab49
Merge branch 'refactor/rename_h2_to_h4' into 'master'
...
esp32h2: renaming esp32h2 to esp32h4
Closes IDF-6098
See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
alex.li
67c557f9c4
esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently.
2022-11-08 17:31:44 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
Zim Kalinowski
8184f03115
Merge branch 'bugfix/esp_rom_const_correctness' into 'master'
...
esp_rom: Fixed writable string issue on Linux implementation
Closes IDF-6187
See merge request espressif/esp-idf!20925
2022-11-04 18:16:33 +08:00
Michael (XIAO Xufeng)
c546de8d82
Merge branch 'feature/apply_new_version_logic' into 'master'
...
all: Apply new version logic (major * 100 + minor)
Closes IDF-4932 and IDF-4939
See merge request espressif/esp-idf!18787
2022-11-04 16:01:32 +08:00
Jakob Hasse
44aa3c3a7f
bugfix(esp_rom): Fixed writable string issue on Linux implementation
2022-11-03 11:45:19 +01:00
KonstantinKondrashov
1f9260d790
all: Apply new version logic (major * 100 + minor)
2022-11-03 08:36:23 +00:00
jiangguangming
15c8f296f4
esp_rom: move esp_rom_spiflash_write_disable to esp32c6.rom.ld
2022-11-02 08:14:58 -07:00
jiangguangming
a8df72745b
esp_rom: esp32c6 rom newlib support normal-formatting version
2022-11-02 08:14:52 -07:00
jiangguangming
14e974fd44
esp_rom: esp32c6 support spiflash driver rom implementation
2022-11-02 08:11:49 -07:00
jiangguangming
fe70172a35
esp_rom: update esp32c6 rom caps
...
1. esp32c6 rom support ESP_ROM_HAS_HAL_WDT
2. esp32c6 rom support ESP_ROM_HAS_HAL_SYSTIMER
2022-11-02 15:04:21 +08:00
Jiang Jiang Jian
b313d7e2cd
Merge branch 'bugfix/esp32c2_create_sync_lost' into 'master'
...
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
See merge request espressif/esp-idf!20861
2022-11-01 21:00:47 +08:00
Song Ruo Jing
be0fdfa176
soc: Add a soc cap, SOC_CLK_RC_FAST_D256_SUPPORTED, for whether the target has the RC_FAST_D256 clock
2022-11-01 11:23:26 +08:00
zwl
de3f7888c6
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2
2022-10-31 11:44:50 +08:00
jiangguangming
e41f4055ae
esp_rom: put rom tlsf patch code in iram by default
2022-10-26 20:41:15 +08:00
xueyunfei
5cea828f4d
esp_wifi:bugfix sniffer mode can not capture control packet
2022-10-21 08:57:02 +08:00
Shyamal Khachane
bedad59e6a
esp_wifi: Fix deauth and disassoc issues for SoftAP PMF
2022-10-20 02:59:19 +00:00
morris
be2b57ff2f
Merge branch 'feature/add_rom_tlsf_function_prototype' into 'master'
...
esp_rom: add rom tlsf function prototype instead of void *
See merge request espressif/esp-idf!20670
2022-10-19 23:46:39 +08:00
jiangguangming
932045c980
esp_rom: add rom tlsf function prototype instead of void *
2022-10-19 17:54:50 +08:00
jiangguangming
7daadc5a92
esp_rom: fix 2nd bootloader custom uart1 baudrate issue
2022-10-18 11:04:01 +08:00
morris
3b0354acb8
Merge branch 'bugfix/esp32s3_rom_has_ets_printf_issue' into 'master'
...
esp_rom: fix esp32s3 rom ets_printf bug
See merge request espressif/esp-idf!20590
2022-10-17 17:54:02 +08:00
jiangguangming
8774db59f0
esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART
2022-10-14 14:06:40 +08:00
jiangguangming
4c3ce9f21d
esp_rom: fix esp32s3 rom ets_printf bug
2022-10-14 11:43:46 +08:00
Chen Jian Xing
b813476a51
Merge branch 'bugfix/fix_ignore_rx_sub_ampdu_int_issue' into 'master'
...
esp_wifi: fix ignore rx sub ampdu interrupt issue
Closes ESPCS-854
See merge request espressif/esp-idf!20564
2022-10-13 19:34:24 +08:00
muhaidong
c2fe257ad6
esp_wifi: fix ignore rx sub ampdu interrupt issue
2022-10-13 11:40:13 +08:00
Jiang Jiang Jian
55eaf66a94
Merge branch 'rebase/fix_ble_mem_leak_issue' into 'master'
...
fix ble mem leak when sleep is enabled
See merge request espressif/esp-idf!20527
2022-10-13 10:48:15 +08:00
jiangguangming
0ed7927520
esp_rom: update esp_rom_caps.h
2022-10-12 20:12:56 +08:00
cjin
071abb4866
fix ble mem leak when sleep is enabled
2022-10-12 11:23:28 +08:00
zhangyanjiao
a165d5b3ef
esp_wifi: fix connect fail when enable SPIRAM
...
Closes IDFGH-8189
2022-10-08 15:49:02 +08:00
Jiang Jiang Jian
f881197f15
Merge branch 'bugfix/master_send_data_err_when_retransmit' into 'master'
...
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
Closes BT-2620
See merge request espressif/esp-idf!20430
2022-09-30 18:21:22 +08:00
Wu Zheng Hui
511f1d7de4
Merge branch 'feature/update_esp32c6_rom_20220919' into 'master'
...
esp32c6: update freeze rom and memory related
Closes IDF-6022
See merge request espressif/esp-idf!20397
2022-09-29 19:17:57 +08:00
zwl
8a221f0073
Fixed the issue that master sends retransmitted data incorrectly on ESP32C2
2022-09-29 16:26:10 +08:00
Jiang Jiang Jian
c61910c267
Merge branch 'bugfix/ble_light_sleep_enter_issue_master' into 'master'
...
Bugfix/ble light sleep enter issue
See merge request espressif/esp-idf!20337
2022-09-29 13:57:39 +08:00
wuzhenghui
cf21dfa6a5
rom: update freeze rom and ld (20220919)
2022-09-29 11:13:06 +08:00
cjin
0d113fb609
update controller lib for bugfix on light-sleep
2022-09-26 21:25:48 +08:00
wuzhenghui
fca7d70e05
esp32c6: add minimal ci support
...
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
wuzhenghui
68159feb10
esp32c6: add esp_rom support (rom version: esp32c6-20220901)
2022-09-26 20:32:04 +08:00
morris
d609884407
Merge branch 'refactor/esp_rom_pytest' into 'master'
...
esp_rom: migrate ut to pytest
Closes IDF-5583
See merge request espressif/esp-idf!20258
2022-09-22 10:31:37 +08:00
cjin
8e348c3f63
update ble controller lib for bugfix on esp32c2
2022-09-21 12:34:41 +00:00
morris
65767769a9
esp_rom: migrate ut to pytest
2022-09-21 10:42:13 +08:00
jiangguangming
b2a1b13958
esp_rom: update esp32c6 rom caps
2022-09-14 10:38:54 +08:00
Zim Kalinowski
889b5fbea3
Merge branch 'bugfix/fix_tlsf_patch_esp32c2' into 'master'
...
TLSF: fix the patch for tlsf_check function in ROM
Closes IDFCI-1442 and IDFCI-1441
See merge request espressif/esp-idf!19839
2022-09-13 18:32:40 +08:00
Shreyas Sheth
4e830d843a
esp_wifi: Remove ieee80211_crypto_aes_128_cmac_decrypt from esp32c2 rom
2022-09-05 14:27:06 +05:30
Marius Vikhammer
0a3131998f
Merge branch 'bugfix/miniz_header_doc' into 'master'
...
esp-rom: fixed error in miniz header documention for tdefl_init
Closes IDFGH-6808
See merge request espressif/esp-idf!19871
2022-09-01 18:11:02 +08:00
songruojing
688fb18faa
esp32c6: add soc/ xxx_periph, xxx_channel, xxx_pins, etc. files
2022-09-01 12:28:06 +08:00
Omar Chebib
0b5ab940ae
TLSF: fix the patch for tlsf_check function in ROM
...
tlsf_check in the patch was not called because the the TLSF functions
table in ROM was still pointing to the ROM implementation.
2022-08-31 13:30:10 +08:00
Marius Vikhammer
acc8b8ee0a
esp-rom: fixed error in miniz header documention for tdefl_init
...
Closes https://github.com/espressif/esp-idf/issues/8435
2022-08-31 11:36:56 +08:00
wuzhenghui
88c123f805
esp_rom: add esp_rom_software_reset and esp_rom_software_reset_cpu interface
2022-08-31 01:59:36 +00:00
Jiang Jiang Jian
8d9c51f76d
Merge branch 'feature/add_txpwr_api_on_esp32c2' into 'master'
...
add set/get txpwr api for esp32c2
See merge request espressif/esp-idf!19520
2022-08-29 23:35:25 +08:00
morris
b82d6ce928
md5_hash: fix copyright checker
2022-08-29 15:40:37 +08:00
wuzhenghui
fbeb6195c2
esp_rom: add esp32c6 header files
2022-08-29 15:40:37 +08:00
Jiang Jiang Jian
33b51563dc
Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning' into 'master'
...
heap: provide the tlsf_check_hook() definition to implement a check of memory corruption
Closes IDFGH-5643
See merge request espressif/esp-idf!19485
2022-08-29 12:21:43 +08:00
zwl
30e47072f9
add set/get txpwr api and fix issues such as disconnect and abnormal tx behavior for esp32c2
2022-08-29 11:32:18 +08:00
Guillaume Souchere
b9abad7a89
esp-rom: create a patch of tlsf_check() for target(s) supporting ROM implementation of TLSF
...
The tlsf implementation in the ROM does not provide a mechanism
to register a callback to be called in by tlsf_check().
This commit is creating a patch of the tlsf implementation to provide
a definition of the function allowing to register the callback called
in tlsf_check() and add the call of this callback in tlsf_check().
This patch is only compiled for target(s) with ESP_ROM_HAS_HEAP_TLSF
set and ESP_ROM_TLSF_CHECK_PATCH set. For all the other configurations
the environment remains unchanged by those modifications.
2022-08-26 08:25:38 +02:00
morris
e06c230a1d
esp_rom: remove unavailable tjpgd library for esp32c2
2022-08-25 17:49:38 +08:00
Darian Leung
fbcde6777f
newlib: Add workaround for printf functions using 32-bit time_t on first call
...
sizeof(time_t) was previously switched from 4 to 8, ROM functions that use
time_t or dependent types (such as "struct stat") are no longer called due as
they still treat sizeof(time_t) as 4 (see commit
24c20d188e
).
However, there is a ROM callpath that was left out. If putchar is the first
stdio print related call, the call path will result in cantwrite() ->
__swsetup_r() -> __smakebuf_r() -> __swhatbuf_r() using the ROM "struct stat"
(where sizeof(time_t)==4).
Instead of removing all printf related ROM newlib functions (which will result
in increased binary size), this commit adds a workaround to setup the stdio
files before any print related calls occur.
This results in cantwrite() always returning false, thus the callpath described
above never being reached.
Closes https://github.com/espressif/esp-idf/issues/9269
2022-08-21 15:27:50 +08:00
songruojing
304a8f142d
esp32c6: introduce the target
...
Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
2022-08-19 11:13:02 +08:00
Vilem Zavodny
a00e8771a7
tjpgd: Remove ROM patches and tests.
2022-08-17 14:42:45 +02:00
morris
92a44afeba
Merge branch 'bugfix/cleanup_rom_spiflash' into 'master'
...
esp-rom: remove undefined spi_flash functions from header
Closes IDFGH-109
See merge request espressif/esp-idf!19333
2022-08-09 10:39:14 +08:00
Marius Vikhammer
cfbe0a035b
esp-rom: add missing spi-flash ROM API functions
...
Added symbols for the SPI flash API which we export from the ROM interface,
deleted functions which are not exported.
Closes https://github.com/espressif/esp-idf/issues/1212
2022-08-08 16:34:10 +08:00
Guillaume Souchere
16c2cb3f1b
Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master'
...
heap: Remove TLSF related files and replace them with the TLSF submodule
Closes IDF-4967
See merge request espressif/esp-idf!19220
2022-08-08 12:36:02 +08:00
Island
74abb42053
Merge branch 'feature/update_to_the_latest_controller_lib' into 'master'
...
Feature/update to the latest controller lib
See merge request espressif/esp-idf!19372
2022-08-05 17:51:16 +08:00
zwl
dd05a3754a
update ble controller lib for ble issues fixed on esp32c2(8dbbbf0269)
2022-08-04 15:19:51 +08:00
Island
6c8375e2d2
Merge branch 'feature/support_ble_on_esp32c2_26M' into 'master'
...
support BLE with 26M xtal for esp32c2
See merge request espressif/esp-idf!19300
2022-08-04 11:07:20 +08:00
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Guillaume Souchere
2a29cdcb71
heap: Move the declaration of tlsf_poison_fill_pfunc_set() in esp_rom component
...
- The declaration is moved to esp_rom/include/esp32c2/rom/tlsf.h.
- multi_heap_poisoning.h now includes rom/tlsf.h instead of declaring
tlsf_poison_fill_pfunc_set().
Note: If more targets will support an implementation of the TLSF in ROM,
esp_rom will be extended with new headers in the respective target directories
but multi_heap_poisoning.h will remain unchanged.
2022-08-03 08:28:10 +02:00
Shen Weilong
028d071e84
support BLE with 26M xtal for esp32c2
2022-07-29 21:36:33 +08:00
wanlei
bb5a95f1aa
soc: fix register header files not self-contain
2022-07-29 11:18:06 +08:00
morris
783e1781bd
esp_rom: patch systimer driver for esp32c2
2022-07-25 16:08:52 +08:00
liuning
bc2f2a3100
esp_wifi: select slowclk as coex hardware timer source on esp32c2
2022-07-22 21:44:11 +08:00
Jing Li
66395a5c00
system/sleep: further fix spi flash/ram current leakage
2022-07-21 19:14:26 +08:00
Fu Hanxi
05d2357062
feat: use standalone project idf-build-apps for find/build apps utils
2022-07-14 08:26:31 +08:00
muhaidong
52f378ac7b
esp_wifi: reset beacon timeout timer when keep alive null works or hw drop beacon
2022-07-11 20:54:25 +08:00
Jiang Jiang Jian
7e2ee82160
Merge branch 'bugfix/fix_qos_null_update_ba_ssn' into 'master'
...
wifi:bugfix fix qos null update ba ssn
Closes IDFGH-6811
See merge request espressif/esp-idf!18882
2022-07-08 14:00:11 +08:00
xueyunfei
95591fdf65
wifi:bugfix fix qos null update ba ssn
2022-07-07 15:23:29 +08:00
shenjun
988f9b3a59
esp_wifi: fix esp32c2 tx crash issue
2022-07-07 11:32:00 +08:00
Island
0d86ca59a6
Merge branch 'update/esp32h2_h2_beta2_controller_lib_to_cd9dd20' into 'master'
...
Update esp32h2 beta2 lib to controller master
See merge request espressif/esp-idf!18876
2022-07-06 22:13:05 +08:00
Jakob Hasse
5a3310ff3b
Merge branch 'refactor/remove_rom_deps_cache_lldesc' into 'master'
...
SOC: removed target-specific ROM dependencies
See merge request espressif/esp-idf!18705
2022-07-06 02:06:30 +08:00
GengYuchao
509ac4e748
Update esp32h2 beta2 lib to master
2022-07-05 15:15:41 +08:00
xueyunfei
a7ae72e1f5
wifi:bugfix for wrong configuration of static txbuf
2022-07-05 14:02:31 +08:00
Jakob Hasse
f8b5ed5d6c
refactor (soc, esp_rom)!: removed target-specific ROM dependencies
2022-07-05 13:57:58 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
zwj
ed593ba168
update ble lib (444e4a2b)
...
- fix rpa entry err if addr resol is disabled
- fix aux connect crash
2022-06-27 14:50:26 +08:00
chenjianxing
d4d3d65898
esp_wifi: fix esp32c2 owe support
2022-06-21 20:58:10 +08:00
Jiang Jiang Jian
3cc134672b
Merge branch 'feature/optimize_bluetooth_architecture_0616' into 'master'
...
Feature/optimize bluetooth architecture
See merge request espressif/esp-idf!18553
2022-06-21 01:35:12 +08:00
Shreyas Sheth
591c7a496c
esp_wifi: WPA3 SAE H2E support for station
2022-06-20 18:51:11 +05:30
GengYuchao
9782f86f82
update rom file for c2 controller lib
2022-06-20 17:00:12 +08:00