Prusa-Firmware/Firmware/xflash_layout.h
Yuri D'Elia 5ae8bad0ba Introduce "xflash_layout" to organize XFLASH's content
Update the language code to use the new LANG_OFFSET definition
and remove hard-coded flash sizes.
2021-06-08 15:22:37 +02:00

8 lines
216 B
C

// XFLASH memory layout
#pragma once
#include <stdint.h>
#include "config.h"
#define XFLASH_SIZE 0x40000ul // size of XFLASH
#define LANG_OFFSET 0x0 // offset for language data
#define LANG_SIZE XFLASH_SIZE