esp-idf/components/esp_hw_support/include
Laukik Hase 3118120659 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-26 04:01:38 +00:00
..
esp_private 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
hal esp_system: Remove deprecate section from esp_cpu.h 2022-07-22 00:06:06 +08:00
soc Merge branch 'bugfix/memprot_cleanup_iram_attr' into 'master' 2023-03-28 10:18:22 +08:00
clk_ctrl_os.h ledc: Add basic support for esp32c6 2022-12-07 18:40:50 +08:00
clk_tree.h clk_tree: Add a general API to get the frequency of different clocks 2023-01-17 11:30:24 +08:00
dport_access.h dport: Move DPORT workaround to G0 2022-05-31 13:44:18 +08:00
esp_async_memcpy.h gdma: support etm extension 2022-11-23 15:32:34 +08:00
esp_chip_info.h ESP32H2: Introduce new chip target esp32h2, hello_world example supported 2022-12-29 12:29:14 +08:00
esp_cpu.h esp_system: Remove deprecate section from esp_cpu.h 2022-07-22 00:06:06 +08:00
esp_crc.h esp_hw_support: update copyright notice 2021-08-05 16:30:10 +02:00
esp_ds_err.h soc/esp_ds.h: Unify esp_ds error codes for all targets 2022-10-27 11:09:25 +05:30
esp_ds.h [Docs] specify Digital Signature byte order, and esp_ds_sign() clarification 2022-12-19 21:30:03 -08:00
esp_etm.h etm: added etm channel allocator 2022-11-23 15:31:33 +08:00
esp_fault.h replacing reset by register operations with ROM interfaces to decouple the effects of register name changes 2022-08-31 01:59:36 +00:00
esp_hmac.h esp_hw_support: Merge esp_hmac.h file for different targets into one 2022-10-27 10:59:54 +05:30
esp_interface.h esp_wifi: Add support for NAN Discovery and Datapath 2023-03-10 11:18:23 +05:30
esp_intr_alloc.h intr_alloc: fixed freed interrupt sources not being able to be allocated again with different flags 2022-11-04 06:39:00 +00:00
esp_mac.h esp_hw_support: Adds APIs to define user own MAC addresses without generation from the base MAC address 2022-11-16 19:23:10 +08:00
esp_memory_utils.h esp_hw_support: Update memory ptr location/property checks 2023-04-26 04:01:38 +00:00
esp_memprot_err.h System/Security: Memprot API unified (ESP32S3) 2022-06-20 02:36:44 +00:00
esp_memprot_types.h System/Security: Memprot API unified (ESP32C3) 2021-12-21 01:50:36 +01:00
esp_memprot.h System/Security: Memprot API unified (ESP32S3) 2022-06-20 02:36:44 +00:00
esp_random.h esp_hw_support/esp_system: Re-evaluate header inclusions and include directories 2022-03-07 11:18:08 +05:30
esp_sleep.h feature: add deep sleep prepare callback hook 2023-03-17 19:45:56 +08:00
esp_wake_stub.h add example deep sleep wake stub 2023-01-10 17:03:50 +08:00
intr_types.h esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components 2023-02-15 19:52:06 +08:00
rtc_wdt.h esp_hw_support/esp_system: Re-evaluate header inclusions and include directories 2022-03-07 11:18:08 +05:30
spinlock.h esp_hw_support: Update spinlocks to use esp_cpu_compare_and_set() 2022-07-22 00:06:06 +08:00