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
harshal.patil
56327452ce
esp_hw_support: add crypto lock layer for esp32
2023-04-24 16:15:11 +05:30
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
Laukik Hase
f6aadd1e39
esp_hw_support: Update memory ptr location/property checks
...
- to acknowledge the unused DCACHE added to DRAM for ESP32-S3
- For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is added to
the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB (from 0x3C000000).
- But, if we try allocating memory from the 16 kB block and run an `esp_ptr_internal`
check on that memory pointer, it fails as the address block from 0x3C000000
corresponds to the external memory symbols SOC_DROM_LOW and SOC_EXTRAM_DATA_LOW.
(E.g. freertos - If the IDLE task stack buffer gets allocated from this region,
the firmware will abort due to this failure).
- Thus, the checks `esp_ptr_internal`, `esp_ptr_in_drom` and `esp_ptr_byte_accessible`
have been updated to acknowledge this memory as a part of the DRAM.
Co-authored-by: Mahavir Jain <mahavir@espressif.com>
2023-04-17 10:42:04 +05:30
Li Shuai
94ebda298a
fix the issue of failure of receiving beacons in modem state caused by enabling light sleep in wifi min/max modem sleep mode
2023-04-07 05:57:15 +00:00
morris
6c19e7b8a7
gdma: avoid manually start/stop when channel is controled by ETM
2023-04-06 10:49:32 +08:00
morris
1429913042
gdma: support override default channel priority
2023-04-06 10:49:32 +08:00
Marius Vikhammer
a5c70c24e5
Merge branch 'bugfix/memprot_cleanup_iram_attr' into 'master'
...
memprot: move memprot functions out of IRAM
See merge request espressif/esp-idf!20697
2023-03-28 10:18:22 +08:00
Michael (XIAO Xufeng)
dbbc1ba5be
Merge branch 'feat/merge_nuttx_patch' into 'master'
...
G0, G1: fix issues that prevents using G0/G1 components on other platforms
See merge request espressif/esp-idf!22521
2023-03-21 20:48:21 +08:00