hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement hcd_edpt_close()
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
- Define CFG_TUSB_MEM_SECTION=__attribute__((section("NonCacheable")))
|
||||
*/
|
||||
|
||||
static void BOARD_ConfigMPU(void);
|
||||
// static void BOARD_ConfigMPU(void);
|
||||
|
||||
// needed by fsl_flexspi_nor_boot
|
||||
TU_ATTR_USED const uint8_t dcd_data[] = {0x00};
|
||||
@@ -456,7 +456,7 @@ static void BOARD_ConfigMPU(void) {
|
||||
|
||||
#elif __CORTEX_M == 4
|
||||
|
||||
void BOARD_ConfigMPU(void) {
|
||||
static void BOARD_ConfigMPU(void) {
|
||||
#if defined(__CC_ARM) || defined(__ARMCC_VERSION)
|
||||
extern uint32_t Image$$RW_m_ncache$$Base[];
|
||||
/* RW_m_ncache_unused is a auxiliary region which is used to get the whole size of noncache section */
|
||||
|
Reference in New Issue
Block a user