morris
57879e772d
feat(gdma): support channel allocator on esp32p4
...
There's two GDMA groups on ESP32P4, one is connected to AHB bus,
and another one is connected AXI bus.
We now have two seperate APIs for allocating DMA channels,
depends on the bus type.
2023-07-19 18:18:07 +08:00
Mahavir Jain
3466204d18
Merge branch 'fix/esp_ptr_check_sign_compare' into 'master'
...
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom`
Closes IDFGH-10398 and IDFGH-10632
See merge request espressif/esp-idf!24791
2023-07-17 12:33:56 +08:00
Jiang Jiang Jian
4b484574cd
Merge branch 'bugfix/esp32c6_eco1_ble_lpclk_main_xtal' into 'master'
...
support 40 MHz XTAL as BLE low power clock source of esp32c6 eco1
Closes WIFI-5909 and WIFI-6114
See merge request espressif/esp-idf!24235
2023-07-14 16:26:56 +08:00
cjin
9578fdc250
ble : remove extra retention cnt upon deinit temporarily
2023-07-14 10:49:17 +08:00
Laukik Hase
b61e3777b8
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
...
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-13 18:35:42 +05:30
Li Shuai
efa4eeafd0
light sleep: enable system clock in PMU HP sleep state when selecting a 40 MHz XTAL as low power clock source of ble
2023-07-13 20:44:56 +08:00
Li Shuai
9950b6a527
modem clock: gatable clock interface which can gate or ungate modem clock domain
2023-07-13 20:44:56 +08:00
Li Shuai
19809bdebf
power save: fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue
2023-07-13 16:59:31 +08:00
morris
56a376c696
feat(esp_gdma): add hal interface for common operations
...
GDMA driver will be adapted to more DMA peripherals in the future.
This commit is to extract a minimal interface in the hal layer
2023-07-10 13:45:57 +08:00
Jin Chen
d918b5226c
Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
...
ble: support esp32h2 modem clock selection
Closes EBLE50Y23-129
See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00
cjin
3d2342df6c
ble: support esp32h2 modem clock selection
2023-07-03 16:05:42 +08:00
xiaqilin
59ffcd07d6
ieee802154: change BLE_BB/ieee802154_BB
2023-07-03 02:21:58 +00:00
xiaqilin
95afd4b9af
openthread: add openthread autostart for sleep device
2023-07-03 02:21:58 +00:00
xiaqilin
485a9d44cf
ieee802154: add sleep state
2023-07-03 02:21:58 +00:00
xiaqilin
dc4b3f24bc
ieee802154: support light sleep
2023-07-03 02:21:58 +00:00
Lou Tianhao
8457998505
Power Management: fix REGDMA power issue when TOP domain powered down during light sleep for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
46cf3ecdc2
Power Management: support PAU REGDMA feature for esp32h2
2023-06-26 20:58:59 +08:00
Lou Tianhao
63d32ab620
Power Management: support DFS and PMU feature for esp32h2
2023-06-26 20:57:55 +08:00
wuzhenghui
679ae47271
sleep: enable sleep reject when entering deep sleep and return err if sleep request is rejected
2023-06-21 11:27:40 +08:00
wuzhenghui
4196eddff1
esp_hw_support: add modem module mac reset api
2023-06-19 12:53:09 +08:00
Island
81e418b1f2
Merge branch 'ble_dev/support_ble_light_sleep_using_extra_link' into 'master'
...
ESP32C6: Add BLE light sleep support using extra link
Closes IDF-6528
See merge request espressif/esp-idf!23720
2023-06-19 11:47:58 +08:00
cjin
d2d65a72a0
btbb: support register retention in esp32c6
2023-06-16 15:37:03 +08:00
cjin
f3457133f6
ble:added esp32c6 light sleep support
2023-06-16 15:37:03 +08:00
Song Ruo Jing
921713fff4
uart: Support LP_UART port with UART driver on esp32c6
2023-06-16 07:31:40 +00:00
Jakob Hasse
006e675656
Merge branch 'bugfix/extern_c_decl' into 'master'
...
esp_hw_support: Added extern "C" declaration
Closes IDF-2860
See merge request espressif/esp-idf!24217
2023-06-14 23:23:37 +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
Jakob Hasse
e87ac7255c
esp_hw_support: Added extern "C" declaration
2023-06-13 13:44:21 +02:00
Konstantin Kondrashov
ac188ad074
Merge branch 'bugfix/mac_ext_order_for_c6_h2' into 'master'
...
esp_hw_support: Change the byte order of MAC for IEEE802154 (C6 and H2 chips)
Closes IDF-6809
See merge request espressif/esp-idf!23988
2023-06-13 16:08:13 +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
KonstantinKondrashov
f7dfd1f48e
mac_addr(C6 and H2): Fix byte order of MAC_EXT and change format of IEEE802154 MAC
...
The changes only related to C6 and H2 chips where CONFIG_SOC_IEEE802154_SUPPORTED=y.
For this case these APIs return 8 bytes
esp_efuse_mac_get_default() -> 8 bytes
esp_efuse_mac_get_custom() -> 8 bytes
esp_read_mac(..., ESP_MAC_IEEE802154) -> 8 bytes
The rest cases len is 6 bytes
2023-06-08 23:11:32 +08:00
Mahavir Jain
c20f640d51
Merge branch 'feature/anti_dpa_configuration_c6_h2' into 'master'
...
esp32c6/esp32h2: crypto: add support for DPA protection configuration
Closes IDF-6973
See merge request espressif/esp-idf!23921
2023-06-08 22:49:21 +08:00
Mahavir Jain
1696be719c
crypto: add support for DPA protection configuration in C6/H2
...
- Technical details covered in section "15.3.2 Anti-DPA Attack Security
Control" chapter of the ESP32-C6 TRM
- Default configuration sets the security level low for the DPA
protection
- This change applies to all the crypto peripherals where the clock
frequency is dynamically adjusted to create randomness in the power
consumption trajectory
- This configuration helps to make the SCA attacks difficult on the
crypto peripherals
2023-06-08 11:09:23 +05:30
laokaiyao
71ef56f988
gdma: support on_recv_done callback
2023-06-07 11:38:32 +08:00
xuxiao
722c60c14b
esp_wifi: itwt add setup timeout timer to track response frame
2023-06-02 21:10:32 +08:00
wuzhenghui
5c74093300
bugfix: treat too short sleep duration as sleep reject by software
2023-05-29 16:35:03 +08:00
Niklas Gürtler
be8a0d08f2
gdma: implement descriptor error callback
...
Merges https://github.com/espressif/esp-idf/pull/11499
2023-05-26 13:24:34 +08:00
laokaiyao
ffb40a89d9
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-05-23 22:44:25 +08:00
Cao Sen Miao
e304db558b
temperature_sensor: Add new interface and reference counts so that phy and driver can use together
2023-05-17 17:40:59 +08:00
Marius Vikhammer
0036e555e9
Merge branch 'contrib/github_pr_11388' into 'master'
...
Update esp_cpu.h to include esp_attr.h (GitHub PR)
Closes IDFGH-10113
See merge request espressif/esp-idf!23711
2023-05-16 09:20:07 +08:00
Magnus Sörensen
004d55a5ed
Update esp_cpu.h
...
If esp_attr.h is not included then there are no definitions for the symbol 'FORCE_INLINE_ATTR'.
2023-05-11 21:23:57 +02: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
Li Shuai
87dd7bb51a
Merge branch 'bugfix/support_esp32c6_sleep_retention_extra_link' into 'master'
...
support extra linked list retention for BLE and 15.4
Closes IDF-6528
See merge request espressif/esp-idf!22985
2023-05-10 15:07:03 +08:00
Li Shuai
2e22491b02
sleep retention: implement the extra linked list retention for modules with retention clock bugs
2023-05-06 14:58:00 +08:00
Armando
8eec6558d1
mspi: refactor timing tuning driver to make it compatible with p4
2023-05-04 17:05:35 +08:00
Jakob Hasse
0a3cfce671
Merge branch 'contrib/github_pr_10895' into 'master'
...
Fix possible conversion errors by using __builtin_ffsll (GitHub PR)
Closes IDFGH-9541
See merge request espressif/esp-idf!23429
2023-05-04 10:41:46 +08:00
Jakob Hasse
ca44fc3847
cxx/esp_hw_support: added build test, changed parameter types
...
Changed rv_utils_intr_edge_ack and esp_cpu_intr_edge_ack to
take uint32_t instead of int to avoid build errors.
The test is to test in particular that __builtin_ffsll, used in
xt_utils.h, which is included via esp_cpu.h, compiles fine
in C++20 with -Wsign-conversion enabled.
Closes https://github.com/espressif/esp-idf/pull/10895
2023-04-26 19:06:39 +08:00
Zim Kalinowski
4a647d08de
Merge branch 'feature/c6_ulp_sleep' into 'master'
...
ulp: added sleep support for lp core
Closes IDF-7012
See merge request espressif/esp-idf!23103
2023-04-25 22:40:52 +08:00
Mahavir Jain
a8b6a70620
Merge branch 'feature/add_bignum_ll_layer' into 'master'
...
bignum: added bignum hal and ll layer
Closes IDF-7071
See merge request espressif/esp-idf!22823
2023-04-25 19:50:25 +08:00
Song Ruo Jing
a4e8960ab4
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-25 14:12:06 +08:00
Marius Vikhammer
359b237cc5
ulp: added sleep support for lp core
...
Added support for running LP core while hp core sleeps, as well
as waking up the hp core.
2023-04-25 11:51:35 +08:00