Appiko
bluey_1v1.h
1 
28 #ifndef PLATFORM_BLUEY_1V1
29 #define PLATFORM_BLUEY_1V1
30 
36 #define LED_RED 19
37 #define LED_GREEN 18
38 #define LED_BLUE 17
39 
40 #define LED_1 17
41 #define LED_2 18
42 #define LED_3 19
43 
44 #define LEDS_ACTIVE_STATE 0
45 
50 #define BUTTON_1 16
51 
52 #define BUTTONS_ACTIVE_STATE 0
53 
54 #define BUTTON_PULL NRF_GPIO_PIN_PULLUP
55 
60 #define RX_PIN_NUMBER 8
61 #define TX_PIN_NUMBER 6
62 #define CTS_PIN_NUMBER 7
63 #define RTS_PIN_NUMBER 5
64 
65 #define HWFC false
66 
73 #define SDA_PIN 13
74 #define SCL_PIN 11
75 
80 #define HDC1010_DRDYN_PIN 12
82 #define HDC1010_ADRS 0x40
83 
88 #define APDS9300_INT_PIN 14
89 #define APDS9300_ADRS 0x39
90 
95 #define LSM6DS3_INT1_PIN 15
96 #define LSM6DS3_INT2_PIN 20
97 #define LSM6DS3_ADRS 0x6A
98 
103 #define MICROSD_CS_PIN 22
104 #define MICROSD_DI_PIN 23
105 #define MICROSD_DO_PIN 24
106 #define MICROSD_CLK_PIN 25
107 
109 #define DC_DC_CIRCUITRY true
111 
113 #define NFC_CIRCUITRY true
114 
116 #define LFCLK_XTAL_PRESENT true
117 
119 #define HFCLK_XTAL_PRESENT true
120 
122 #define BOARD_LFCLKSRC_STRUCT {.source = NRF_CLOCK_LF_SRC_XTAL, \
123  .rc_ctiv = 0, \
124  .rc_temp_ctiv = 0, \
125  .accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM}
126 
127 #define BOARD_LFCLKSRC NRF_CLOCK_LFCLK_Xtal
128 
129 #endif /* PLATFORM_BLUEY_1V1 */
130