Skip to content

Commit dbcef41

Browse files
committed
add support for other lpc55 boards
1 parent 2c745d1 commit dbcef41

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
set(MCU_VARIANT LPC55S28)
2+
set(MCU_CORE LPC55S28)
3+
4+
set(JLINK_DEVICE LPC55S28)
5+
set(PYOCD_TARGET LPC55S28)
6+
set(NXPLINK_DEVICE LPC55S28:LPCXpresso55S28)
7+
8+
function(update_board TARGET)
9+
target_compile_definitions(${TARGET} PUBLIC
10+
CPU_LPC55S28JBD100
11+
)
12+
endfunction()

hw/bsp/lpc55/boards/lpcxpresso55s69/board.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ set(NXPLINK_DEVICE LPC55S69:LPCXpresso55S69)
88
function(update_board TARGET)
99
target_compile_definitions(${TARGET} PUBLIC
1010
CPU_LPC55S69JBD100_cm33_core0
11+
# port 1 is highspeed
12+
# BOARD_TUD_RHPORT=1
1113
)
1214
endfunction()
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
set(MCU_VARIANT LPC55S69)
2+
set(MCU_CORE LPC55S69_cm33_core0)
3+
4+
set(JLINK_DEVICE LPC55S69)
5+
set(PYOCD_TARGET LPC55S69)
6+
set(NXPLINK_DEVICE LPC55S69:LPCXpresso55S69)
7+
8+
function(update_board TARGET)
9+
target_compile_definitions(${TARGET} PUBLIC
10+
CPU_LPC55S69JBD100_cm33_core0
11+
# port 1 is highspeed
12+
# BOARD_TUD_RHPORT=1
13+
)
14+
endfunction()

0 commit comments

Comments
 (0)