18 lines
355 B
CMake
Raw Normal View History

2023-05-10 18:22:51 +07:00
set(MCU_VARIANT LPC55S28)
set(MCU_CORE LPC55S28)
set(JLINK_DEVICE LPC55S28)
set(PYOCD_TARGET LPC55S28)
set(NXPLINK_DEVICE LPC55S28:LPCXpresso55S28)
2023-08-08 18:50:24 +07:00
# Device port default to PORT1 Highspeed
if (NOT DEFINED PORT)
set(PORT 1)
endif()
2023-05-10 18:22:51 +07:00
function(update_board TARGET)
target_compile_definitions(${TARGET} PUBLIC
CPU_LPC55S28JBD100
)
endfunction()