mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-19 15:40:41 +00:00
add support for other lpc55 boards
This commit is contained in:
parent
2c745d1b1e
commit
dbcef41f95
12
hw/bsp/lpc55/boards/lpcxpresso55s28/board.cmake
Normal file
12
hw/bsp/lpc55/boards/lpcxpresso55s28/board.cmake
Normal file
@ -0,0 +1,12 @@
|
||||
set(MCU_VARIANT LPC55S28)
|
||||
set(MCU_CORE LPC55S28)
|
||||
|
||||
set(JLINK_DEVICE LPC55S28)
|
||||
set(PYOCD_TARGET LPC55S28)
|
||||
set(NXPLINK_DEVICE LPC55S28:LPCXpresso55S28)
|
||||
|
||||
function(update_board TARGET)
|
||||
target_compile_definitions(${TARGET} PUBLIC
|
||||
CPU_LPC55S28JBD100
|
||||
)
|
||||
endfunction()
|
@ -8,5 +8,7 @@ set(NXPLINK_DEVICE LPC55S69:LPCXpresso55S69)
|
||||
function(update_board TARGET)
|
||||
target_compile_definitions(${TARGET} PUBLIC
|
||||
CPU_LPC55S69JBD100_cm33_core0
|
||||
# port 1 is highspeed
|
||||
# BOARD_TUD_RHPORT=1
|
||||
)
|
||||
endfunction()
|
||||
|
14
hw/bsp/lpc55/boards/mcu_link/board.cmake
Normal file
14
hw/bsp/lpc55/boards/mcu_link/board.cmake
Normal file
@ -0,0 +1,14 @@
|
||||
set(MCU_VARIANT LPC55S69)
|
||||
set(MCU_CORE LPC55S69_cm33_core0)
|
||||
|
||||
set(JLINK_DEVICE LPC55S69)
|
||||
set(PYOCD_TARGET LPC55S69)
|
||||
set(NXPLINK_DEVICE LPC55S69:LPCXpresso55S69)
|
||||
|
||||
function(update_board TARGET)
|
||||
target_compile_definitions(${TARGET} PUBLIC
|
||||
CPU_LPC55S69JBD100_cm33_core0
|
||||
# port 1 is highspeed
|
||||
# BOARD_TUD_RHPORT=1
|
||||
)
|
||||
endfunction()
|
Loading…
x
Reference in New Issue
Block a user