00001 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is confidential property of Nordic 00004 * Semiconductor ASA.Terms and conditions of usage are described in detail 00005 * in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRENTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 * $LastChangedRevision: 133 $ 00012 */ 00013 00018 #ifndef CONFIG_H__ 00019 #define CONFIG_H__ 00020 00021 #define FLASH_PAGE_SIZE 512U 00022 #define MAX_PACKET_SIZE_EP0 32 00023 #define USB_EP1_SIZE 64 00024 #define FLASH_SIZE (32U*1024U) 00025 #define NUM_FLASH_PAGES FLASH_SIZE/FLASH_PAGE_SIZE 00026 00027 #endif // CONFIG_H__