From 044ad7c3987460ede48ff27afd6bdb0ca05a0432 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 4 Jul 2011 20:52:54 +0200 Subject: import at91lib from at91lib_20100901_softpack_1_9_v_1_0_svn_v15011 it's sad to see that atmel doesn't publish their svn repo or has a centralized location or even puts proper version/release info into the library itself --- utility/demo-fw/include/dfm_config.h | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 utility/demo-fw/include/dfm_config.h (limited to 'utility/demo-fw/include/dfm_config.h') diff --git a/utility/demo-fw/include/dfm_config.h b/utility/demo-fw/include/dfm_config.h new file mode 100644 index 0000000..874d7c4 --- /dev/null +++ b/utility/demo-fw/include/dfm_config.h @@ -0,0 +1,38 @@ +#ifndef __DFM_CONFIG_H__ +#define __DFM_CONFIG_H__ + +//enable fatfs on SDCard +#define DFM_FATFS_SDCARD + +//enable fatfs on Nandflash +#define DFM_FATFS_NANDFLASH + +//enable fatfs on SDRAM +//#define DFM_FATFS_SDRAM + +//enable LCD and touchscreen +#define USE_LCD_TSD + +//define file buffer size, used to read bitmap data +//note: this config make var relocated to PSRAM,so size is ok. +#define FILE_BUF_SIZE 0x40000U + +//enable interrupt chain management +#define USE_IT_CHAIN_MGR + +//LCD controller +#define LCDC_HX8347 + +#ifndef LCDSLIDEIMAGEFILE +#define LCDSLIDEIMAGEFILE "sam3demo.bin" +#define LCDSLIDEVIMAGEFILE "SamDEMOV.bin" +#endif + +//enable variable relocation +#define VAR_RELOCATION + +//variable relocation memory base +#define RELOC_VAR_MEM_BASE BOARD_EBI_PSRAM + +#endif // end of __DFM_CONFIG_H__ + -- cgit v1.2.3