Commit Graph

608 Commits

Author SHA1 Message Date
Jiang Guang Ming
d1fbec028c feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720 2023-10-20 11:01:07 +08:00
Lucas Saavedra Vaz
64f8222ec6 fix(driver/gpio): Fix SIG_GPIO_OUT_IDX comment for signal connect 2023-10-18 12:04:48 +02:00
cjin
c9cf190847 change(ble): update ble lib on c6 h2 and c2 chip 2023-10-18 17:08:51 +08:00
Aditya Patwardhan
58bf5ab6fb feat(esp_rom): Added ROM headers related to Key Manager 2023-10-16 09:26:45 +05:30
Island
f19f1dbd91 Merge branch 'bugfix/0925_update_libble_c6_h2_c2' into 'master'
update c6 h2 c2 libble to 7ec5b5c1

Closes BLERP-92, BLERP-122, BLERP-93, BLERP-94, BLERP-89, BLERP-90, BLERP-95, BLERP-97, BLERP-98, BLERP-99, BLERP-100, BLERP-101, BLERP-102, BLERP-120, and BLERP-123

See merge request espressif/esp-idf!26176
2023-10-16 10:47:08 +08:00
C.S.M
000b455e93 Merge branch 'bugfix/ota_fail_on_octal_flash' into 'master'
fix(ota): Fixed OTA fail on octal flash with 32MB memory

See merge request espressif/esp-idf!26436
2023-10-14 02:26:59 +08:00
Chen Jian Xing
f67aa66067 Merge branch 'bugfix/fix_some_wifi_issue' into 'master'
bugfix/fix some wifi issue

Closes WIFIBUG-164, WIFIBUG-183, IDFGH-11186, FCS-1292, IDFGH-8972, and WIFI6-336

See merge request espressif/esp-idf!26412
2023-10-13 17:31:44 +08:00
Cao Sen Miao
6cea72b76b fix(ota): Fixed OTA fail on octal flash with 32MB memory,
Closes https://github.com/espressif/esp-idf/issues/11903
2023-10-13 12:01:26 +08:00
alanmaxwell
16ec59907e fix(wifi): Fix some wifi issue
1.fix multi antenna issue
2.fix dirty eb when rx HE rate action for C6
3.fix h/w modem state consecutive times when the modem sleep type is modified in runtime
2023-10-13 10:45:31 +08:00
luomanruo
229685a4b5 ble: update tx power level index of ESP32-H2 and ESP32-C2 2023-10-12 15:56:56 +08:00
morris
66497af276 feat(hal): enable hal host test 2023-10-11 11:23:24 +08:00
Jiang Jiang Jian
98b84b389a Merge branch 'bugfix/fix_enable_psram_wapi_dhcp_fail_issue' into 'master'
fix(wifi): fix enable psram wapi dhcp fail issue

Closes WIFI-6257, WIFI-6273, WIFI-6182, WIFI-6006, WIFI-6007, and ESPAT-1780

See merge request espressif/esp-idf!26148
2023-10-10 12:13:56 +08:00
Alexey Lapshin
2585e53d54 Merge branch 'feature/update-toolchain-to-esp-13.1.0_new_newlib' into 'master'
Update toolchain to esp-13.2.0_20230919

Closes GCC-250, GCC-322, GCC-324, GCC-327, GCC-330, and IDF-8287

See merge request espressif/esp-idf!25073
2023-10-10 08:18:33 +08:00
muhaidong
d8b600e90b fix(wifi): fix some wifi issues
1. fix enable psram wapi dhcp fail issue
2. fix c6 esp_wifi_set_max_tx_power fail issue
3. fix wrong wifi mode connect crash issue
4. fix null data sequence number issue
2023-10-09 19:17:28 +08:00
Alexey Lapshin
9dcc9a73f6 fix(esp_rom): fix libc_stubs.h includes 2023-10-09 12:13:02 +04:00
gaoxu
bc2a6bd730 feat(uart): spilt LP and HP uart set_baudrate function 2023-10-08 10:10:02 +08:00
gaoxu
4f24f805cc feat(uart): add LP-UART GPIO support 2023-10-08 10:10:02 +08:00
gaoxu
4541ad134d feat(uart): add RCC atomic block to uart/lp-uart peripheral 2023-10-08 10:10:02 +08:00
Island
492c819357 Merge branch 'bugfix/fix_phy_63' into 'master'
Fixed extended adv address setting after adv restart on esp32c3

