<commit_before># Copyright (c) 2020-2021 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(TARGET_MAX32660EVSYS EXCLUDE_FROM_ALL)

if(${MBED_TOOLCHAIN} STREQUAL "ARM")
    set(LINKER_FILE  device/TOOLCHAIN_ARM_STD/MAX32660.sct)
    set(STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_MAX32660.S)
elseif(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
    set(LINKER_FILE  device/TOOLCHAIN_GCC_ARM/max32660.ld)
    set(STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_max32660.S)
endif()

add_library(mbed-max32660 INTERFACE)
mbed_set_linker_script(mbed-max32660 ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})

set(MXM_PARTNUMBER          MAX32660)
set(MXM_SOURCE_DIR          ./Libraries/PeriphDrivers/Source)
set(MXM_PERIPH_DRIVER_DIR   ./Libraries/PeriphDrivers)
set(MXM_CMSIS_DIR           ./Libraries/CMSIS/Device/Maxim)

target_include_directories(mbed-max32660<commit_msg>Use lower case<commit_after># Copyright (c) 2020-2021 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(TARGET_MAX32660EVSYS EXCLUDE_FROM_ALL)

if(${MBED_TOOLCHAIN} STREQUAL "ARM")
    set(LINKER_FILE  device/TOOLCHAIN_ARM_STD/MAX32660.sct)
    set(STARTUP_FILE device/TOOLCHAIN_ARM_STD/startup_max32660.S)
elseif(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
    set(LINKER_FILE  device/TOOLCHAIN_GCC_ARM/max32660.ld)
    set(STARTUP_FILE device/TOOLCHAIN_GCC_ARM/startup_max32660.S)
endif()

add_library(mbed-max32660 INTERFACE)
mbed_set_linker_script(mbed-max32660 ${CMAKE_CURRENT_SOURCE_DIR}/${LINKER_FILE})

set(MXM_PARTNUMBER          MAX32660)
set(MXM_SOURCE_DIR          ./Libraries/PeriphDrivers/Source)
set(MXM_PERIPH_DRIVER_DIR   ./Libraries/PeriphDrivers)
set(MXM_CMSIS_DIR           ./Libraries/CMSIS/Device/Maxim)

target_include_directories(mbed-max32660
{'fraction_non_alphanumeric': 0.0977234869516935, 'fraction_numerical': 0.06107717934480844, 'mean_word_length': 5.904214559386973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4148069', 'n_tokens_mistral': 807, 'n_tokens_neox': 702, 'n_words': 83}