Skip to content

Commit

Permalink
giga/portenta m4: don't remap SDRAM address space
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Oct 30, 2023
1 parent a31a233 commit 3490221
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/Portenta_SDRAM/src/SDRAM.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@

#include "Arduino.h"

#if !defined(CORE_CM4)
#define SDRAM_END_ADDRESS (0x60800000)
#define SDRAM_START_ADDRESS (0x60000000)
#else
#define SDRAM_END_ADDRESS (0xC0800000)
#define SDRAM_START_ADDRESS (0xC0000000)
#endif

class SDRAMClass {
public:
Expand Down

0 comments on commit 3490221

Please sign in to comment.