Address various issues raised by TinyUSB maintainers

- remove OPT_MCU_SAME51 in favor of OPT_MCU_SAME5X and working around
  differences in the Atmel bsp locally in the D5035-01 bsp.

- rename board folder to d5035_01 for consistency with other boards
This commit is contained in:
Jean Gressmann
2020-10-07 19:12:34 +02:00
parent f92fe1e23e
commit f02b5bfdfa
6 changed files with 8 additions and 14 deletions

View File

@@ -53,14 +53,9 @@
#include "nrf.h"
#elif CFG_TUSB_MCU == OPT_MCU_SAMD11 || CFG_TUSB_MCU == OPT_MCU_SAMD21 || \
CFG_TUSB_MCU == OPT_MCU_SAMD51 || CFG_TUSB_MCU == OPT_MCU_SAME5X || \
CFG_TUSB_MCU == OPT_MCU_SAME51
CFG_TUSB_MCU == OPT_MCU_SAMD51 || CFG_TUSB_MCU == OPT_MCU_SAME5X
#include "sam.h"
#if CFG_TUSB_MCU == OPT_MCU_SAME51
#define SVC_Handler SVCall_Handler
#endif
#elif CFG_TUSB_MCU == OPT_MCU_SAMG
#undef LITTLE_ENDIAN // hack to suppress "LITTLE_ENDIAN" redefined
#include "sam.h"