@@ -160,4 +160,5 @@ SECTIONS
|
||||
|
||||
. = ALIGN(4);
|
||||
_end = . ;
|
||||
end = .;
|
||||
}
|
||||
|
||||
@@ -33,11 +33,11 @@
|
||||
void USB_IRQHandler(void)
|
||||
{
|
||||
#if CFG_TUD_ENABLED
|
||||
tuh_int_handler(0);
|
||||
tud_int_handler(0);
|
||||
#endif
|
||||
|
||||
#if CFG_TUH_ENABLED
|
||||
tud_int_handler(0);
|
||||
tuh_int_handler(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_K32L2BXX
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=unused-parameter
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=redundant-decls
|
||||
|
||||
MCU_DIR = $(SDK_DIR)/devices/K32L2B31A
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ LDFLAGS += \
|
||||
-Wl,--defsym,__heap_size__=0
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=format
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=format -Wno-error=redundant-decls
|
||||
|
||||
MCU_DIR = $(SDK_DIR)/devices/MKL25Z4
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
* Variables
|
||||
******************************************************************************/
|
||||
/* System clock frequency. */
|
||||
extern uint32_t SystemCoreClock;
|
||||
// extern uint32_t SystemCoreClock;
|
||||
|
||||
/*******************************************************************************
|
||||
* Variables for BOARD_BootClockRUN configuration
|
||||
|
||||
@@ -15,7 +15,7 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter
|
||||
CFLAGS += -Wno-error=strict-prototypes -Wno-error=unused-parameter -Wno-error=redundant-decls
|
||||
|
||||
MCU_DIR = hw/mcu/nxp/lpcopen/lpc11uxx/lpc_chip_11uxx
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'
|
||||
|
||||
# startup.c and lpc_types.h cause following errors
|
||||
CFLAGS += -Wno-error=strict-prototypes
|
||||
CFLAGS += -Wno-error=strict-prototypes -Wno-error=redundant-decls
|
||||
|
||||
MCU_DIR = hw/mcu/nxp/lpcopen/lpc13xx/lpc_chip_13xx
|
||||
|
||||
|
||||
@@ -10,6 +10,9 @@ CFLAGS += \
|
||||
-DCFG_EXAMPLE_MSC_READONLY \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_NUC121
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=redundant-decls
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/$(BOARD)/nuc121_flash.ld
|
||||
|
||||
|
||||
@@ -10,6 +10,9 @@ CFLAGS += \
|
||||
-DCFG_EXAMPLE_MSC_READONLY \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_NUC121
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=redundant-decls
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/$(BOARD)/nuc125_flash.ld
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@ CFLAGS += \
|
||||
-D__CORTEX_SC=0 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_NUC126
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=redundant-decls
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/$(BOARD)/nuc126_flash.ld
|
||||
|
||||
|
||||
@@ -9,6 +9,9 @@ CFLAGS += \
|
||||
-mfpu=fpv4-sp-d16 \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_NUC505
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=redundant-decls
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/$(BOARD)/nuc505_flashtoram.ld
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
set(PICO_BOARD adafruit_feather_rp2040)
|
||||
@@ -1 +0,0 @@
|
||||
set(PICO_BOARD adafruit_itsybitsy_rp2040)
|
||||
@@ -1 +0,0 @@
|
||||
set(PICO_BOARD adafruit_qtpy_rp2040)
|
||||
@@ -11,7 +11,7 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_SAMX7X
|
||||
|
||||
# suppress following warnings from mcu driver
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align -Wno-error=cast-qual
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align -Wno-error=cast-qual -Wno-error=redundant-decls
|
||||
|
||||
ASF_DIR = hw/mcu/microchip/same70
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_SAMX7X
|
||||
|
||||
# suppress following warnings from mcu driver
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align -Wno-error=cast-qual
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=cast-align -Wno-error=cast-qual -Wno-error=redundant-decls
|
||||
|
||||
ASF_DIR = hw/mcu/microchip/same70
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_SAMG
|
||||
|
||||
# suppress following warnings from mcu driver
|
||||
CFLAGS += -Wno-error=undef -Wno-error=cast-qual -Wno-error=null-dereference
|
||||
CFLAGS += -Wno-error=undef -Wno-error=cast-qual -Wno-error=null-dereference -Wno-error=redundant-decls
|
||||
|
||||
ASF_DIR = hw/mcu/microchip/samg55
|
||||
|
||||
|
||||
@@ -34,8 +34,9 @@ CFLAGS += \
|
||||
-Wno-error=unused-parameter \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_CXD56 \
|
||||
|
||||
# suppress following warnings from mcu driver
|
||||
# lwip/src/core/raw.c:334:43: error: declaration of 'recv' shadows a global declaration
|
||||
CFLAGS += -Wno-error=shadow
|
||||
CFLAGS += -Wno-error=shadow -Wno-error=redundant-decls
|
||||
|
||||
SPRESENSE_SDK = $(TOP)/hw/mcu/sony/cxd56/spresense-exported-sdk
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ CFLAGS += \
|
||||
-DCFG_TUSB_MCU=OPT_MCU_STM32L0
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=maybe-uninitialized
|
||||
CFLAGS += -Wno-error=unused-parameter -Wno-error=maybe-uninitialized -Wno-error=redundant-decls
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = hw/bsp/$(BOARD)/STM32L053C8Tx_FLASH.ld
|
||||
|
||||
@@ -2,6 +2,9 @@ MCU_VARIANT = XMC4500
|
||||
CFLAGS += \
|
||||
-DXMC4500_F100x1024 \
|
||||
|
||||
# mcu driver cause following warnings
|
||||
CFLAGS += -Wno-error=stringop-overread
|
||||
|
||||
LD_FILE = $(MCU_DIR)/CMSIS/Infineon/COMPONENT_$(MCU_VARIANT)/Source/TOOLCHAIN_GCC_ARM/XMC4500x1024.ld
|
||||
|
||||
JLINK_DEVICE = XMC4500-1024
|
||||
|
||||
+1
-1
Submodule hw/mcu/microchip updated: 58eb376320...9e8b37e307
Reference in New Issue
Block a user