feat(esp_hw_support): add esp32p4 pmu initial support

This commit is contained in:
wuzhenghui
2024-02-19 19:09:20 +08:00
committed by BOT
parent 60a2bf6a68
commit 856f043331
18 changed files with 671 additions and 421 deletions
+3
View File
@@ -28,6 +28,9 @@ extern "C" {
// Forces code into TCM instead of flash
#define TCM_IRAM_ATTR _SECTION_ATTR_IMPL(".tcm.text", __COUNTER__)
// Forces data into TCM instead of L2MEM
#define TCM_DRAM_ATTR _SECTION_ATTR_IMPL(".tcm.data", __COUNTER__)
// IRAM can only be accessed as an 8-bit memory on ESP32, when CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY is set
#define IRAM_8BIT_ACCESSIBLE (CONFIG_IDF_TARGET_ESP32 && CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY)