Skip to content

Commit

Permalink
Merge pull request #141 from MikroElektronika/new-feature/mcus/65
Browse files Browse the repository at this point in the history
Merge branch new-feature/mcus/65 into main
  • Loading branch information
IvanRuzavin authored Oct 29, 2024
2 parents 25077a5 + f615ae5 commit 867439b
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_xb.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(${MCU_NAME} MATCHES "^STM32L412CB$|^STM32L412KB$|^STM32L412RB$|^STM32L412TB$")
list(APPEND local_list_macros "getClockValue(_clock) (_clock/1000UL/6)")
endif()
7 changes: 7 additions & 0 deletions ARM/gcc_clang/cmake/stm/stm32l412_xb.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if(${MCU_NAME} MATCHES "^STM32L412CB$|^STM32L412KB$|^STM32L412RB$|^STM32L412TB$")
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 867439b

Please sign in to comment.