Back to home page

LXR

 
 

    


Warning, /spec/build/bsps/arm/atsam/optchip.yml is written in an unsupported language. File is not indexed.

0001 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
0002 actions:
0003 - get-string: null
0004 - script: |
0005     c = ("__SAMV71Q21__", 0x00200000, 0x00060000)
0006     chips = {
0007         "same70j19": ("__SAME70J19__", 0x00080000, 0x00040000),
0008         "same70j20": ("__SAME70J20__", 0x00100000, 0x00060000),
0009         "same70j21": ("__SAME70J21__", 0x00200000, 0x00060000),
0010         "same70n19": ("__SAME70N19__", 0x00080000, 0x00040000),
0011         "same70n20": ("__SAME70N20__", 0x00100000, 0x00060000),
0012         "same70n21": ("__SAME70N21__", 0x00200000, 0x00060000),
0013         "same70q19": ("__SAME70Q19__", 0x00080000, 0x00040000),
0014         "same70q20": ("__SAME70Q20__", 0x00100000, 0x00060000),
0015         "same70q21": ("__SAME70Q21__", 0x00200000, 0x00060000),
0016         "sams70j19": ("__SAMS70J19__", 0x00080000, 0x00040000),
0017         "sams70j20": ("__SAMS70J20__", 0x00100000, 0x00060000),
0018         "sams70j21": ("__SAMS70J21__", 0x00200000, 0x00060000),
0019         "sams70n19": ("__SAMS70N19__", 0x00080000, 0x00040000),
0020         "sams70n20": ("__SAMS70N20__", 0x00100000, 0x00060000),
0021         "sams70n21": ("__SAMS70N21__", 0x00200000, 0x00060000),
0022         "sams70q19": ("__SAMS70Q19__", 0x00080000, 0x00040000),
0023         "sams70q20": ("__SAMS70Q20__", 0x00100000, 0x00060000),
0024         "sams70q21": ("__SAMS70Q21__", 0x00200000, 0x00060000),
0025         "samv71j19": ("__SAMV71J19__", 0x00080000, 0x00040000),
0026         "samv71j20": ("__SAMV71J20__", 0x00100000, 0x00060000),
0027         "samv71j21": ("__SAMV71J21__", 0x00200000, 0x00060000),
0028         "samv71n19": ("__SAMV71N19__", 0x00080000, 0x00040000),
0029         "samv71n20": ("__SAMV71N20__", 0x00100000, 0x00060000),
0030         "samv71n21": ("__SAMV71N21__", 0x00200000, 0x00060000),
0031         "samv71q19": ("__SAMV71Q19__", 0x00080000, 0x00040000),
0032         "samv71q20": ("__SAMV71Q20__", 0x00100000, 0x00060000),
0033         "samv71q21": c,
0034     }
0035     if value:
0036         try:
0037             c = chips[value]
0038         except:
0039             conf.fatal("Unkown chip variant '{}'".format(value))
0040     conf.define_cond(c[0], True)
0041     conf.env["ATSAM_MEMORY_INTFLASH_SIZE"] = c[1]
0042     conf.env["ATSAM_MEMORY_INTSRAM_SIZE"] = c[2]
0043 build-type: option
0044 copyrights:
0045 - Copyright (C) 2020 embedded brains GmbH & Co. KG
0046 default:
0047 - enabled-by: true
0048   value: samv71q21
0049 description: |
0050   Chip variant
0051 enabled-by: true
0052 format: '{}'
0053 links: []
0054 name: ATSAM_CHIP
0055 type: build