From: asterix Date: Wed, 3 Mar 2010 15:23:34 +0000 (+0000) Subject: Add configuration files for at91sam7 flash driver.cfg/cfg_boot.h X-Git-Tag: 2.4.0~53 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=034353d88b03ad8575c391e719d97654dea3a188;p=bertos.git 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 --- 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 */