diff options
| author | hathach <[email protected]> | 2023-08-01 11:18:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-08-01 11:18:00 +0700 |
| commit | 1cccbaf7ec12ecf296644e9b51603261a0d586ac (patch) | |
| tree | b9798d797da3655be94b61570df3b884ab2e780d /hw | |
| parent | 3f788a4e5a7758ce51cbcadef4ac21e427cc3c56 (diff) | |
fix board name with dash
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/bsp/family_support.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/bsp/family_support.cmake b/hw/bsp/family_support.cmake index db1ce988e..8cc7a1420 100644 --- a/hw/bsp/family_support.cmake +++ b/hw/bsp/family_support.cmake @@ -182,6 +182,7 @@ function(family_configure_common TARGET RTOS) family_add_rtos(${TARGET} ${RTOS}) string(TOUPPER ${BOARD} BOARD_UPPER) + string(REPLACE "-" "_" BOARD_UPPER ${BOARD_UPPER}) target_compile_definitions(${TARGET} PUBLIC BOARD_${BOARD_UPPER} ) |
