We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29b84df + b0975f7 commit 68fbeceCopy full SHA for 68fbece
libraries/Portenta_SDRAM/src/SDRAM.h
@@ -1,3 +1,6 @@
1
+#ifndef __SDRAM_H
2
+#define __SDRAM_H
3
+
4
#include "ea_malloc.h"
5
6
#ifdef __cplusplus
@@ -35,4 +38,5 @@ class SDRAMClass {
35
38
36
39
extern SDRAMClass SDRAM;
37
40
-#endif
41
+#endif
42
+#endif // __SDRAM_H
libraries/Portenta_SDRAM/src/ram_internal.h
+#ifndef __RAM_INTERNAL_H
+#define __RAM_INTERNAL_H
bool sdram_init(void);
#define MPU_REGION_SDRAM1 (MPU_REGION_NUMBER4)
@@ -56,3 +59,5 @@ bool sdram_init(void);
56
59
| (size) << MPU_RASR_SIZE_Pos \
57
60
| MPU_REGION_ENABLE << MPU_RASR_ENABLE_Pos \
58
61
)
62
63
+#endif // __RAM_INTERNAL_H
0 commit comments