Skip to content

Commit

Permalink
Merge pull request #140 from MikroElektronika/new-feature/mcus/64
Browse files Browse the repository at this point in the history
Merge branch new-feature/mcus/64 into main
  • Loading branch information
IvanRuzavin authored Oct 28, 2024
2 parents 91676d1 + 3962684 commit 5debaba
Show file tree
Hide file tree
Showing 23 changed files with 47,750 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ARM/gcc_clang/cmake/stm/delays/stm32l412_x8.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(${MCU_NAME} MATCHES "^STM32L412C8$|^STM32L412K8$|^STM32L412R8$|^STM32L412T8$")
list(APPEND local_list_macros "getClockValue(_clock) (_clock/1000UL/6)")
endif()
7 changes: 7 additions & 0 deletions ARM/gcc_clang/cmake/stm/stm32l412_x8.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if(${MCU_NAME} MATCHES "^STM32L412C8$|^STM32L412K8$|^STM32L412R8$|^STM32L412T8$")
set(${linkerScript} linker_scripts/${vendor}/${mcu_match}.ld PARENT_SCOPE)
set(${startupFile} startup/${vendor}/${mcu_match}.s PARENT_SCOPE)
list(APPEND local_list_include system/src/${vendor}/system_stm32l_4xx.c)
list(APPEND local_list_include system/inc/${vendor}/system_stm32l_4xx.h)
list(APPEND local_list_install system/inc/${vendor}/system_stm32l_4xx.h)
endif()
Loading

0 comments on commit 5debaba

Please sign in to comment.