Skip to content

Commit

Permalink
chore(cmake): update database
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Jun 27, 2024
1 parent edcd17d commit 4f7fcbb
Showing 1 changed file with 280 additions and 0 deletions.
280 changes: 280 additions & 0 deletions cmake/boards_db.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -81454,6 +81454,286 @@ target_compile_options(GENERIC_L051C8UX_usb_none INTERFACE
"SHELL:"
)

# GENERIC_L051K6TX
# -----------------------------------------------------------------------------

set(GENERIC_L051K6TX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L0xx/L051K(6-8)T")
set(GENERIC_L051K6TX_MAXSIZE 32768)
set(GENERIC_L051K6TX_MAXDATASIZE 8192)
set(GENERIC_L051K6TX_MCU cortex-m0plus)
set(GENERIC_L051K6TX_FPCONF "-")
add_library(GENERIC_L051K6TX INTERFACE)
target_compile_options(GENERIC_L051K6TX INTERFACE
"SHELL:-DSTM32L051xx -D__CORTEX_SC=0"
"SHELL:"
"SHELL:"
"SHELL: "
-mcpu=${GENERIC_L051K6TX_MCU}
)
target_compile_definitions(GENERIC_L051K6TX INTERFACE
"STM32L0xx"
"ARDUINO_GENERIC_L051K6TX"
"BOARD_NAME=\"GENERIC_L051K6TX\""
"BOARD_ID=GENERIC_L051K6TX"
"VARIANT_H=\"variant_generic.h\""
)
target_include_directories(GENERIC_L051K6TX INTERFACE
${CMAKE_CURRENT_LIST_DIR}/../system/STM32L0xx
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L0xx_HAL_Driver/Inc
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L0xx_HAL_Driver/Src
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/
${GENERIC_L051K6TX_VARIANT_PATH}
)

target_link_options(GENERIC_L051K6TX INTERFACE
"LINKER:--default-script=${GENERIC_L051K6TX_VARIANT_PATH}/ldscript.ld"
"LINKER:--defsym=LD_FLASH_OFFSET=0x0"
"LINKER:--defsym=LD_MAX_SIZE=32768"
"LINKER:--defsym=LD_MAX_DATA_SIZE=8192"
"SHELL: "
-mcpu=${GENERIC_L051K6TX_MCU}
)

add_library(GENERIC_L051K6TX_serial_disabled INTERFACE)
target_compile_options(GENERIC_L051K6TX_serial_disabled INTERFACE
"SHELL:"
)
add_library(GENERIC_L051K6TX_serial_generic INTERFACE)
target_compile_options(GENERIC_L051K6TX_serial_generic INTERFACE
"SHELL:-DHAL_UART_MODULE_ENABLED"
)
add_library(GENERIC_L051K6TX_serial_none INTERFACE)
target_compile_options(GENERIC_L051K6TX_serial_none INTERFACE
"SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE"
)
add_library(GENERIC_L051K6TX_usb_CDC INTERFACE)
target_compile_options(GENERIC_L051K6TX_usb_CDC INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB"
)
add_library(GENERIC_L051K6TX_usb_CDCgen INTERFACE)
target_compile_options(GENERIC_L051K6TX_usb_CDCgen INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC"
)
add_library(GENERIC_L051K6TX_usb_HID INTERFACE)
target_compile_options(GENERIC_L051K6TX_usb_HID INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE"
)
add_library(GENERIC_L051K6TX_usb_none INTERFACE)
target_compile_options(GENERIC_L051K6TX_usb_none INTERFACE
"SHELL:"
)

# GENERIC_L051K6UX
# -----------------------------------------------------------------------------

set(GENERIC_L051K6UX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L0xx/L051K(6-8)U")
set(GENERIC_L051K6UX_MAXSIZE 32768)
set(GENERIC_L051K6UX_MAXDATASIZE 8192)
set(GENERIC_L051K6UX_MCU cortex-m0plus)
set(GENERIC_L051K6UX_FPCONF "-")
add_library(GENERIC_L051K6UX INTERFACE)
target_compile_options(GENERIC_L051K6UX INTERFACE
"SHELL:-DSTM32L051xx -D__CORTEX_SC=0"
"SHELL:"
"SHELL:"
"SHELL: "
-mcpu=${GENERIC_L051K6UX_MCU}
)
target_compile_definitions(GENERIC_L051K6UX INTERFACE
"STM32L0xx"
"ARDUINO_GENERIC_L051K6UX"
"BOARD_NAME=\"GENERIC_L051K6UX\""
"BOARD_ID=GENERIC_L051K6UX"
"VARIANT_H=\"variant_generic.h\""
)
target_include_directories(GENERIC_L051K6UX INTERFACE
${CMAKE_CURRENT_LIST_DIR}/../system/STM32L0xx
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L0xx_HAL_Driver/Inc
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L0xx_HAL_Driver/Src
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/
${GENERIC_L051K6UX_VARIANT_PATH}
)

target_link_options(GENERIC_L051K6UX INTERFACE
"LINKER:--default-script=${GENERIC_L051K6UX_VARIANT_PATH}/ldscript.ld"
"LINKER:--defsym=LD_FLASH_OFFSET=0x0"
"LINKER:--defsym=LD_MAX_SIZE=32768"
"LINKER:--defsym=LD_MAX_DATA_SIZE=8192"
"SHELL: "
-mcpu=${GENERIC_L051K6UX_MCU}
)

add_library(GENERIC_L051K6UX_serial_disabled INTERFACE)
target_compile_options(GENERIC_L051K6UX_serial_disabled INTERFACE
"SHELL:"
)
add_library(GENERIC_L051K6UX_serial_generic INTERFACE)
target_compile_options(GENERIC_L051K6UX_serial_generic INTERFACE
"SHELL:-DHAL_UART_MODULE_ENABLED"
)
add_library(GENERIC_L051K6UX_serial_none INTERFACE)
target_compile_options(GENERIC_L051K6UX_serial_none INTERFACE
"SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE"
)
add_library(GENERIC_L051K6UX_usb_CDC INTERFACE)
target_compile_options(GENERIC_L051K6UX_usb_CDC INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB"
)
add_library(GENERIC_L051K6UX_usb_CDCgen INTERFACE)
target_compile_options(GENERIC_L051K6UX_usb_CDCgen INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC"
)
add_library(GENERIC_L051K6UX_usb_HID INTERFACE)
target_compile_options(GENERIC_L051K6UX_usb_HID INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE"
)
add_library(GENERIC_L051K6UX_usb_none INTERFACE)
target_compile_options(GENERIC_L051K6UX_usb_none INTERFACE
"SHELL:"
)

# GENERIC_L051K8TX
# -----------------------------------------------------------------------------

set(GENERIC_L051K8TX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L0xx/L051K(6-8)T")
set(GENERIC_L051K8TX_MAXSIZE 65536)
set(GENERIC_L051K8TX_MAXDATASIZE 8192)
set(GENERIC_L051K8TX_MCU cortex-m0plus)
set(GENERIC_L051K8TX_FPCONF "-")
add_library(GENERIC_L051K8TX INTERFACE)
target_compile_options(GENERIC_L051K8TX INTERFACE
"SHELL:-DSTM32L051xx -D__CORTEX_SC=0"
"SHELL:"
"SHELL:"
"SHELL: "
-mcpu=${GENERIC_L051K8TX_MCU}
)
target_compile_definitions(GENERIC_L051K8TX INTERFACE
"STM32L0xx"
"ARDUINO_GENERIC_L051K8TX"
"BOARD_NAME=\"GENERIC_L051K8TX\""
"BOARD_ID=GENERIC_L051K8TX"
"VARIANT_H=\"variant_generic.h\""
)
target_include_directories(GENERIC_L051K8TX INTERFACE
${CMAKE_CURRENT_LIST_DIR}/../system/STM32L0xx
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L0xx_HAL_Driver/Inc
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L0xx_HAL_Driver/Src
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/
${GENERIC_L051K8TX_VARIANT_PATH}
)

target_link_options(GENERIC_L051K8TX INTERFACE
"LINKER:--default-script=${GENERIC_L051K8TX_VARIANT_PATH}/ldscript.ld"
"LINKER:--defsym=LD_FLASH_OFFSET=0x0"
"LINKER:--defsym=LD_MAX_SIZE=65536"
"LINKER:--defsym=LD_MAX_DATA_SIZE=8192"
"SHELL: "
-mcpu=${GENERIC_L051K8TX_MCU}
)

add_library(GENERIC_L051K8TX_serial_disabled INTERFACE)
target_compile_options(GENERIC_L051K8TX_serial_disabled INTERFACE
"SHELL:"
)
add_library(GENERIC_L051K8TX_serial_generic INTERFACE)
target_compile_options(GENERIC_L051K8TX_serial_generic INTERFACE
"SHELL:-DHAL_UART_MODULE_ENABLED"
)
add_library(GENERIC_L051K8TX_serial_none INTERFACE)
target_compile_options(GENERIC_L051K8TX_serial_none INTERFACE
"SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE"
)
add_library(GENERIC_L051K8TX_usb_CDC INTERFACE)
target_compile_options(GENERIC_L051K8TX_usb_CDC INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB"
)
add_library(GENERIC_L051K8TX_usb_CDCgen INTERFACE)
target_compile_options(GENERIC_L051K8TX_usb_CDCgen INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC"
)
add_library(GENERIC_L051K8TX_usb_HID INTERFACE)
target_compile_options(GENERIC_L051K8TX_usb_HID INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE"
)
add_library(GENERIC_L051K8TX_usb_none INTERFACE)
target_compile_options(GENERIC_L051K8TX_usb_none INTERFACE
"SHELL:"
)

# GENERIC_L051K8UX
# -----------------------------------------------------------------------------

set(GENERIC_L051K8UX_VARIANT_PATH "${CMAKE_CURRENT_LIST_DIR}/../variants/STM32L0xx/L051K(6-8)U")
set(GENERIC_L051K8UX_MAXSIZE 65536)
set(GENERIC_L051K8UX_MAXDATASIZE 8192)
set(GENERIC_L051K8UX_MCU cortex-m0plus)
set(GENERIC_L051K8UX_FPCONF "-")
add_library(GENERIC_L051K8UX INTERFACE)
target_compile_options(GENERIC_L051K8UX INTERFACE
"SHELL:-DSTM32L051xx -D__CORTEX_SC=0"
"SHELL:"
"SHELL:"
"SHELL: "
-mcpu=${GENERIC_L051K8UX_MCU}
)
target_compile_definitions(GENERIC_L051K8UX INTERFACE
"STM32L0xx"
"ARDUINO_GENERIC_L051K8UX"
"BOARD_NAME=\"GENERIC_L051K8UX\""
"BOARD_ID=GENERIC_L051K8UX"
"VARIANT_H=\"variant_generic.h\""
)
target_include_directories(GENERIC_L051K8UX INTERFACE
${CMAKE_CURRENT_LIST_DIR}/../system/STM32L0xx
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L0xx_HAL_Driver/Inc
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/STM32L0xx_HAL_Driver/Src
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L0xx/Include/
${CMAKE_CURRENT_LIST_DIR}/../system/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/gcc/
${GENERIC_L051K8UX_VARIANT_PATH}
)

target_link_options(GENERIC_L051K8UX INTERFACE
"LINKER:--default-script=${GENERIC_L051K8UX_VARIANT_PATH}/ldscript.ld"
"LINKER:--defsym=LD_FLASH_OFFSET=0x0"
"LINKER:--defsym=LD_MAX_SIZE=65536"
"LINKER:--defsym=LD_MAX_DATA_SIZE=8192"
"SHELL: "
-mcpu=${GENERIC_L051K8UX_MCU}
)

add_library(GENERIC_L051K8UX_serial_disabled INTERFACE)
target_compile_options(GENERIC_L051K8UX_serial_disabled INTERFACE
"SHELL:"
)
add_library(GENERIC_L051K8UX_serial_generic INTERFACE)
target_compile_options(GENERIC_L051K8UX_serial_generic INTERFACE
"SHELL:-DHAL_UART_MODULE_ENABLED"
)
add_library(GENERIC_L051K8UX_serial_none INTERFACE)
target_compile_options(GENERIC_L051K8UX_serial_none INTERFACE
"SHELL:-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE"
)
add_library(GENERIC_L051K8UX_usb_CDC INTERFACE)
target_compile_options(GENERIC_L051K8UX_usb_CDC INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB"
)
add_library(GENERIC_L051K8UX_usb_CDCgen INTERFACE)
target_compile_options(GENERIC_L051K8UX_usb_CDCgen INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_CDC"
)
add_library(GENERIC_L051K8UX_usb_HID INTERFACE)
target_compile_options(GENERIC_L051K8UX_usb_HID INTERFACE
"SHELL:-DUSBCON -DUSBD_VID=0x0483 -DUSBD_PID=0x5740 -DHAL_PCD_MODULE_ENABLED -DUSBD_USE_HID_COMPOSITE"
)
add_library(GENERIC_L051K8UX_usb_none INTERFACE)
target_compile_options(GENERIC_L051K8UX_usb_none INTERFACE
"SHELL:"
)

# GENERIC_L052C6TX
# -----------------------------------------------------------------------------

Expand Down

0 comments on commit 4f7fcbb

Please sign in to comment.