mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-27 02:37:48 +00:00
Merge pull request #441 from hathach/add-same5x
added OPT_MCU_SAME5X option
This commit is contained in:
commit
d489581deb
@ -31,7 +31,7 @@ Special thanks to all the people who spent their precious time and effort to hel
|
|||||||
The stack supports the following MCUs:
|
The stack supports the following MCUs:
|
||||||
|
|
||||||
- **Espressif:** ESP32-S2
|
- **Espressif:** ESP32-S2
|
||||||
- **MicroChip:** SAMD21, SAMD51 (device only)
|
- **MicroChip:** SAMD21, SAMD51, SAME5x (device only)
|
||||||
- **NordicSemi:** nRF52833, nRF52840
|
- **NordicSemi:** nRF52833, nRF52840
|
||||||
- **Nuvoton:** NUC120, NUC121/NUC125, NUC126, NUC505
|
- **Nuvoton:** NUC120, NUC121/NUC125, NUC126, NUC505
|
||||||
- **NXP:**
|
- **NXP:**
|
||||||
|
@ -26,7 +26,8 @@
|
|||||||
|
|
||||||
#include "tusb_option.h"
|
#include "tusb_option.h"
|
||||||
|
|
||||||
#if TUSB_OPT_DEVICE_ENABLED && (CFG_TUSB_MCU == OPT_MCU_SAMD51 || CFG_TUSB_MCU == OPT_MCU_SAMD21)
|
#if TUSB_OPT_DEVICE_ENABLED && \
|
||||||
|
(CFG_TUSB_MCU == OPT_MCU_SAMD21 || CFG_TUSB_MCU == OPT_MCU_SAMD51 || CFG_TUSB_MCU == OPT_MCU_SAME5X)
|
||||||
|
|
||||||
#include "sam.h"
|
#include "sam.h"
|
||||||
#include "device/dcd.h"
|
#include "device/dcd.h"
|
||||||
|
@ -58,6 +58,7 @@
|
|||||||
#define OPT_MCU_SAMD21 200 ///< MicroChip SAMD21
|
#define OPT_MCU_SAMD21 200 ///< MicroChip SAMD21
|
||||||
#define OPT_MCU_SAMD51 201 ///< MicroChip SAMD51
|
#define OPT_MCU_SAMD51 201 ///< MicroChip SAMD51
|
||||||
#define OPT_MCU_SAMG 202 ///< MicroChip SAMDG series
|
#define OPT_MCU_SAMG 202 ///< MicroChip SAMDG series
|
||||||
|
#define OPT_MCU_SAME5X 203 ///< MicroChip SAM E5x
|
||||||
|
|
||||||
// STM32
|
// STM32
|
||||||
#define OPT_MCU_STM32F0 300 ///< ST STM32F0
|
#define OPT_MCU_STM32F0 300 ///< ST STM32F0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user