1{
2  "name": "haas100",
3  "version": "1.0.0",
4  "io": {
5    "ADC0": {
6      "type": "ADC",
7      "port": 0,
8      "sampling": 12000000
9    },
10    "oled_i2c": {
11      "type": "I2C",
12      "port": 1,
13      "addrWidth": 7,
14      "freq": 100000,
15      "mode": "master",
16      "devAddr": 60
17    },
18    "pca9544": {
19      "type": "I2C",
20      "port": 1,
21      "addrWidth": 8,
22      "freq": 100000,
23      "mode": "master",
24      "devAddr": 112
25    },
26    "mpu6050": {
27      "type": "I2C",
28      "port": 1,
29      "addrWidth": 7,
30      "freq": 100000,
31      "mode": "master",
32      "devAddr": 105
33    },
34    "ap3216c": {
35      "type": "I2C",
36      "port": 1,
37      "addrWidth": 7,
38      "freq": 100000,
39      "mode": "master",
40      "devAddr": 30
41    },
42    "si7006": {
43      "type": "I2C",
44      "port": 1,
45      "addrWidth": 7,
46      "freq": 400000,
47      "mode": "master",
48      "devAddr": 64
49    },
50    "spl06": {
51      "type": "I2C",
52      "port": 1,
53      "addrWidth": 7,
54      "freq": 400000,
55      "mode": "master",
56      "devAddr": 119
57    },
58    "qmc5883": {
59      "type": "I2C",
60      "port": 1,
61      "addrWidth": 7,
62      "freq": 400000,
63      "mode": "master",
64      "devAddr": 13
65    },
66    "GPIO23": {
67      "type": "GPIO",
68      "port": 23,
69      "dir": "irq",
70      "pull": "pullup",
71      "intMode": "rising"
72    },
73    "led0": {
74      "type": "GPIO",
75      "port": 34,
76      "dir": "output",
77      "pull": "pullup"
78    },
79    "led1": {
80      "type": "GPIO",
81      "port": 34,
82      "dir": "output",
83      "pull": "pullup"
84    },
85    "led2": {
86      "type": "GPIO",
87      "port": 35,
88      "dir": "output",
89      "pull": "pullup"
90    },
91    "led3": {
92      "type": "GPIO",
93      "port": 36,
94      "dir": "output",
95      "pull": "pullup"
96    },
97    "led_r": {
98      "type": "GPIO",
99      "port": 36,
100      "dir": "output",
101      "pull": "pullup"
102    },
103    "led_g": {
104      "type": "GPIO",
105      "port": 35,
106      "dir": "output",
107      "pull": "pullup"
108    },
109    "led_b": {
110      "type": "GPIO",
111      "port": 34,
112      "dir": "output",
113      "pull": "pullup"
114    },
115    "pwm0": {
116      "type": "PWM",
117      "port": 0
118    },
119    "pwm1": {
120      "type": "PWM",
121      "port": 1
122    },
123    "pwm2": {
124      "type": "PWM",
125      "port": 2
126    },
127    "pwm3": {
128      "type": "PWM",
129      "port": 3
130    },
131    "SPI0": {
132      "type": "SPI",
133      "port": 0,
134      "mode": "master",
135      "freq": 2000000,
136      "polPha": 3
137    },
138    "SPI1": {
139      "type": "SPI",
140      "port": 1,
141      "mode": "master",
142      "freq": 26000000,
143      "polPha": 3
144    },
145    "oled_dc": {
146      "type": "GPIO",
147      "port": 28,
148      "dir": "output",
149      "pull": "pullup"
150    },
151    "oled_res": {
152      "type": "GPIO",
153      "port": 30,
154      "dir": "output",
155      "pull": "pullup"
156    },
157    "serial1": {
158      "type": "UART",
159      "port": 0,
160      "dataWidth": 8,
161      "baudRate": 115200,
162      "stopBits": 1,
163      "flowControl": "disable",
164      "parity": "none"
165    },
166    "serial2": {
167      "type": "UART",
168      "port": 2,
169      "dataWidth": 8,
170      "baudRate": 115200,
171      "stopBits": 1,
172      "flowControl": "disable",
173      "parity": "none"
174    }
175  },
176  "debugLevel": "ERROR",
177  "repl": "disable"
178}