resolve #18, dfu serial able to run without SD

This commit is contained in:
hathach
2018-08-13 18:11:47 +07:00
parent 648d50b893
commit fe712fb588
8 changed files with 59 additions and 25 deletions

View File

@ -55,7 +55,7 @@
#define MSC_UF2_BLOCK_SIZE 512
#define MSC_UF2_BLOCK_NUM UF2_NUM_BLOCKS
VERIFY_STATIC( MSC_UF2_FLASH_ADDR_START+MSC_UF2_FLASH_SIZE == BOOTLOADER_REGION_START-DFU_APP_DATA_RESERVED, );
TU_VERIFY_STATIC( MSC_UF2_FLASH_ADDR_START+MSC_UF2_FLASH_SIZE == BOOTLOADER_REGION_START-DFU_APP_DATA_RESERVED, );
#ifdef __cplusplus

View File

@ -51,7 +51,9 @@
#define CFG_TUSB_MCU OPT_MCU_NRF5X
#define CFG_TUSB_RHPORT0_MODE OPT_MODE_DEVICE
#ifndef CFG_TUSB_DEBUG
#define CFG_TUSB_DEBUG 0
#endif
/*------------- RTOS -------------*/
#define CFG_TUSB_OS OPT_OS_NONE