Skip to content

Commit

Permalink
SDRAM video frame buffer addresses changed
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jul 13, 2019
1 parent 9ae68da commit a22d87a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/eez/platform/stm32/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@

#define DECOMPRESSED_ASSETS_START_ADDRESS SDRAM_START_ADDRESS

#define VRAM_BUFFER1_START_ADDRESS (SDRAM_START_ADDRESS + 1 * 1024 * 1024)
#define VRAM_BUFFER2_START_ADDRESS (VRAM_BUFFER1_START_ADDRESS + VRAM_BUFFER_SIZE)
#define VRAM_SCREENSHOOT_BUFFER_START_ADDRESS (VRAM_BUFFER2_START_ADDRESS + VRAM_BUFFER_SIZE)
#define VRAM_SCREENSHOOT_BUFFER_START_ADDRESS (SDRAM_START_ADDRESS + 1 * 512 * 1024)

#define VRAM_BUFFER3_START_ADDRESS (SDRAM_START_ADDRESS + 2 * 1024 * 1024)
#define VRAM_BUFFER4_START_ADDRESS (VRAM_BUFFER1_START_ADDRESS + VRAM_BUFFER_SIZE)
#define VRAM_BUFFER1_START_ADDRESS (SDRAM_START_ADDRESS + 2 * 512 * 1024)
#define VRAM_BUFFER2_START_ADDRESS (SDRAM_START_ADDRESS + 3 * 512 * 1024)
#define VRAM_BUFFER3_START_ADDRESS (SDRAM_START_ADDRESS + 4 * 512 * 1024)
#define VRAM_BUFFER4_START_ADDRESS (SDRAM_START_ADDRESS + 5 * 512 * 1024)


0 comments on commit a22d87a

Please sign in to comment.