mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 19:40:27 +09:00
sam3: Add support for sam4s8c chips
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -19,6 +19,8 @@ choice
|
||||
prompt "Processor model"
|
||||
config MACH_SAM3X8E
|
||||
bool "SAM3x8e (Arduino Due)"
|
||||
config MACH_SAM4S8C
|
||||
bool "SAM4s8c (Duet Maestro)"
|
||||
config MACH_SAM4E8E
|
||||
bool "SAM4e8e (Duet Wifi/Eth)"
|
||||
endchoice
|
||||
@@ -26,11 +28,13 @@ endchoice
|
||||
config MCU
|
||||
string
|
||||
default "sam3x8e" if MACH_SAM3X8E
|
||||
default "sam4s8c" if MACH_SAM4S8C
|
||||
default "sam4e8e" if MACH_SAM4E8E
|
||||
|
||||
config CLOCK_FREQ
|
||||
int
|
||||
default 42000000 if MACH_SAM3X8E # 84000000/2
|
||||
default 15000000 if MACH_SAM4S8C # 120000000/8
|
||||
default 60000000 if MACH_SAM4E8E # 120000000/2
|
||||
|
||||
config SERIAL
|
||||
|
||||
Reference in New Issue
Block a user