mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-26 17:37:05 +00:00
msp430f5529: Ensure cdc_msc demo compiles.
This commit is contained in:
parent
49f2507b38
commit
907bc3df9b
@ -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
|
||||
|
@ -29,6 +29,7 @@
|
||||
|
||||
#if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_MSP430x5xx )
|
||||
|
||||
#include "msp430.h"
|
||||
#include "device/dcd.h"
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
@ -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
|
||||
|
||||
|
||||
/** @} */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user