msp430f5529: Ensure cdc_msc demo compiles.

This commit is contained in:
William D. Jones 2019-09-23 17:48:18 -04:00
parent 49f2507b38
commit 907bc3df9b
3 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,7 @@
CFLAGS += \
-D__MSP430F5529__ \
-DCFG_TUSB_MCU=OPT_MCU_MSP430x5xx
-DCFG_TUSB_MCU=OPT_MCU_MSP430x5xx \
-DCFG_EXAMPLE_MSC_READONLY
# All source paths should be relative to the top level.
LD_FILE = hw/bsp/msp_exp430f5529lp/msp430f5529.ld

View File

@ -29,6 +29,7 @@
#if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_MSP430x5xx )
#include "msp430.h"
#include "device/dcd.h"
/*------------------------------------------------------------------*/

View File

@ -60,6 +60,8 @@
#define OPT_MCU_STM32F7 305 ///< ST STM32F7
#define OPT_MCU_STM32H7 306 ///< ST STM32H7
#define OPT_MCU_MSP430x5xx 400 ///< TI MSP430x5xx
/** @} */