made it send again

This commit is contained in:
schneider 2011-06-12 04:33:50 +02:00
parent 58ff370dd6
commit c8e456f16e
4 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@
/***************************************************************
* bytes per sector
***************************************************************/
#define DISK_BLOCK_SIZE 512UL
#define DISK_BLOCK_SIZE 0UL
/***************************************************************
* disk geometry - make it small enough

View File

@ -13,7 +13,7 @@ APP_SRC= \
src/nRF_API.c \
src/pin.c \
src/pmu.c \
src/storage.c
# src/storage.c
APP_SRC+=$(IMAGES_C)

View File

@ -57,7 +57,7 @@
#define configCPU_CLOCK_HZ ( ( unsigned long ) SystemCoreClock )
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 128 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 128 ) )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 4096 ) )
#define configMAX_TASK_NAME_LEN ( 12 )
#define configUSE_TRACE_FACILITY 0
#define configUSE_16_BIT_TICKS 0

View File

@ -25,13 +25,13 @@
#define __CONFIG_H__
/* enable USB disk support */
#define USB_DISK_SUPPORT
//#define USB_DISK_SUPPORT
#define USB_VENDOR_ID 0x2366
#define USB_PROD_ID 0x0003
#define USB_DEVICE 1
/* SPI_CS(io_port, io_pin, CPSDVSR frequency, mode) */
#define SPI_CS_FLASH SPI_CS( 2, 0, 24, SPI_CS_MODE_SKIP_TX ) /* 24.0MHz */
//#define SPI_CS_FLASH SPI_CS( 2, 0, 24, SPI_CS_MODE_SKIP_TX ) /* 24.0MHz */
#define SPI_CS_NRF SPI_CS( 1,10, 24, SPI_CS_MODE_NORMAL ) /* 9.6MHz */
//#define SPI_CS_ACC3D SPI_CS( 0, 4, 6, SPI_CS_MODE_NORMAL ) /* 8.0MHz */