summaryrefslogtreecommitdiff
path: root/hw/bsp/stm32f4/boards/stm32f412disco/board.cmake
blob: 59c1c3a7b614c0a7f2c98a13d11fdf87033a997c (plain)
1
2
3
4
5
6
7
8
9
10
11
set(MCU_VARIANT stm32f412zx)
set(JLINK_DEVICE stm32f412zg)
# set(JLINK_OPTION "-USB 000771775987")

set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F412ZGTx_FLASH.ld)

function(update_board TARGET)
  target_compile_definitions(${TARGET} PUBLIC
    STM32F412Zx
    )
endfunction()