Skip to content

Commit 3490221

Browse files
committed
giga/portenta m4: don't remap SDRAM address space
1 parent a31a233 commit 3490221

File tree

1 file changed

+5
-0
lines changed
  • libraries/Portenta_SDRAM/src

1 file changed

+5
-0
lines changed

libraries/Portenta_SDRAM/src/SDRAM.h

+5
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44

55
#include "Arduino.h"
66

7+
#if !defined(CORE_CM4)
78
#define SDRAM_END_ADDRESS (0x60800000)
89
#define SDRAM_START_ADDRESS (0x60000000)
10+
#else
11+
#define SDRAM_END_ADDRESS (0xC0800000)
12+
#define SDRAM_START_ADDRESS (0xC0000000)
13+
#endif
914

1015
class SDRAMClass {
1116
public:

0 commit comments

Comments
 (0)