merge kinetis into its own family in bsp

This commit is contained in:
hathach
2023-03-18 18:30:51 +07:00
parent b13b95a670
commit 2d187777c0
15 changed files with 114 additions and 218 deletions

View File

@@ -86,6 +86,8 @@
#define TUP_RHPORT_HIGHSPEED 1 // Port0 HS, Port1 HS
#elif TU_CHECK_MCU(OPT_MCU_MKL25ZXX, OPT_MCU_K32L2AXX, OPT_MCU_K32L2BXX)
#define TUP_USBIP_CHIPIDEA_FS
#define TUP_USBIP_CHIPIDEA_FS_KINETIS
#define TUP_DCD_ENDPOINT_MAX 16
#elif TU_CHECK_MCU(OPT_MCU_MM32F327X)

View File

@@ -26,15 +26,14 @@
#include "tusb_option.h"
#if CFG_TUD_ENABLED && \
( \
( CFG_TUSB_MCU == OPT_MCU_MKL25ZXX ) || \
( CFG_TUSB_MCU == OPT_MCU_K32L2AXX ) || \
( CFG_TUSB_MCU == OPT_MCU_K32L2BXX ) \
)
#if CFG_TUD_ENABLED && defined(TUP_USBIP_CHIPIDEA_FS)
#include "fsl_device_registers.h"
#define KHCI USB0
#ifdef TUP_USBIP_CHIPIDEA_FS_KINETIS
#include "fsl_device_registers.h"
#define KHCI USB0
#else
#error "MCU is not supported"
#endif
#include "device/dcd.h"

View File

@@ -26,7 +26,7 @@
#include "tusb_option.h"
#if CFG_TUD_ENABLED && \
#if CFG_TUH_ENABLED && \
( \
( CFG_TUSB_MCU == OPT_MCU_MKL25ZXX ) || \
( CFG_TUSB_MCU == OPT_MCU_K32L2AXX ) || \