mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
rename FAMILY_SUBMODULES to DEPS_SUBMODULES
This commit is contained in:
parent
b846ded487
commit
590d8d4d5c
@ -53,8 +53,8 @@ fetch_submodule_if_empty = \
|
||||
$(info $(shell git -C $(TOP) submodule update --init $1)) \
|
||||
endif
|
||||
|
||||
ifdef FAMILY_SUBMODULES
|
||||
$(foreach s,$(FAMILY_SUBMODULES),:$(call fetch_submodule_if_empty,$(s)))
|
||||
ifdef DEPS_SUBMODULES
|
||||
$(foreach s,$(DEPS_SUBMODULES),:$(call fetch_submodule_if_empty,$(s)))
|
||||
endif
|
||||
|
||||
#-------------- Cross Compiler ------------
|
||||
|
@ -63,6 +63,7 @@ all: $(BUILD)
|
||||
clean:
|
||||
$(RM) -rf $(BUILD)
|
||||
|
||||
#flash: flash-pyocd
|
||||
flash:
|
||||
@$(CP) $(BUILD)/$(PROJECT).uf2 /media/$(USER)/RPI-RP2
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/microchip
|
||||
DEPS_SUBMODULES = hw/mcu/microchip
|
||||
HWREV ?= 1
|
||||
|
||||
CFLAGS += \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-mthumb \
|
||||
|
@ -1,5 +1,5 @@
|
||||
UF2_FAMILY_ID = 0x4fb2d5bd
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
UF2_FAMILY_ID = 0x2abc77ec
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,5 +1,5 @@
|
||||
CROSS_COMPILE = msp430-elf-
|
||||
FAMILY_SUBMODULES = hw/mcu/ti
|
||||
DEPS_SUBMODULES = hw/mcu/ti
|
||||
SKIP_NANOLIB = 1
|
||||
|
||||
CFLAGS += \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nxp
|
||||
DEPS_SUBMODULES = hw/mcu/nxp
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,5 +1,5 @@
|
||||
UF2_FAMILY_ID = 0xADA52840
|
||||
FAMILY_SUBMODULES = hw/mcu/nordic/nrfx
|
||||
DEPS_SUBMODULES = hw/mcu/nordic/nrfx
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nuvoton
|
||||
DEPS_SUBMODULES = hw/mcu/nuvoton
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nuvoton
|
||||
DEPS_SUBMODULES = hw/mcu/nuvoton
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nuvoton
|
||||
DEPS_SUBMODULES = hw/mcu/nuvoton
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nuvoton
|
||||
DEPS_SUBMODULES = hw/mcu/nuvoton
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/nuvoton
|
||||
DEPS_SUBMODULES = hw/mcu/nuvoton
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/raspberrypi/pico-sdk
|
||||
DEPS_SUBMODULES = hw/mcu/raspberrypi/pico-sdk
|
||||
|
||||
JLINK_DEVICE = rp2040_m0_0
|
||||
PYOCD_TARGET = rp2040
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/microchip
|
||||
DEPS_SUBMODULES = hw/mcu/microchip
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
UF2_FAMILY_ID = 0x68ed2b88
|
||||
FAMILY_SUBMODULES = hw/mcu/microchip
|
||||
DEPS_SUBMODULES = hw/mcu/microchip
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
UF2_FAMILY_ID = 0x55114460
|
||||
FAMILY_SUBMODULES = hw/mcu/microchip
|
||||
DEPS_SUBMODULES = hw/mcu/microchip
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/microchip
|
||||
DEPS_SUBMODULES = hw/mcu/microchip
|
||||
|
||||
CONF_CPU_FREQUENCY ?= 120000000
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/microchip
|
||||
DEPS_SUBMODULES = hw/mcu/microchip
|
||||
|
||||
CFLAGS += \
|
||||
-mthumb \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/microchip
|
||||
DEPS_SUBMODULES = hw/mcu/microchip
|
||||
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
|
@ -1,4 +1,4 @@
|
||||
FAMILY_SUBMODULES = hw/mcu/sony/cxd56/spresense-exported-sdk
|
||||
DEPS_SUBMODULES = hw/mcu/sony/cxd56/spresense-exported-sdk
|
||||
|
||||
# Platforms are: Linux, Darwin, MSYS, CYGWIN
|
||||
PLATFORM := $(firstword $(subst _, ,$(shell uname -s 2>/dev/null)))
|
||||
|
@ -1,5 +1,5 @@
|
||||
ST_FAMILY = f0
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,5 +1,5 @@
|
||||
ST_FAMILY = f0
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,5 +1,5 @@
|
||||
ST_FAMILY = f1
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,5 +1,5 @@
|
||||
ST_FAMILY = f2
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,5 +1,5 @@
|
||||
ST_FAMILY = f3
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,6 +1,6 @@
|
||||
UF2_FAMILY_ID = 0x57755a57
|
||||
ST_FAMILY = f4
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,6 +1,6 @@
|
||||
UF2_FAMILY_ID = 0x53b80f00
|
||||
ST_FAMILY = f7
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,6 +1,6 @@
|
||||
UF2_FAMILY_ID = 0x6db66082
|
||||
ST_FAMILY = h7
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,5 +1,5 @@
|
||||
ST_FAMILY = l0
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,5 +1,5 @@
|
||||
ST_FAMILY = l4
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
@ -1,5 +1,5 @@
|
||||
ST_FAMILY = l4
|
||||
FAMILY_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
DEPS_SUBMODULES = hw/mcu/st/cmsis_device_$(ST_FAMILY) hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
||||
ST_CMSIS = hw/mcu/st/cmsis_device_$(ST_FAMILY)
|
||||
ST_HAL_DRIVER = hw/mcu/st/stm32$(ST_FAMILY)xx_hal_driver
|
||||
|
Loading…
x
Reference in New Issue
Block a user