made it send again
This commit is contained in:
parent
58ff370dd6
commit
c8e456f16e
|
@ -26,7 +26,7 @@
|
|||
/***************************************************************
|
||||
* bytes per sector
|
||||
***************************************************************/
|
||||
#define DISK_BLOCK_SIZE 512UL
|
||||
#define DISK_BLOCK_SIZE 0UL
|
||||
|
||||
/***************************************************************
|
||||
* disk geometry - make it small enough
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue