summaryrefslogtreecommitdiffstats
blob: d048b5b26038052ef84701c7050f4db1752f72ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/* HID Rev.B */
#define HID_PORT GPIO_PORT_P6
#define LEDR     GPIO_PIN2
#define LEDG     GPIO_PIN3
#define BUTTON   GPIO_PIN1

/* Rev.A
#define LED_PORT GPIO_PORT_P8
#define LEDR    GPIO_PIN5
#define LEDG    GPIO_PIN6
#define BUTTON  GPIO_PIN7
*/


/* Power Control */
#define CTL_PWR_PORT     GPIO_PORT_P2
#define GPS_PWR_nEN_PIN  GPIO_PIN4
#define SSM_PWR_nEN_PIN  GPIO_PIN5


/* Debg UART */
#define UART_BAUD_115200
#define UART_PORT      GPIO_PORT_P1
#define UART_TX_PIN    GPIO_PIN3
#define UART_RX_PIN    GPIO_PIN2

/* Flash SPI */
#define FLASH_SPI_PORT       GPIO_PORT_P3
#define FLASH_SPI_CSN_PIN    GPIO_PIN0
#define FLASH_SPI_CLK_PIN    GPIO_PIN1
#define FLASH_SPI_MISO_PIN   GPIO_PIN2
#define FLASH_SPI_MOSI_PIN   GPIO_PIN3


/* CC2650 SPI */
#define CC2650_SPI_PORT      GPIO_PORT_P2
#define CC2650_SPI_CSN_PIN    GPIO_PIN0
#define CC2650_SPI_CLK_PIN   GPIO_PIN1
#define CC2650_SPI_MISO_PIN  GPIO_PIN2
#define CC2650_SPI_MOSI_PIN  GPIO_PIN3

#define CC2650_IRQ_PORT      GPIO_PORT_P4
#define CC2650_IRQ_PIN       GPIO_PIN0

/* On Board EEPROM 25xx256*/
#define EEPROM_SLAVE_ADDRESS 0x50


/* On Board Sensors */
#define IN219
#define OPT3001
#define HDC1080
#define BMP280
#define MPU9250
#define TMP007

#define Board_HDC1080_ADDR 0x40
#define Board_INA219_ADDR  0x41
#define Board_TMP007_ADDR  0x44
#define Board_OPT3001_ADDR 0x45
#define Board_MPU9250_ADDR 0x68
#define Board_BMP280_ADDR  0x77