Skip to content

Commit

Permalink
Merge pull request #57 from MikroElektronika/samd21/Stefan.Djordjevic
Browse files Browse the repository at this point in the history
Samd21/stefan.djordjevic
  • Loading branch information
StrahinjaJacimovic authored Jun 17, 2024
2 parents a9a4472 + 8519b08 commit 7c0dc83
Show file tree
Hide file tree
Showing 151 changed files with 122,294 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ARM/gcc_clang/cmake/sam/atsam_d21_da1.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if(${MCU_NAME} MATCHES "^ATSAMD21E15$|^ATSAMD21E15L$|^ATSAMD21E16$|^ATSAMD21E16L$|^ATSAMD21E17$|^ATSAMD21E17L$|^ATSAMD21E18$|^ATSAMD21G15$|^ATSAMD21G16$|^ATSAMD21G16L$|^ATSAMD21G17$|^ATSAMD21G17L$|^ATSAMD21G18$|^ATSAMD21J15$|^ATSAMD21J16$|^ATSAMD21J17$|^ATSAMD21J18$|^ATSAMDA1E15B$|^ATSAMDA1E16B$|^ATSAMDA1G14B$|^ATSAMDA1G16B$|^ATSAMDA1J14B$|^ATSAMDA1J15B")
set(${linkerScript} linker_scripts/${vendor}/${mcu_match}.ld PARENT_SCOPE)
set(${startupFile} startup/${vendor}/${mcu_match}.c PARENT_SCOPE)
list(APPEND local_list_include system/src/sam/system_sam_d21_da1.c)
list(APPEND local_list_include common/syscalls.c)
endif()

3 changes: 3 additions & 0 deletions ARM/gcc_clang/cmake/sam/delays/atsam_d21_da1.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(${MCU_NAME} MATCHES "^ATSAMD21E15$|^ATSAMD21E15L$|^ATSAMD21E16$|^ATSAMD21E16L$|^ATSAMD21E17$|^ATSAMD21E17L$|^ATSAMD21E18$|^ATSAMD21G15$|^ATSAMD21G16$|^ATSAMD21G16L$|^ATSAMD21G17$|^ATSAMD21G17L$|^ATSAMD21G18$|^ATSAMD21J15$|^ATSAMD21J16$|^ATSAMD21J17$|^ATSAMD21J18$|^ATSAMDA1E15B$|^ATSAMDA1E16B$|^ATSAMDA1G14B$|^ATSAMDA1G16B$|^ATSAMDA1J14B$|^ATSAMDA1J15B$")
list(APPEND local_list_macros "getClockValue(_clock) (_clock/1000UL/4)")
endif()
Loading

0 comments on commit 7c0dc83

Please sign in to comment.