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