machine: split board definitions in separate files

This commit is contained in:
Ayke van Laethem
2018-09-22 15:41:52 +02:00
parent 2c21925f4c
commit 8f5bd81bf5
6 changed files with 45 additions and 35 deletions
+21
View File
@@ -0,0 +1,21 @@
// +build nrf,pca10040
package machine
// LEDs on the PCA10040 (nRF52832 dev board)
const (
LED = LED1
LED1 = 17
LED2 = 18
LED3 = 19
LED4 = 20
)
// Buttons on the PCA10040 (nRF52832 dev board)
const (
BUTTON = BUTTON1
BUTTON1 = 13
BUTTON2 = 14
BUTTON3 = 15
BUTTON4 = 16
)