Closes BLERP-86 and BLERP-107

See merge request espressif/esp-idf!26157
2023-09-28 14:21:08 +08:00
alanmaxwell
9e07fa9312 fix(phy): move phy tx power track to IDF 2023-09-26 16:23:58 +08:00
chenjianhua
42b85dffb1 Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-09-26 16:10:21 +08:00
Chen Yudong
2e11919f70 fix(ci): change build-test-rules files folder 2023-09-20 19:17:06 +08:00
Jiang Jiang Jian
789569a982 Merge branch 'static_buf_for_management_and_null_data' into 'master'
feat(esp_wifi):static buf for management,control,qos null,null data rx packet

See merge request espressif/esp-idf!25085
2023-09-18 11:39:14 +08:00
Marius Vikhammer
addfc0d870 Merge branch 'feature/p4_reset_reason' into 'master'
system: support reset reason on esp32p4

Closes IDF-8072 and IDF-7791

See merge request espressif/esp-idf!25693
2023-09-15 15:25:03 +08:00
xueyunfei
f0e5434dc1 feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-09-15 14:55:57 +08:00
Marius Vikhammer
e58becec0a feat(esp-system): support reset reasons on P4 2023-09-15 08:11:34 +08:00
jgujarathi
906685898d fix(esp_wifi): Fix issues with extended caps IE, scan and HT40 mode
-Merges the addition of extended caps IE for assoc req, probe resp
 and beacons in a single place. This ensures that there are no
 duplicate Extended Caps IE in the frame. Moves the capability
 indication for BTM and HT20/40 from supplicant to wifi libs.

-Fix issue with frequent disconections when scanning for only a single
 channel.

-Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
 esp32c2 tries to set bandwidth to HT40.
2023-09-14 10:19:27 +05:30
Jiang Jiang Jian
52c10f21c1 Merge branch 'bugfix/fix_ccmp_pn_became_large_issue' into 'master'
fix(wifi): fix ccmp and gcmp PN bacame large issue

Closes WIFI-6155

See merge request espressif/esp-idf!25937
2023-09-14 11:10:17 +08:00
Wang Meng Yang
90ed5a7f4b Merge branch 'bugfix/fix_four_controller_bugs' into 'master'
Bluetooth/Controller: fixed some controller bugs

Closes IDFGH-5265, IDFGH-9447, FCS-1073, AUD-4546, AUD-4561, BRQABR2023-83, and BRQABR2023-84

See merge request espressif/esp-idf!23155
2023-09-14 09:19:22 +08:00
Konstantin Kondrashov
82cb4d5836 Merge branch 'feature/esp32p4_efuse' into 'master'
feat(efuse): Support eFuses for ESP32P4

Closes IDF-7512 and IDF-7759

See merge request espressif/esp-idf!25923
2023-09-13 19:43:49 +08:00
Konstantin Kondrashov
cbdb799b6f feat(esp_timer): Support systimer for ESP32P4 2023-09-13 19:13:38 +08:00
muhaidong
4b645ef85d fix(wifi): fix ccmp and gcmp PN became large issue 2023-09-13 16:23:10 +08:00
Jin Cheng
3fb242660d fix(bt/controller): Fixed error in sniff negotiation
fix(bt/controller): Avoided both local and peer unsniff being triggered
fix(bt/controller): Fixed the crash of mixing of master- and slave-initiated sniff requests
fix(bt/controller): Moved the TX of HW_ERR_EVT out of interrupt context to thread context
fix(bt/controller): Fixed the issue rx_irq is generated after error_irq for slave sniff mode frame
fix(bt/controller): Fixed asser error resulted from failure of role switch frame insert
fix(bt/controller): Ignored rx_irq in inquiry scan frame end
fix(bt/controller): Ignored rx_irq in page scan frame end
fix(bt/controller): Added status check before set/clear sniff coex status
fix(bt/controller): Fixed IntegerDevideByZero caused by interrupted r_ld_sco_start
2023-09-12 12:20:50 +00:00
KonstantinKondrashov
b29f6d5a40 feat(efuse): Support eFuses and doc for ESP32P4 2023-09-12 17:58:17 +08:00
Armando
7dace60861 feat(rom): updated to esp32p4 image 12.0.0 2023-09-07 07:01:00 +00:00
Armando
de77ab3061 change(soc): added SOC_ prefix to mmu defs 2023-09-05 15:47:26 +08:00
Mahavir Jain
d382eeed54 Merge branch 'esp32p4/add_hmac_ds_support' into 'master'
esp32p4/add hmac ds support

