mirror of
https://github.com/hathach/tinyusb.git
synced 2026-02-04 13:25:33 +00:00
cleanup, add preset
Signed-off-by: Zixun LI <admin@hifiphile.com> Signed-off-by: HiFiPhile <admin@hifiphile.com>
This commit is contained in:
@ -234,6 +234,10 @@
|
||||
"name": "frdm_mcxn947",
|
||||
"inherits": "default"
|
||||
},
|
||||
{
|
||||
"name": "hpm6750evk2",
|
||||
"inherits": "default"
|
||||
},
|
||||
{
|
||||
"name": "itsybitsy_m0",
|
||||
"inherits": "default"
|
||||
@ -362,10 +366,6 @@
|
||||
"name": "metro_m7_1011_sd",
|
||||
"inherits": "default"
|
||||
},
|
||||
{
|
||||
"name": "metro_nrf52840",
|
||||
"inherits": "default"
|
||||
},
|
||||
{
|
||||
"name": "mimxrt1010_evk",
|
||||
"inherits": "default"
|
||||
@ -518,10 +518,6 @@
|
||||
"name": "raspberry_pi_pico2",
|
||||
"inherits": "default"
|
||||
},
|
||||
{
|
||||
"name": "raspberry_pi_pico2_riscv",
|
||||
"inherits": "default"
|
||||
},
|
||||
{
|
||||
"name": "raspberry_pi_pico_w",
|
||||
"inherits": "default"
|
||||
@ -1228,6 +1224,11 @@
|
||||
"description": "Build preset for the frdm_mcxn947 board",
|
||||
"configurePreset": "frdm_mcxn947"
|
||||
},
|
||||
{
|
||||
"name": "hpm6750evk2",
|
||||
"description": "Build preset for the hpm6750evk2 board",
|
||||
"configurePreset": "hpm6750evk2"
|
||||
},
|
||||
{
|
||||
"name": "itsybitsy_m0",
|
||||
"description": "Build preset for the itsybitsy_m0 board",
|
||||
@ -1388,11 +1389,6 @@
|
||||
"description": "Build preset for the metro_m7_1011_sd board",
|
||||
"configurePreset": "metro_m7_1011_sd"
|
||||
},
|
||||
{
|
||||
"name": "metro_nrf52840",
|
||||
"description": "Build preset for the metro_nrf52840 board",
|
||||
"configurePreset": "metro_nrf52840"
|
||||
},
|
||||
{
|
||||
"name": "mimxrt1010_evk",
|
||||
"description": "Build preset for the mimxrt1010_evk board",
|
||||
@ -1583,11 +1579,6 @@
|
||||
"description": "Build preset for the raspberry_pi_pico2 board",
|
||||
"configurePreset": "raspberry_pi_pico2"
|
||||
},
|
||||
{
|
||||
"name": "raspberry_pi_pico2_riscv",
|
||||
"description": "Build preset for the raspberry_pi_pico2_riscv board",
|
||||
"configurePreset": "raspberry_pi_pico2_riscv"
|
||||
},
|
||||
{
|
||||
"name": "raspberry_pi_pico_w",
|
||||
"description": "Build preset for the raspberry_pi_pico_w board",
|
||||
@ -2854,6 +2845,19 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "hpm6750evk2",
|
||||
"steps": [
|
||||
{
|
||||
"type": "configure",
|
||||
"name": "hpm6750evk2"
|
||||
},
|
||||
{
|
||||
"type": "build",
|
||||
"name": "hpm6750evk2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "itsybitsy_m0",
|
||||
"steps": [
|
||||
@ -3270,19 +3274,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "metro_nrf52840",
|
||||
"steps": [
|
||||
{
|
||||
"type": "configure",
|
||||
"name": "metro_nrf52840"
|
||||
},
|
||||
{
|
||||
"type": "build",
|
||||
"name": "metro_nrf52840"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mimxrt1010_evk",
|
||||
"steps": [
|
||||
@ -3777,19 +3768,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "raspberry_pi_pico2_riscv",
|
||||
"steps": [
|
||||
{
|
||||
"type": "configure",
|
||||
"name": "raspberry_pi_pico2_riscv"
|
||||
},
|
||||
{
|
||||
"type": "build",
|
||||
"name": "raspberry_pi_pico2_riscv"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "raspberry_pi_pico_w",
|
||||
"steps": [
|
||||
|
||||
@ -2,8 +2,6 @@ include_guard()
|
||||
|
||||
set(SDK_DIR ${TOP}/hw/mcu/hpmicro/hpm_sdk)
|
||||
|
||||
set(CROSS_COMPILE "riscv32-unknown-elf-")
|
||||
|
||||
# include board specific
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake)
|
||||
|
||||
@ -13,7 +11,7 @@ if (NOT DEFINED CMAKE_SYSTEM_CPU)
|
||||
endif ()
|
||||
set(CMAKE_TOOLCHAIN_FILE ${TOP}/examples/build_system/cmake/toolchain/riscv_${TOOLCHAIN}.cmake)
|
||||
|
||||
set(FAMILY_MCUS HPMIRCO CACHE INTERNAL "")
|
||||
set(FAMILY_MCUS HPMICRO CACHE INTERNAL "")
|
||||
|
||||
#------------------------------------
|
||||
# Startup & Linker script
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
SDK_DIR = hw/mcu/hpmicro/hpm_sdk
|
||||
|
||||
CROSS_COMPILE ?= riscv32-unknown-elf-
|
||||
|
||||
include $(TOP)/$(BOARD_PATH)/board.mk
|
||||
|
||||
CPU_CORE ?= rv32imac-ilp32
|
||||
|
||||
@ -246,7 +246,7 @@ deps_optional = {
|
||||
'at32f413'],
|
||||
'hw/mcu/hpmicro/hpm_sdk': ['https://github.com/hpmicro/hpm_sdk',
|
||||
'8d2af741ecc4aaa82d7ee395dc1ce25d7070c3ff',
|
||||
'hpm_sdk hpmicro hpm6750 hpm6300 hpm6200 hpm6800 hpm5300 hpm6e00 hpm5e00'],
|
||||
'hpmicro'],
|
||||
'lib/CMSIS_5': ['https://github.com/ARM-software/CMSIS_5.git',
|
||||
'2b7495b8535bdcb306dac29b9ded4cfb679d7e5c',
|
||||
'imxrt kinetis_k32l2 kinetis_kl lpc51 lpc54 lpc55 mcx mm32 msp432e4 nrf saml2x '
|
||||
|
||||
Reference in New Issue
Block a user