From 034353d88b03ad8575c391e719d97654dea3a188 Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 3 Mar 2010 15:23:34 +0000 Subject: [PATCH] Add configuration files for at91sam7 flash driver.cfg/cfg_boot.h git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3181 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/hw/hw_boot.h | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 bertos/hw/hw_boot.h diff --git a/bertos/hw/hw_boot.h b/bertos/hw/hw_boot.h new file mode 100644 index 00000000..34238102 --- /dev/null +++ b/bertos/hw/hw_boot.h @@ -0,0 +1,50 @@ +/** + * \file + * + * + * \brief Bootloader hardware specific definition. + * + * \author Daniele Basile + */ + +#ifndef HW_BOOT_H +#define HW_BOOT_H + +/** + * Define bootloader flash size. + * + * Note: Remember that this size should be comply + * to size defined in linker script, otherwise you + * could not find the main program application. + */ +#define FLASH_BOOT_SIZE 0x8000 // 32kbyte + +#endif /* HW_BOOT_H */ -- 2.25.1