<commit_before>common:
    target:
        - stm32f103xb
    macros:
        - INTERFACE_STM32F103XB
        - USE_HAL_DRIVER
        - STM32F103xB
        - DAPLINK_HIC_ID=0x97969908  # DAPLINK_HIC_ID_STM32F103XB
        - __packed=__packed          # Prevent redefinition of __packed with ARMCC
        - DAPLINK_NO_ASSERT_FILENAMES
    includes:
        - source/hic_hal/stm32/stm32f103xb
        - source/hic_hal/stm32/stm32f103xb/cmsis
        - source/hic_hal/stm32/stm32f103xb/STM32F1xx_HAL_Driver
        - source/hic_hal/stm32/stm32f103xb/STM32F1xx_HAL_Driver/Inc
    sources:
        hic_hal:
            - source/hic_hal/stm32/stm32f103xb
            - source/hic_hal/stm32/stm32f103xb/cmsis
            - source/hic_hal/stm32/stm32f103xb/armcc
            - source/hic_hal/stm32/stm32f103xb/STM32F1xx_HAL_Driver/Src

tool_specific:
    uvision:
        misc:
            ld_flags:
                - --predefine="-I..\..\..\source\hic_hal\stm32\stm32f103xb"
            c_flags:
                - --no_unaligned_access
            cxx_flags:
                - --no_unaligned_access
            asm_flags:
                - --no_unaligned_access<commit_msg>Add core and make_armcc to hichal yaml. Needed in mbedcli compile support<commit_after>common:
    target:
        - stm32f103xb
    core:
        - Cortex-M3
    macros:
        - INTERFACE_STM32F103XB
        - USE_HAL_DRIVER
        - STM32F103xB
        - DAPLINK_HIC_ID=0x97969908  # DAPLINK_HIC_ID_STM32F103XB
        - __packed=__packed          # Prevent redefinition of __packed with ARMCC
        - DAPLINK_NO_ASSERT_FILENAMES
    includes:
        - source/hic_hal/stm32/stm32f103xb
        - source/hic_hal/stm32/stm32f103xb/cmsis
        - source/hic_hal/stm32/stm32f103xb/STM32F1xx_HAL_Driver
        - source/hic_hal/stm32/stm32f103xb/STM32F1xx_HAL_Driver/Inc
    sources:
        hic_hal:
            - source/hic_hal/stm32/stm32f103xb
            - source/hic_hal/stm32/stm32f103xb/cmsis
            - source/hic_hal/stm32/stm32f103xb/armcc
            - source/hic_hal/stm32/stm32f103xb/STM32F1xx_HAL_Driver/Src

tool_specific:
    uvision:
        misc:
            ld_flags:
                - --predefine="-I..\..\..\source\hic_hal\stm32\stm32f103xb"
            c_flags:
                - --no_unaligned_access
            cxx_flags:
                - --no_unaligned_access
            asm_flags:
                - --no_unaligned_access
    make_armcc:
        misc:
            ld_flags:
                - --predefine="-Isource\hic_hal\stm32\stm32f103xb"
            c_flags:
                - --no_unaligned_access
            cxx_flags:
                - --no_unaligned_access
            asm_flags:
                - --no_unaligned_access
{'fraction_non_alphanumeric': 0.08021978021978023, 'fraction_numerical': 0.07692307692307693, 'mean_word_length': 1.636100386100386, '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': '2247925', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1009, 'n_words': 100}