Closes IDF-7543 and IDF-6518

See merge request espressif/esp-idf!25148
2023-09-04 16:45:56 +08:00
Jiang Jiang Jian
104d50d442 Merge branch 'feature/improve_c6_iperf_performance' into 'master'
feat(wifi): optimize esp32c6 iperf performance

See merge request espressif/esp-idf!25020
2023-09-04 14:34:54 +08:00
Xu Xiao
8847eeec0c feat(wifi): optimize esp32c6 iperf performance 2023-09-04 14:34:54 +08:00
Island
8904d6bb37 Merge branch 'feature/esp32c2_add_trace_function' into 'master'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25639
2023-09-01 20:10:38 +08:00
harshal.patil
b8c208cdb3
feat(ds): add Digital Signature peripheral support for esp32p4 2023-09-01 15:44:21 +05:30
Omar Chebib
8ca191e4c1 fix(esp32p4): Fixed interrupt handling to use the CLIC controller 2023-08-31 12:16:08 +08:00
zwl
4abf0c46b5 ble: supported trace function and adv report flow control on esp32c2 2023-08-31 11:58:29 +08:00
Jiang Jiang Jian
948e3193d2 Merge branch 'bugfix/fix_esp32c6_hp_regi2c_api' into 'master'
fix(esp_rom): fix esp32c6 hp_regi2c ops api in rom patch

Closes BCI-339 and IDFCI-1786

See merge request espressif/esp-idf!25409
2023-08-28 10:48:28 +08:00
Armando (Dou Yiwen)
d4d6241db0 Merge branch 'feature/esp32p4_build_test' into 'master'
ci: enable ci build stage on esp32p4

Closes IDF-7524 and IDF-7525

See merge request espressif/esp-idf!25343
2023-08-25 13:35:20 +08:00
Armando
6f412393b6 change(ci): add todo to p4 build test enable 2023-08-24 12:51:19 +08:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
luomanruo
a2620e7588 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:20:01 +08:00
wuzhenghui
eeab989d09 fix(esp_rom): fix esp32c6, esp32h2 hp_regi2c ops data conflict with phy ops 2023-08-22 11:00:00 +08:00
Michael (XIAO Xufeng)
47c153b949 Merge branch 'ci/pre-commit-check-build-test-rule-exist' into 'master'
pre-commit: add check that build-test-rule paths must exist

See merge request espressif/esp-idf!25231
2023-08-17 02:25:45 +08:00
Nachiket Kukade
29e6603ba7 fix(wifi): Fix EAPOL Key TxDone callback implementation
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-14 16:50:42 +05:30
Xiao Xufeng
f51258ec18 ci(pre-commit): add check that build-test-rule paths must exist 2023-08-11 17:04:35 +08:00
morris
26f438cf89 Merge branch 'feature/esp32p4_gpio_support' into 'master'
feat(gpio): add support for ESP32P4

Closes IDF-6509

See merge request espressif/esp-idf!24868
2023-08-11 11:49:51 +08:00
Song Ruo Jing
be9afeac86 feat(gpio): add support for ESP32P4 2023-08-10 17:58:49 +08:00
morris
94a662995b Merge branch 'feature/support_hp_regi2c_for_esp32c6' into 'master'
feature: support_hp_regi2c_for_esp32c6

Closes IDF-7025

