File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ // +build particle_xenon
2+
3+ package machine
4+
5+ const HasLowFrequencyCrystal = true
6+
7+ // LEDs on the XENON
8+ const (
9+ LED Pin = 44
10+ LED_GREEN Pin = 14
11+ LED_RED Pin = 13
12+ LED_BLUE Pin = 15
13+ )
14+
15+ // UART pins
16+ const (
17+ UART_TX_PIN Pin = 6
18+ UART_RX_PIN Pin = 8
19+ )
20+
21+ // I2C pins
22+ const (
23+ SDA_PIN = 26
24+ SCL_PIN = 27
25+ )
26+
27+ // SPI pins
28+ const (
29+ SPI0_SCK_PIN = 47
30+ SPI0_MOSI_PIN = 45
31+ SPI0_MISO_PIN = 46
32+ )
33+
34+ // Other periferals
35+ const (
36+ MODE_BUTTON = 11
37+ CHARGE_STATUS = 41
38+ LIPO_VOLTAGE = 5
39+ PCB_ANTENNA = 24
40+ EXTERNAL_UFL = 25
41+ NFC1 = 9
42+ NFC2 = 10
43+ )
Original file line number Diff line number Diff line change 1+ {
2+ "inherits" : [" nrf52840_mdk" ],
3+ "build-tags" : [" particle_xenon" ],
4+ "flash-method" : " openocd" ,
5+ "openocd-interface" : " cmsis-dap"
6+ }
You can’t perform that action at this time.
0 commit comments