We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca58556 + 33633a5 commit 53e84d9Copy full SHA for 53e84d9
components/esp_common/include/esp_attr.h
@@ -1,6 +1,6 @@
1
2
/*
3
- * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
+ * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
@@ -61,7 +61,7 @@ extern "C" {
61
#define DMA_ATTR WORD_ALIGNED_ATTR DRAM_ATTR
62
63
//Force data to be placed in DRAM and aligned according to DMA and cache's requirement
64
-#if SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE
+#if CONFIG_SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE
65
#define DRAM_DMA_ALIGNED_ATTR __attribute__((aligned(CONFIG_CACHE_L1_CACHE_LINE_SIZE))) DRAM_ATTR
66
#else
67
#define DRAM_DMA_ALIGNED_ATTR WORD_ALIGNED_ATTR DRAM_ATTR
0 commit comments