See merge request espressif/esp-idf!24303
2023-08-10 16:54:56 +08:00
Armando
706d684418 feat(esp32p4): introduced new target esp32p4, supported hello_world 2023-08-09 19:33:25 +08:00
Lou Tianhao
d59e91c030 feature: support_hp_regi2c_for_esp32c6 2023-08-09 14:24:31 +08:00
liuning
12b894fd5d fix(esp_wifi): fix no mac retention at wifi start 2023-08-02 21:33:41 +08:00
chenjianxing
0672067e6c fix(esp_phy): WIFI RX multipath optimization.
fix(esp_phy): BLE TX sideband optimization for C3/S3.
2023-07-27 20:55:37 +08:00
zhangyanjiao
a33a78f73f fix(wifi): fix the RX error when softAP and ESP-NOW both encrypted 2023-07-26 10:32:01 +08:00
Lou Tian Hao
57c6c0a1a3 Merge branch 'bringup/esp32h2_deep_sleep_for_rebase' into 'master'
esp32h2: support deep_sleep

Closes IDF-6268, IDF-6572, and IDF-7406

See merge request espressif/esp-idf!24438
2023-07-24 10:47:51 +08:00
Lou Tianhao
dcacd8cdf8 feat(pm/deepsleep): Support deep_sleep example and deep_sleep_wake_stub example for esp32h2 2023-07-20 11:43:57 +08:00
gaoxiaojie
640d391783 fix(rom_cache): use assembly to implement api cache_writeback_items_freeze
ensure cache freeze -> Writeback enable -> wait done -> cache unfreeze routine
never trigger a window overflow
2023-07-20 10:47:17 +08:00
Armando
83683d8b12 fix(rom_cache): use esp_rom_caps.h itself 2023-07-19 15:10:35 +08:00
gaoxiaojie
b1436633c5 fix(esp32s3): patch Cache_WriteBack_Addr api
avoid accessing cachelines that are being writebacked
2023-07-19 15:10:35 +08:00
Chen Jian Xing
e82348ace4 Merge branch 'bugfix/fix_miss_annotate_ld_function_issue' into 'master'
fix(wifi): missed annotate ld function from txop fix

See merge request espressif/esp-idf!24796
2023-07-14 16:40:03 +08:00
muhaidong
41c4240996 fix(wifi): missed annotate ld function from txop fix 2023-07-14 11:41:41 +08:00
Li Shuai
b84d811684 Wi-Fi/power save: fix the some mac issues of wifi power save
Some APs are configured to hide the SSID, the length field of the SSID element
in the Beacon frame is set to 0. This can cause incorrect parsing of the Beacon
by the Wi-Fi MAC hardware.

Some APs send two beacon frames with different BSSID in a TBTT cycle. After
correctly parsing the beacon of the associated AP, it continue to receive the
other beacon frame, which will cause the MAC to remain in a wait RX/TXING
state, blocking the Wi-Fi go to sleep.
2023-07-13 21:25:07 +08:00
Chen Ji Chang
7ec38eb309 Merge branch 'bugfix/update_all_esp32xxx/rom/gpio.h_comments' into 'master'
gpio: Update the incorrect comments in rom/gpio.h

Closes IDFGH-10490

See merge request espressif/esp-idf!24487
2023-07-13 19:44:31 +08:00
Armando (Dou Yiwen)
c7d8b06fd2 Merge branch 'feature/add_esp32p4_esp_rom_support' into 'master'
esp_rom: add esp32p4 esp_rom support

See merge request espressif/esp-idf!24703
2023-07-13 19:08:42 +08:00
Jiang Jiang Jian
1eba917545 Merge branch 'feature/itwt_support_wake_dura_unit' into 'master'
feat(wifi): itwt support itwt wake duration unit

See merge request espressif/esp-idf!24063
2023-07-13 19:07:21 +08:00
Armando
3461449494 feat(esp32p4): added esp_rom support 2023-07-13 12:38:54 +08:00
Marius Vikhammer
91aaf8b1a0 ci(qemu): temporarily allow qemu tests to fail 2023-07-13 11:16:38 +08:00
xuxiao
4960c10664 feat(wifi): itwt support itwt wake duration unit 2023-07-13 11:15:17 +08:00
Chen Jichang
b9c22b126a bugfix(driver/gpio):update the incorrect comment
There are some register description errors in parts of rom/gpio.h
This commit update the incorrect comments in rom/gpio.h And now
esp_rom_gpio.h is recommend instead of rom/gpio.h. So this commit adds
macro SIG_GPIO_OUT_IDX in esp_rom_gpio_connect_out_signal
function and removes the reference to gpio.h in some source files.

Closes https://github.com/espressif/esp-idf/issues/11737
2023-07-13 10:52:50 +08:00
Jiang Guang Ming
67c3334b4a fix(esp_rom): remove unsupported rom headers 2023-07-11 05:09:34 -07:00
Shen Weilong
303b330bca ble: Added APIs for QA test 2023-07-05 20:18:09 +08:00
cjin
b37f172cc6 ble: fix cca for esp32c2 2023-06-29 19:59:16 +08:00
Lou Tian Hao
7c2ac1feb6 Merge branch 'bringup/esp32h2_light_sleep_for_rebase' into 'master'
esp32h2: support light_sleep

Closes IDF-6266 and IDF-7359

See merge request espressif/esp-idf!23567
2023-06-28 10:37:18 +08:00
Liu Ning
8514469092 esp_wifi: fix ret when setting channel at wifi not started, fix timer callback 2023-06-27 21:34:53 +08:00
Lou Tianhao
9613692350 codeclean: fix prefix to LP_AON and add LP_AON_STORE8_REG 2023-06-26 21:05:16 +08:00
Lou Tianhao
6ea441c815 Power Management: support CPU powered down in light sleep for esp32h2 2023-06-26 20:57:55 +08:00
C.S.M
ce0d111b5e Merge branch 'bugfix/temperature_weak_link_phy_xpd' into 'master'
temperature_sensor: make  `phy_xpd_tsens` link to phy_lib on esp32c2

See merge request espressif/esp-idf!24320
2023-06-21 19:23:41 +08:00
Cao Sen Miao
47ec252dde temperature_sensor: make as a weak link 2023-06-21 10:50:57 +08:00
Zim Kalinowski
f3fa1fd891 esp_rom: enable qemu tests 2023-06-20 16:57:53 +02:00
Jiang Jiang Jian
6fa901f377 Merge branch 'bugfix/fix_Cache_Count_Flash_bug' into 'master'
esp_rom: Patch some cache apis

Closes IDF-4387

See merge request espressif/esp-idf!24237
2023-06-16 14:04:00 +08:00
Wang Lei
dec402ac84 esp_rom: Patch some cache apis 2023-06-16 14:04:00 +08:00
Jiang Jiang Jian
3a45d4e949 Merge branch 'bugfix/update_esp_rom_layout' into 'master'
esp_rom: fix rom layout issues

See merge request espressif/esp-idf!23888
2023-06-16 13:55:08 +08:00
Armando (Dou Yiwen)
17d6768e65 Merge branch 'feature/add_target_esp32p4' into 'master'
esp32p4: introduce the target

See merge request espressif/esp-idf!24155
2023-06-14 10:16:44 +08:00
Marius Vikhammer
86c5b437b5 Merge branch 'ci/trim_test_apps' into 'master'
core-system: limit build components for core-system test apps

Closes IDF-7092

See merge request espressif/esp-idf!24167
2023-06-13 15:31:00 +08:00
Armando
101e6a18eb esp32p4: introduce the target
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
Marius Vikhammer
6d11c37ff1 core-system: trim build components for core-system test apps 2023-06-13 09:14:42 +08:00
muhaidong
a1a69b044e esp_wifi: fix some txop issues 2023-06-09 22:37:15 +08:00
zwl
a9d25460a7 ble:fixed the issue that slave reports the wrong address for master when address resolution disable 2023-05-29 20:59:13 +08:00
jiangguangming
0d0fa7bda2 esp_rom: fix rom layout issues 2023-05-23 17:04:10 +08:00
Jakob Hasse
c8791f30c0 compiler: replaced noreturn by __noreturn__ in header files
* noreturn may be replaced by third-party macros,
  rendering it ineffective

* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-11 16:07:45 +08:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e esp32h4: removed esp32h4 related files 2023-04-23 12:03:07 +00:00
morris
4123e611dc esp_rom: add common ROM API to update CPU tick rate 2023-04-19 13:21:26 +08:00
xuxiao
0848938868 esp_wifi: espnow support using 11ax rate to send frame 2023-04-18 18:06:52 +08:00