Skip to content

Commit

Permalink
Merge pull request #61 from MikroElektronika/atsam-v71-v70-s70-e70/vl…
Browse files Browse the repository at this point in the history
…adimir.cvetkovic

atsam-v71-v70-s70-e70/vladimir.cvetkovic
  • Loading branch information
StrahinjaJacimovic authored Jun 17, 2024
2 parents 9de5853 + 9a3e209 commit 8c13a41
Show file tree
Hide file tree
Showing 86 changed files with 42,826 additions and 0 deletions.
126 changes: 126 additions & 0 deletions ARM/gcc_clang/cmake/sam/atsam_v71_v70_s70_e70.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
if(${MCU_NAME} MATCHES "^ATSAMV71J21$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71j21.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71J21B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71j21b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71J19$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71j19.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71J19B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71j19b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71N19$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71n19.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71N19B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71n19b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71Q20$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71q20.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71Q20B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71q20b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71Q21$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71q21.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71Q21B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71q21b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71Q19$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71q19.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71Q19B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71q19b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71N20$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71n20.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71N20B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71n20b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71N21$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71n21.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71N21B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71n21b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71J20$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71j20.c)
list(APPEND local_list_include common/syscalls.c)
endif()

if(${MCU_NAME} MATCHES "^ATSAMV71J20B$")
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/atsam_v71_v70_s70_e70/thirdparty/system_samv71j20b.c)
list(APPEND local_list_include common/syscalls.c)
endif()

3 changes: 3 additions & 0 deletions ARM/gcc_clang/cmake/sam/delays/atsam_v71_v70_s70_e70.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(${MCU_NAME} MATCHES "^ATSAMV71(J|N|Q)(19|20|21)(A|B)?$")
list(APPEND local_list_macros "getClockValue(_clock) ((_clock*2)/1000UL/3)")
endif()
6 changes: 6 additions & 0 deletions ARM/gcc_clang/def/ATSAMV71J19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"core": "M7",
"delay_src_path": "delays/m7/__lib_delays.c",
"mcu": "ATSAMV71J19",
"clock": 1
}
6 changes: 6 additions & 0 deletions ARM/gcc_clang/def/ATSAMV71J20.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"core": "M7",
"delay_src_path": "delays/m7/__lib_delays.c",
"mcu": "ATSAMV71J20",
"clock": 1
}
6 changes: 6 additions & 0 deletions ARM/gcc_clang/def/ATSAMV71J21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"core": "M7",
"delay_src_path": "delays/m7/__lib_delays.c",
"mcu": "ATSAMV71J21",
"clock": 1
}
6 changes: 6 additions & 0 deletions ARM/gcc_clang/def/ATSAMV71N19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"core": "M7",
"delay_src_path": "delays/m7/__lib_delays.c",
"mcu": "ATSAMV71N19",
"clock": 1
}
6 changes: 6 additions & 0 deletions ARM/gcc_clang/def/ATSAMV71N20.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"core": "M7",
"delay_src_path": "delays/m7/__lib_delays.c",
"mcu": "ATSAMV71N20",
"clock": 1
}
6 changes: 6 additions & 0 deletions ARM/gcc_clang/def/ATSAMV71N21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"core": "M7",
"delay_src_path": "delays/m7/__lib_delays.c",
"mcu": "ATSAMV71N21",
"clock": 1
}
6 changes: 6 additions & 0 deletions ARM/gcc_clang/def/ATSAMV71Q19.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"core": "M7",
"delay_src_path": "delays/m7/__lib_delays.c",
"mcu": "ATSAMV71Q19",
"clock": 1
}
6 changes: 6 additions & 0 deletions ARM/gcc_clang/def/ATSAMV71Q20.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"core": "M7",
"delay_src_path": "delays/m7/__lib_delays.c",
"mcu": "ATSAMV71Q20",
"clock": 1
}
Loading

0 comments on commit 8c13a41

Please sign in to comment.