cmake nuttx add STM32H7 debug helpers

This commit is contained in:
Daniel Agar 2020-10-01 21:12:54 -04:00
parent c648d52909
commit 23aa9ac70f
1 changed files with 9 additions and 0 deletions

View File

@ -238,9 +238,18 @@ if(NOT NUTTX_DIR MATCHES "external")
elseif(CONFIG_ARCH_CHIP_STM32F777NI)
set(DEBUG_DEVICE "STM32F777NI")
set(DEBUG_SVD_FILE "STM32F7x7.svd")
elseif(CONFIG_ARCH_CHIP_STM32H743II)
set(DEBUG_DEVICE "STM32H743II")
set(DEBUG_SVD_FILE "STM32H7x3.svd")
elseif(CONFIG_ARCH_CHIP_STM32H743XI)
set(DEBUG_DEVICE "STM32H743XI")
set(DEBUG_SVD_FILE "STM32H7x3.svd")
elseif(CONFIG_ARCH_CHIP_STM32H743ZI)
set(DEBUG_DEVICE "STM32H743ZI")
set(DEBUG_SVD_FILE "STM32H7x3.svd")
elseif(CONFIG_ARCH_CHIP_STM32H753II)
set(DEBUG_DEVICE "STM32H753II")
set(DEBUG_SVD_FILE "STM32H7x3.svd")
else()
set(DEBUG_DEVICE "")
set(DEBUG_SVD_FILE "unknown")