rename to simply OPT_MCU_MSP432E4, add msp432e to ci

This commit is contained in:
hathach 2021-11-08 17:24:58 +07:00
parent 6fea50f735
commit f65917f51a
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
7 changed files with 9 additions and 8 deletions

View File

@ -45,6 +45,7 @@ jobs:
- 'lpc54' - 'lpc54'
- 'lpc55' - 'lpc55'
- 'mm32' - 'mm32'
- 'msp430e4'
- 'nrf' - 'nrf'
- 'rp2040' - 'rp2040'
- 'samd11' - 'samd11'

View File

@ -98,7 +98,7 @@
#elif CFG_TUSB_MCU == OPT_MCU_MSP430x5xx #elif CFG_TUSB_MCU == OPT_MCU_MSP430x5xx
#include "msp430.h" #include "msp430.h"
#elif CFG_TUSB_MCU == OPT_MCU_MSP432E4xx #elif CFG_TUSB_MCU == OPT_MCU_MSP432E4
#include "msp.h" #include "msp.h"
#elif CFG_TUSB_MCU == OPT_MCU_VALENTYUSB_EPTRI #elif CFG_TUSB_MCU == OPT_MCU_VALENTYUSB_EPTRI

View File

@ -9,7 +9,7 @@ CFLAGS += \
-mfloat-abi=hard \ -mfloat-abi=hard \
-mfpu=fpv4-sp-d16 \ -mfpu=fpv4-sp-d16 \
-D__MSP432E401Y__ \ -D__MSP432E401Y__ \
-DCFG_TUSB_MCU=OPT_MCU_MSP432E4xx -DCFG_TUSB_MCU=OPT_MCU_MSP432E4
# mcu driver cause following warnings # mcu driver cause following warnings
CFLAGS += -Wno-error=cast-qual -Wno-error=format= CFLAGS += -Wno-error=cast-qual -Wno-error=format=

View File

@ -103,7 +103,7 @@
CFG_TUSB_MCU == OPT_MCU_LPC18XX || \ CFG_TUSB_MCU == OPT_MCU_LPC18XX || \
CFG_TUSB_MCU == OPT_MCU_LPC43XX || \ CFG_TUSB_MCU == OPT_MCU_LPC43XX || \
CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX || \ CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX || \
CFG_TUSB_MCU == OPT_MCU_MSP432E4xx CFG_TUSB_MCU == OPT_MCU_MSP432E4
#if TUD_AUDIO_PREFER_RING_BUFFER #if TUD_AUDIO_PREFER_RING_BUFFER
#define USE_LINEAR_BUFFER 0 #define USE_LINEAR_BUFFER 0
#else #else

View File

@ -146,7 +146,7 @@
#elif TU_CHECK_MCU(OPT_MCU_MSP430x5xx) #elif TU_CHECK_MCU(OPT_MCU_MSP430x5xx)
#define DCD_ATTR_ENDPOINT_MAX 8 #define DCD_ATTR_ENDPOINT_MAX 8
#elif TU_CHECK_MCU(OPT_MCU_MSP432E4xx, OPT_MCU_TM4C123, OPT_MCU_TM4C129) #elif TU_CHECK_MCU(OPT_MCU_MSP432E4, OPT_MCU_TM4C123, OPT_MCU_TM4C129)
#define DCD_ATTR_ENDPOINT_MAX 8 #define DCD_ATTR_ENDPOINT_MAX 8
//------------- ValentyUSB -------------// //------------- ValentyUSB -------------//

View File

@ -26,7 +26,7 @@
#include "tusb_option.h" #include "tusb_option.h"
#if TU_CHECK_MCU(OPT_MCU_MSP432E4xx, OPT_MCU_TM4C123, OPT_MCU_TM4C129) #if TU_CHECK_MCU(OPT_MCU_MSP432E4, OPT_MCU_TM4C123, OPT_MCU_TM4C129)
#if __GNUC__ > 8 && defined(__ARM_FEATURE_UNALIGNED) #if __GNUC__ > 8 && defined(__ARM_FEATURE_UNALIGNED)
/* GCC warns that an address may be unaligned, even though /* GCC warns that an address may be unaligned, even though
@ -36,7 +36,7 @@ _Pragma("GCC diagnostic ignored \"-Waddress-of-packed-member\"");
#include "device/dcd.h" #include "device/dcd.h"
#if TU_CHECK_MCU(OPT_MCU_MSP432E4xx) #if TU_CHECK_MCU(OPT_MCU_MSP432E4)
#include "musb_msp432e.h" #include "musb_msp432e.h"
#elif TU_CHECK_MCU(OPT_MCU_TM4C123, OPT_MCU_TM4C129) #elif TU_CHECK_MCU(OPT_MCU_TM4C123, OPT_MCU_TM4C129)

View File

@ -84,9 +84,9 @@
// Sony // Sony
#define OPT_MCU_CXD56 400 ///< SONY CXD56 #define OPT_MCU_CXD56 400 ///< SONY CXD56
// TI MSP430 // TI
#define OPT_MCU_MSP430x5xx 500 ///< TI MSP430x5xx #define OPT_MCU_MSP430x5xx 500 ///< TI MSP430x5xx
#define OPT_MCU_MSP432E4xx 510 ///< TI MSP432E4xx #define OPT_MCU_MSP432E4 510 ///< TI MSP432E4xx
#define OPT_MCU_TM4C123 511 ///< TI Tiva-C 123x #define OPT_MCU_TM4C123 511 ///< TI Tiva-C 123x
#define OPT_MCU_TM4C129 512 ///< TI Tiva-C 129x #define OPT_MCU_TM4C129 512 ///< TI Tiva-C 129x