mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
skip freertos example for gd32vf103
This commit is contained in:
parent
73f8fae036
commit
c4a6a5ccb7
@ -150,11 +150,14 @@ extern uint32_t SystemCoreClock;
|
|||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// Interrupt nesting behavior configuration.
|
// Interrupt nesting behavior configuration.
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
/* Cortex-M specific definitions. __NVIC_PRIO_BITS is defined in core_cmx.h */
|
#if defined(__NVIC_PRIO_BITS)
|
||||||
#ifdef __NVIC_PRIO_BITS
|
// For Cortex-M specific: __NVIC_PRIO_BITS is defined in core_cmx.h
|
||||||
#define configPRIO_BITS __NVIC_PRIO_BITS
|
#define configPRIO_BITS __NVIC_PRIO_BITS
|
||||||
|
#elif defined(__ECLIC_INTCTLBITS)
|
||||||
|
// RISC-V Bumblebee core from nuclei
|
||||||
|
#define configPRIO_BITS __ECLIC_INTCTLBITS
|
||||||
#else
|
#else
|
||||||
#error "This port requires __NVIC_PRIO_BITS to be defined"
|
#error "FreeRTOS configPRIO_BITS to be defined"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The lowest interrupt priority that can be used in a call to a "set priority" function. */
|
/* The lowest interrupt priority that can be used in a call to a "set priority" function. */
|
||||||
|
@ -150,11 +150,14 @@ extern uint32_t SystemCoreClock;
|
|||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// Interrupt nesting behavior configuration.
|
// Interrupt nesting behavior configuration.
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
/* Cortex-M specific definitions. __NVIC_PRIO_BITS is defined in core_cmx.h */
|
#if defined(__NVIC_PRIO_BITS)
|
||||||
#ifdef __NVIC_PRIO_BITS
|
// For Cortex-M specific: __NVIC_PRIO_BITS is defined in core_cmx.h
|
||||||
#define configPRIO_BITS __NVIC_PRIO_BITS
|
#define configPRIO_BITS __NVIC_PRIO_BITS
|
||||||
|
#elif defined(__ECLIC_INTCTLBITS)
|
||||||
|
// RISC-V Bumblebee core from nuclei
|
||||||
|
#define configPRIO_BITS __ECLIC_INTCTLBITS
|
||||||
#else
|
#else
|
||||||
#error "This port requires __NVIC_PRIO_BITS to be defined"
|
#error "FreeRTOS configPRIO_BITS to be defined"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The lowest interrupt priority that can be used in a call to a "set priority" function. */
|
/* The lowest interrupt priority that can be used in a call to a "set priority" function. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user