Skip to content

Commit

Permalink
atsamd: Add Kconfig definition for SAME51N19 chip
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Connor <[email protected]>
  • Loading branch information
KevinOConnor committed Oct 28, 2024
1 parent a796ca5 commit 89d94dd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/atsamd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ choice
config MACH_SAME51J19
bool "SAME51J19"
select MACH_SAME51
config MACH_SAME51N19
bool "SAME51N19"
select MACH_SAME51
config MACH_SAME54P20
bool "SAME54P20"
select MACH_SAME54
Expand Down Expand Up @@ -100,13 +103,14 @@ config MCU
default "samd51n19a" if MACH_SAMD51N19
default "samd51p20a" if MACH_SAMD51P20
default "same51j19a" if MACH_SAME51J19
default "same51n19a" if MACH_SAME51N19
default "same54p20a" if MACH_SAME54P20

config FLASH_SIZE
hex
default 0x8000 if MACH_SAMD21E15
default 0x40000 if MACH_SAMC21G18 || MACH_SAMD21G18 || MACH_SAMD21E18 || MACH_SAMD21J18
default 0x80000 if MACH_SAMD51G19 || MACH_SAMD51J19 || MACH_SAMD51N19 || MACH_SAME51J19
default 0x80000 if MACH_SAMD51G19 || MACH_SAMD51J19 || MACH_SAMD51N19 || MACH_SAME51J19 || MACH_SAME51N19
default 0x100000 if MACH_SAMD51P20 || MACH_SAME54P20

config FLASH_BOOT_ADDRESS
Expand All @@ -121,7 +125,7 @@ config RAM_SIZE
hex
default 0x1000 if MACH_SAMD21E15
default 0x8000 if MACH_SAMC21G18 || MACH_SAMD21G18 || MACH_SAMD21E18 || MACH_SAMD21J18
default 0x30000 if MACH_SAMD51G19 || MACH_SAMD51J19 || MACH_SAMD51N19 || MACH_SAME51J19
default 0x30000 if MACH_SAMD51G19 || MACH_SAMD51J19 || MACH_SAMD51N19 || MACH_SAME51J19 || MACH_SAME51N19
default 0x40000 if MACH_SAMD51P20 || MACH_SAME54P20

config STACK_SIZE
Expand Down

0 comments on commit 89d94dd

Please sign in to comment.