Skip to content

Commit

Permalink
Merge pull request #4 from tannewt/master
Browse files Browse the repository at this point in the history
Add board.mk files for every board.
  • Loading branch information
dhalbert authored Nov 15, 2017
2 parents 2c60694 + 98e0386 commit 7edd0ac
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 21 deletions.
2 changes: 2 additions & 0 deletions boards/circuitplay_m0/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
1 change: 0 additions & 1 deletion boards/circuitplay_m0/board_config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21G18A__ 1
#define CRYSTALLESS 1

#define VENDOR_NAME "Adafruit Industries"
Expand Down
2 changes: 2 additions & 0 deletions boards/feather_m0/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
2 changes: 0 additions & 2 deletions boards/feather_m0/board_config.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21G18A__ 1

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Feather M0"
#define VOLUME_LABEL "FEATHERBOOT"
Expand Down
2 changes: 2 additions & 0 deletions boards/gemma_m0/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21E18A
2 changes: 0 additions & 2 deletions boards/gemma_m0/board_config.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21E18A__ 1
//#define __SAMD21G18A__ 1
#define CRYSTALLESS 1

#define VENDOR_NAME "Adafruit Industries"
Expand Down
2 changes: 2 additions & 0 deletions boards/generic/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
4 changes: 1 addition & 3 deletions boards/metro_m4/board.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
CHIP_FAMILY = samd51
# We target the smallest flash/ram variants of the SAMD51 so we apply to all of
# them.
CHIP_VARIANT = SAMD51J18A
CHIP_VARIANT = SAMD51J19A
6 changes: 2 additions & 4 deletions boards/metro_m4/board_config.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21J19A__ 1

#define VENDOR_NAME "Adafruit Industries"
#define PRODUCT_NAME "Metro M4"
#define VOLUME_LABEL "METROM4BOOT"
#define INDEX_URL "http://adafru.it/3505"
#define BOARD_ID "SAMD21G19A-Metro-v0"
#define BOARD_ID "SAMD51J19A-Metro-v0"

#define USB_VID 0x239A
#define USB_PID 0x0013
#define USB_PID 0x0021

#define LED_PIN PIN_PA21
#define LED_TX_PIN PIN_PA27
Expand Down
2 changes: 2 additions & 0 deletions boards/mkr1000/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
2 changes: 0 additions & 2 deletions boards/mkr1000/board_config.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21G18A__ 1

#define VENDOR_NAME "Arduino LLC"
#define PRODUCT_NAME "Arduino MKR1000"
#define VOLUME_LABEL "MKR1000"
Expand Down
2 changes: 2 additions & 0 deletions boards/sparkfun-samd21-dev/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
2 changes: 0 additions & 2 deletions boards/sparkfun-samd21-dev/board_config.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21G18A__ 1

#define VENDOR_NAME "Sparkfun"
#define PRODUCT_NAME "SAMD21 Dev Breakout"
#define VOLUME_LABEL "SPARKFUN"
Expand Down
2 changes: 2 additions & 0 deletions boards/sparkfun-samd21-mini/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
2 changes: 0 additions & 2 deletions boards/sparkfun-samd21-mini/board_config.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21G18A__ 1

#define VENDOR_NAME "Sparkfun"
#define PRODUCT_NAME "SAMD21 Mini Breakout"
#define VOLUME_LABEL "SPARKFUN"
Expand Down
2 changes: 2 additions & 0 deletions boards/trinket_m0/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21E18A
1 change: 0 additions & 1 deletion boards/trinket_m0/board_config.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21E18A__ 1
#define CRYSTALLESS 1

#define VENDOR_NAME "Adafruit Industries"
Expand Down
2 changes: 2 additions & 0 deletions boards/zero/board.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHIP_FAMILY = samd21
CHIP_VARIANT = SAMD21G18A
2 changes: 0 additions & 2 deletions boards/zero/board_config.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H

#define __SAMD21G18A__ 1

#define VENDOR_NAME "Arduino LLC"
#define PRODUCT_NAME "Arduino Zero"
#define VOLUME_LABEL "ARDUINO-M0"
Expand Down

0 comments on commit 7edd0ac

Please sign in to comment.