1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-04-05 21:40:24 +02:00

[sam] fixing boards definitions

This commit is contained in:
Thibaut VIARD 2012-03-29 17:16:37 +02:00
parent 009bc1b722
commit 5b3580fe36
2 changed files with 13 additions and 27 deletions

View File

@ -5,7 +5,7 @@ arduino_due_u.upload.tool=bossac
arduino_due_u.upload.protocol=sam-ba arduino_due_u.upload.protocol=sam-ba
arduino_due_u.upload.maximum_size=49152 arduino_due_u.upload.maximum_size=49152
arduino_due_u.build.mcu=cortex-m3 arduino_due_u.build.mcu=cortex-m3
arduino_due_u.build.f_cpu=84000000L arduino_due_u.build.f_cpu=96000000L
arduino_due_u.build.core=sam arduino_due_u.build.core=sam
arduino_due_u.build.extra_flags=-D__SAM3U4E__ -mthumb arduino_due_u.build.extra_flags=-D__SAM3U4E__ -mthumb
arduino_due_u.build.ldscript=linker_scripts/gcc/flash.ld arduino_due_u.build.ldscript=linker_scripts/gcc/flash.ld
@ -19,7 +19,7 @@ arduino_due_x.upload.tool=bossac
arduino_due_x.upload.protocol=sam-ba arduino_due_x.upload.protocol=sam-ba
arduino_due_x.upload.maximum_size=49152 arduino_due_x.upload.maximum_size=49152
arduino_due_x.build.mcu=cortex-m3 arduino_due_x.build.mcu=cortex-m3
arduino_due_x.build.f_cpu=96000000L arduino_due_x.build.f_cpu=84000000L
arduino_due_x.build.core=sam arduino_due_x.build.core=sam
arduino_due_x.build.extra_flags=-D__SAM3X8E__ -mthumb arduino_due_x.build.extra_flags=-D__SAM3X8E__ -mthumb
arduino_due_x.build.ldscript=linker_scripts/gcc/flash.ld arduino_due_x.build.ldscript=linker_scripts/gcc/flash.ld

View File

@ -1,27 +1,13 @@
############################################################## ##############################################################
arduino_due_u.name=Arduino DueU Dev. Ed. adk2.name=Google ADK2
arduino_due_u.upload.tool=bossac adk2.upload.tool=bossac
arduino_due_u.upload.protocol=sam-ba adk2.upload.protocol=sam-ba
arduino_due_u.upload.maximum_size=49152 adk2.upload.maximum_size=49152
arduino_due_u.build.mcu=cortex-m3 adk2.build.mcu=cortex-m3
arduino_due_u.build.f_cpu=84000000L adk2.build.f_cpu=84000000L
arduino_due_u.build.core=sam adk2.build.core=sam
arduino_due_u.build.extra_flags=-D__SAM3U4E__ -mthumb adk2.build.extra_flags=-D__SAM3X8E__ -mthumb
arduino_due_u.build.ldscript=linker_scripts/gcc/flash.ld adk2.build.ldscript=linker_scripts/gcc/flash.ld
arduino_due_u.build.variant=arduino_due_u adk2.build.variant=adk2
arduino_due_u.build.variant_system_lib=libsam_sam3u4e_gcc_rel.a adk2.build.variant_system_lib=libsam_sam3x8e_gcc_rel.a
##############################################################
arduino_due_x.name=Arduino DueX Dev. Ed.
arduino_due_x.upload.tool=bossac
arduino_due_x.upload.protocol=sam-ba
arduino_due_x.upload.maximum_size=49152
arduino_due_x.build.mcu=cortex-m3
arduino_due_x.build.f_cpu=96000000L
arduino_due_x.build.core=sam
arduino_due_x.build.extra_flags=-D__SAM3X8E__ -mthumb
arduino_due_x.build.ldscript=linker_scripts/gcc/flash.ld
arduino_due_x.build.variant=arduino_due_x
arduino_due_x.build.variant_system_lib=libsam_sam3x8e_gcc_rel.a