Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
board.h
Go to the documentation of this file.
1
/*
2
ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio
3
4
Licensed under the Apache License, Version 2.0 (the "License");
5
you may not use this file except in compliance with the License.
6
You may obtain a copy of the License at
7
8
http://www.apache.org/licenses/LICENSE-2.0
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
*/
16
17
#ifndef _BOARD_H_
18
#define _BOARD_H_
19
20
/*
21
* Setup for STMicroelectronics STM32F1-Lia.
22
*/
23
24
/*
25
* Board identifier.
26
*/
27
#define BOARD_LIA_STM32F105RC
28
#define BOARD_NAME "Lia 1.1 STM32F105RC"
29
30
/*
31
* Board oscillators-related settings.
32
* NOTE: LSE not fitted.
33
*/
34
#if !defined(STM32_LSECLK)
35
#define STM32_LSECLK 0
36
#endif
37
38
#if !defined(STM32_HSECLK)
39
#define STM32_HSECLK 12000000
40
#endif
41
42
43
/*
44
* Board voltages.
45
* Required for performance limits calculation.
46
*/
47
#define STM32_VDD 330
48
49
/*
50
* MCU type as defined in the ST header file stm32f4xx.h.
51
*/
52
#define STM32F105xC
53
54
55
/*
56
* I/O ports initial setup, this configuration is established soon after reset
57
* in the initialization code.
58
*
59
* The digits have the following meaning:
60
* 0 - Analog input.
61
* 1 - Push Pull output 10MHz.
62
* 2 - Push Pull output 2MHz.
63
* 3 - Push Pull output 50MHz.
64
* 4 - Digital input.
65
* 5 - Open Drain output 10MHz.
66
* 6 - Open Drain output 2MHz.
67
* 7 - Open Drain output 50MHz.
68
* 8 - Digital input with PullUp or PullDown resistor depending on ODR.
69
* 9 - Alternate Push Pull output 10MHz.
70
* A - Alternate Push Pull output 2MHz.
71
* B - Alternate Push Pull output 50MHz.
72
* C - Reserved.
73
* D - Alternate Open Drain output 10MHz.
74
* E - Alternate Open Drain output 2MHz.
75
* F - Alternate Open Drain output 50MHz.
76
* Please refer to the STM32 Reference Manual for details.
77
*/
78
79
/*
80
* Port A setup.
81
* PA0 - 4 - Digital input (PPM_IN)
82
* - B - Alternate Push Pull output 50MHz (SERVO5)
83
* PA1 - B - Alternate Push Pull output 50MHz (SERVO6)
84
* PA2 - B - Alternate Push Pull output 50MHz (UART2_TX)
85
* PA3 - 4 - Digital input (UART2_RX)
86
* PA4 - B - Alternate Push Pull output 50MHz (EXTSPI_SS)
87
* PA5 - B - Alternate Push Pull output 50MHz (EXTSPI_SCK)
88
* PA6 - 4 - Digital input. (EXTSPI_MISO)
89
* PA7 - B - Alternate Push Pull output 50MHz (EXTSPI_MOSI)
90
* PA8 - 7 - Open Drain output 50MHz (LED1)
91
* PA9 - 4 - Digital input. (USB_VBUS)
92
* PA10 - 4 - Digital input. (UART1_RX)/(PPM_IN TIM2_CH2)
93
* PA11 - 4 - Digital input (USB_DM)
94
* PA12 - 4 - Digital input (USB_DP)
95
* PA13 - 4 - Digital input (JTAG_TMS)
96
* PA14 - 4 - Digital input (JTAG_TCK)
97
* PA15 - 4 - Digital input (JTAG_TDI)
98
*/
99
#define VAL_GPIOACRL 0xB4BB4BBB
/* PA7...PA0 */
100
#define VAL_GPIOACRH 0x44444447
/* PA15...PA8 */
101
#define VAL_GPIOAODR 0xFFFFFFFF
102
103
/*
104
* Port B setup:
105
* PB0 - 4 - Digital input (BARO_DRDY)
106
* PB1 - 4 - Digital input (EXTSPI_DRDY)
107
* PB2 - 4 - Digital input (IMU_ACC_DRDY)
108
* PB3 - 4 - Digital input (JTAG_TDO)
109
* PB4 - 7 - Open Drain output 50MHz (LED2)
110
* PB5 - 4 - Digital input (IMU_MAG_DRDY)
111
* PB6 - B - Alternate Push Pull output 50MHz (SERVO7)
112
* - 7 - Open Drain output 50MHz. (I2C1_SCL)
113
* PB7 - B - Alternate Push Pull output 50MHz (SERVO8)
114
* - 7 - Open Drain output 50MHz. (I2C1_SDA)
115
* PB8 - 4 - Digital input. (CAN_RX)
116
* PB9 - 7 - Open Drain output 50MHz. (CAN_TX)
117
* PB10 - E - Alternate Open Drain output 2MHz.(I2C2_SCL)
118
* PB11 - E - Alternate Open Drain output 2MHz.(I2C2_SDA)
119
* PB12 - 3 - Push Pull output 50MHz. (IMU_ACC_CS)
120
* PB13 - B - Alternate Push Pull output 50MHz (IMU_SPI_SCK)
121
* PB14 - 4 - Digital input (IMU_SPI_MISO)
122
* PB15 - B - Alternate Push Pull output 50MHz (IMU_SPI_MOSI)
123
*/
124
#define VAL_GPIOBCRL 0xBB474444
/* PB7...PB0 */
125
#define VAL_GPIOBCRH 0xB4B3EE74
/* PB15...PB8 */
126
#define VAL_GPIOBODR 0xFFFFFFFF
127
128
/*
129
* Port C setup:
130
* PC0 - 0 - Analog input (ADC2)
131
* PC1 - 0 - Analog input (ADC3)
132
* PC2 - 7 - Open Drain output 50MHz (LED3)
133
* PC3 - 0 - Analog input (ADC1)
134
* PC4 - 0 - Analog input (VBAT_MEAS)
135
* PC5 - 7 - Open Drain output 50MHz (LED4)
136
* PC6 - B - Alternate Push Pull output 50MHz (SERVO1)
137
* PC7 - B - Alternate Push Pull output 50MHz (SERVO2)
138
* PC8 - B - Alternate Push Pull output 50MHz (SERVO3)
139
* PC9 - B - Alternate Push Pull output 50MHz (SERVO4)
140
* PC10 - B - Alternate Push Pull output 50MHz (UART3_TX)
141
* PC11 - 4 - Digital input (UART3_RX)
142
* PC12 - B - Alternate Push Pull output 50MHz (PC12-UART5_TX)
143
* PC13 - 3 - Push Pull output 50MHz. (IMU_GYRO_SS)
144
* PC14 - 4 - Digital input (IMU_GYRO_DRDY)
145
* PC15 - 7 - Open Drain output 50MHz (LED5)
146
*/
147
#define VAL_GPIOCCRL 0xBB700700
/* PC7...PC0 */
148
#define VAL_GPIOCCRH 0x743B4BBB
/* PC15...PC8 */
149
#define VAL_GPIOCODR 0xFFFFFFFF
150
151
/*
152
* Port D setup:
153
* PD0 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (OSC_IN).
154
* PD1 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (OSC_OUT).
155
* PD2 - 4 - Digital input (UART5_RX).
156
* PD3 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
157
* PD4 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
158
* PD5 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
159
* PD6 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
160
* PD7 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
161
* PD8 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
162
* PD9 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
163
* PD10 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
164
* PD11 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
165
* PD12 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
166
* PD13 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
167
* PD14 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
168
* PD15 - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).
169
*/
170
#define VAL_GPIODCRL 0x88888488
/* PD7...PD0 */
171
#define VAL_GPIODCRH 0x88888888
/* PD15...PD8 */
172
#define VAL_GPIODODR 0xFFFFFFFF
173
174
/*
175
* Port E setup.
176
* ALL - 8 - Digital input with PullUp or PullDown resistor depending on ODR. (unconnected).)
177
*/
178
#define VAL_GPIOECRL 0x88888888
/* PE7...PE0 */
179
#define VAL_GPIOECRH 0x88888888
/* PE15...PE8 */
180
#define VAL_GPIOEODR 0xFFFFFFFF
181
182
183
/*
184
* AHB_CLK
185
*/
186
#define AHB_CLK STM32_HCLK
187
188
189
/*
190
* LEDs
191
*/
192
/* 1 red, on PA8 */
193
#ifndef USE_LED_1
194
#define USE_LED_1 1
195
#endif
196
#define LED_1_GPIO GPIOA
197
#define LED_1_GPIO_PIN 8
198
#define LED_1_GPIO_ON gpio_clear
199
#define LED_1_GPIO_OFF gpio_set
200
201
/* 2 green, shared with JTAG_TRST */
202
#ifndef USE_LED_2
203
#define USE_LED_2 1
204
#endif
205
#define LED_2_GPIO GPIOB
206
#define LED_2_GPIO_PIN 4
207
#define LED_2_GPIO_ON gpio_clear
208
#define LED_2_GPIO_OFF gpio_set
209
210
/* 3 green, shared with ADC12 (ADC_6 on connector ANALOG2) */
211
#ifndef USE_LED_3
212
#define USE_LED_3 1
213
#endif
214
#define LED_3_GPIO GPIOC
215
#define LED_3_GPIO_PIN 2
216
#define LED_3_GPIO_ON gpio_clear
217
#define LED_3_GPIO_OFF gpio_set
218
219
/* 4 red, shared with ADC15 (ADC_4 on connector ANALOG2) */
220
#ifndef USE_LED_4
221
#define USE_LED_4 1
222
#endif
223
#define LED_4_GPIO GPIOC
224
#define LED_4_GPIO_PIN 5
225
#define LED_4_GPIO_ON gpio_clear
226
#define LED_4_GPIO_OFF gpio_set
227
228
/* 5 green, on PC15 */
229
#ifndef USE_LED_5
230
#define USE_LED_5 0
231
#endif
232
#define LED_5_GPIO GPIOC
233
#define LED_5_GPIO_PIN 15
234
#define LED_5_GPIO_ON gpio_set
235
#define LED_5_GPIO_OFF gpio_clear
236
237
/*
238
* ADCs
239
*/
240
// AUX 1
241
#if USE_ADC_1
242
#define AD1_1_CHANNEL ADC_CHANNEL_IN13
243
#define ADC_1 AD1_1
244
#define ADC_1_GPIO_PORT GPIOC
245
#define ADC_1_GPIO_PIN GPIO3
246
#endif
247
248
// AUX 2
249
#if USE_ADC_2
250
#define AD1_2_CHANNEL ADC_CHANNEL_IN10
251
#define ADC_2 AD1_2
252
#define ADC_2_GPIO_PORT GPIOC
253
#define ADC_2_GPIO_PIN GPIO0
254
#endif
255
256
// AUX 3
257
#if USE_ADC_3
258
#define AD1_3_CHANNEL ADC_CHANNEL_IN11
259
#define ADC_3 AD1_3
260
#define ADC_3_GPIO_PORT GPIOC
261
#define ADC_3_GPIO_PIN GPIO1
262
#endif
263
264
// Internal ADC for battery enabled by default
265
#ifndef USE_ADC_4
266
#define USE_ADC_4 1
267
#endif
268
#if USE_ADC_4
269
#define AD1_4_CHANNEL ADC_CHANNEL_IN14
270
#define ADC_4 AD1_4
271
#define ADC_4_GPIO_PORT GPIOC
272
#define ADC_4_GPIO_PIN GPIO4
273
#endif
274
275
// Internal Temperature sensor enabled by default
276
#ifndef USE_ADC_5
277
#define USE_ADC_5 1
278
#define USE_ADC_SENSOR 1
279
#endif
280
#if USE_ADC_5
281
#define AD1_5_CHANNEL ADC_CHANNEL_SENSOR
282
#define ADC_5 AD1_5
283
#define ADC_5_GPIO_PORT GPIOC
284
#define ADC_5_GPIO_PIN GPIO4
285
#endif
286
287
288
289
/* allow to define ADC_CHANNEL_VSUPPLY in the airframe file*/
290
#ifndef ADC_CHANNEL_VSUPPLY
291
#define ADC_CHANNEL_VSUPPLY ADC_4
292
#endif
293
294
#define DefaultVoltageOfAdc(adc) (0.004489*adc)
295
296
/*
297
* PWM defines
298
*/
299
#ifndef USE_PWM0
300
#define USE_PWM0 1
301
#endif
302
#if USE_PWM0
303
#define PWM_SERVO_0 0
304
#define PWM_SERVO_0_GPIO GPIOC
305
#define PWM_SERVO_0_PIN GPIO6
306
#define PWM_SERVO_0_AF GPIO_AF2
307
#define PWM_SERVO_0_DRIVER PWMD3
308
#define PWM_SERVO_0_CHANNEL 0
309
#define PWM_SERVO_0_ACTIVE PWM_OUTPUT_ACTIVE_HIGH
310
#else
311
#define PWM_SERVO_0_ACTIVE PWM_OUTPUT_DISABLED
312
#endif
313
314
#ifndef USE_PWM1
315
#define USE_PWM1 1
316
#endif
317
#if USE_PWM1
318
#define PWM_SERVO_1 1
319
#define PWM_SERVO_1_GPIO GPIOC
320
#define PWM_SERVO_1_PIN GPIO7
321
#define PWM_SERVO_1_AF GPIO_AF1
322
#define PWM_SERVO_1_DRIVER PWMD3
323
#define PWM_SERVO_1_CHANNEL 1
324
#define PWM_SERVO_1_ACTIVE PWM_OUTPUT_ACTIVE_HIGH
325
#else
326
#define PWM_SERVO_1_ACTIVE PWM_OUTPUT_DISABLED
327
#endif
328
329
#ifndef USE_PWM2
330
#define USE_PWM2 1
331
#endif
332
#if USE_PWM2
333
#define PWM_SERVO_2 2
334
#define PWM_SERVO_2_GPIO GPIOC
335
#define PWM_SERVO_2_PIN GPIO8
336
#define PWM_SERVO_2_AF GPIO_AF2
337
#define PWM_SERVO_2_DRIVER PWMD3
338
#define PWM_SERVO_2_CHANNEL 2
339
#define PWM_SERVO_2_ACTIVE PWM_OUTPUT_ACTIVE_HIGH
340
#else
341
#define PWM_SERVO_2_ACTIVE PWM_OUTPUT_DISABLED
342
#endif
343
344
#ifndef USE_PWM3
345
#define USE_PWM3 1
346
#endif
347
#if USE_PWM3
348
#define PWM_SERVO_3 3
349
#define PWM_SERVO_3_GPIO GPIOC
350
#define PWM_SERVO_3_PIN GPIO9
351
#define PWM_SERVO_3_AF GPIO_AF2
352
#define PWM_SERVO_3_DRIVER PWMD3
353
#define PWM_SERVO_3_CHANNEL 3
354
#define PWM_SERVO_3_ACTIVE PWM_OUTPUT_ACTIVE_HIGH
355
#else
356
#define PWM_SERVO_3_ACTIVE PWM_OUTPUT_DISABLED
357
#endif
358
359
#ifndef USE_PWM4
360
#define USE_PWM4 1
361
#endif
362
#if USE_PWM4
363
#define PWM_SERVO_4 4
364
#define PWM_SERVO_4_GPIO GPIOA
365
#define PWM_SERVO_4_PIN GPIO0
366
#define PWM_SERVO_4_AF GPIO_AF2
367
#define PWM_SERVO_4_DRIVER PWMD5
368
#define PWM_SERVO_4_CHANNEL 0
369
#define PWM_SERVO_4_ACTIVE PWM_OUTPUT_ACTIVE_HIGH
370
#else
371
#define PWM_SERVO_4_ACTIVE PWM_OUTPUT_DISABLED
372
#endif
373
374
#ifndef USE_PWM5
375
#define USE_PWM5 1
376
#endif
377
#if USE_PWM5
378
#define PWM_SERVO_5 5
379
#define PWM_SERVO_5_GPIO GPIOA
380
#define PWM_SERVO_5_PIN GPIO1
381
#define PWM_SERVO_5_AF GPIO_AF2
382
#define PWM_SERVO_5_DRIVER PWMD5
383
#define PWM_SERVO_5_CHANNEL 1
384
#define PWM_SERVO_5_ACTIVE PWM_OUTPUT_ACTIVE_HIGH
385
#else
386
#define PWM_SERVO_5_ACTIVE PWM_OUTPUT_DISABLED
387
#endif
388
389
390
#if USE_SERVOS_7AND8
391
#if USE_I2C1
392
#error "You cannot USE_SERVOS_7AND8 and USE_I2C1 at the same time"
393
#else
/* !USE_I2C1 */
394
#if USE_PWM6
395
#define PWM_SERVO_6 6
396
#define PWM_SERVO_6_GPIO GPIOB
397
#define PWM_SERVO_6_PIN GPIO6
398
#define PWM_SERVO_6_AF GPIO_AF2
399
#define PWM_SERVO_6_DRIVER PWMD4
400
#define PWM_SERVO_6_CHANNEL 0
401
#define PWM_SERVO_6_ACTIVE PWM_OUTPUT_ACTIVE_HIGH
402
#else
403
#define PWM_SERVO_6_ACTIVE PWM_OUTPUT_DISABLED
404
#endif
405
406
#if USE_PWM7
407
#define PWM_SERVO_7 7
408
#define PWM_SERVO_7_GPIO GPIOB
409
#define PWM_SERVO_7_PIN GPIO7
410
#define PWM_SERVO_7_AF GPIO_AF2
411
#define PWM_SERVO_7_DRIVER PWMD4
412
#define PWM_SERVO_7_CHANNEL 1
413
#define PWM_SERVO_7_ACTIVE PWM_OUTPUT_ACTIVE_HIGH
414
#else
415
#define PWM_SERVO_7_ACTIVE PWM_OUTPUT_DISABLED
416
#endif
417
418
#define PWM_CONF_TIM3 1
419
#define PWM_CONF_TIM4 1
420
#define PWM_CONF_TIM5 1
421
#define PWM_CONF3_DEF { \
422
PWM_FREQUENCY, \
423
PWM_FREQUENCY/TIM3_SERVO_HZ, \
424
NULL, \
425
{ \
426
{PWM_SERVO_0_ACTIVE, NULL}, \
427
{PWM_SERVO_1_ACTIVE, NULL}, \
428
{PWM_SERVO_2_ACTIVE, NULL}, \
429
{PWM_SERVO_3_ACTIVE, NULL} \
430
}, \
431
0, \
432
0 \
433
}
434
#define PWM_CONF4_DEF { \
435
PWM_FREQUENCY, \
436
PWM_FREQUENCY/TIM4_SERVO_HZ, \
437
NULL, \
438
{ \
439
{PWM_SERVO_6_ACTIVE, NULL}, \
440
{PWM_SERVO_7_ACTIVE, NULL}, \
441
{PWM_OUTPUT_DISABLED, NULL}, \
442
{PWM_OUTPUT_DISABLED, NULL} \
443
}, \
444
0, \
445
0 \
446
}
447
#define PWM_CONF5_DEF { \
448
PWM_FREQUENCY, \
449
PWM_FREQUENCY/TIM5_SERVO_HZ, \
450
NULL, \
451
{ \
452
{PWM_SERVO_4_ACTIVE, NULL}, \
453
{PWM_SERVO_5_ACTIVE, NULL}, \
454
{PWM_OUTPUT_DISABLED, NULL}, \
455
{PWM_OUTPUT_DISABLED, NULL} \
456
}, \
457
0, \
458
0 \
459
}
460
#endif
/* USE_I2C1 */
461
#else
/* !USE_SERVOS_7AND8 */
462
#define PWM_CONF_TIM3 1
463
#define PWM_CONF_TIM5 1
464
#define PWM_CONF3_DEF { \
465
PWM_FREQUENCY, \
466
PWM_FREQUENCY/TIM3_SERVO_HZ, \
467
NULL, \
468
{ \
469
{PWM_SERVO_0_ACTIVE, NULL}, \
470
{PWM_SERVO_1_ACTIVE, NULL}, \
471
{PWM_SERVO_2_ACTIVE, NULL}, \
472
{PWM_SERVO_3_ACTIVE, NULL} \
473
}, \
474
0, \
475
0 \
476
}
477
#define PWM_CONF5_DEF { \
478
PWM_FREQUENCY, \
479
PWM_FREQUENCY/TIM5_SERVO_HZ, \
480
NULL, \
481
{ \
482
{PWM_SERVO_4_ACTIVE, NULL}, \
483
{PWM_SERVO_5_ACTIVE, NULL}, \
484
{PWM_OUTPUT_DISABLED, NULL}, \
485
{PWM_OUTPUT_DISABLED, NULL} \
486
}, \
487
0, \
488
0 \
489
}
490
#endif
/* USE_SERVOS_7AND8 */
491
492
496
#define RC_PPM_TICKS_PER_USEC 6
497
#define PPM_TIMER_FREQUENCY 6000000
498
#define PPM_CHANNEL ICU_CHANNEL_1
499
#define PPM_TIMER ICUD1
500
504
#define I2C1_CLOCK_SPEED 400000
505
#define I2C1_CFG_DEF { \
506
OPMODE_I2C, \
507
I2C1_CLOCK_SPEED, \
508
FAST_DUTY_CYCLE_2, \
509
}
510
511
#define I2C2_CLOCK_SPEED 400000
512
#define I2C2_CFG_DEF { \
513
OPMODE_I2C, \
514
I2C2_CLOCK_SPEED, \
515
FAST_DUTY_CYCLE_2, \
516
}
517
521
#define SPI_SELECT_SLAVE0_PORT GPIOA
522
#define SPI_SELECT_SLAVE0_PIN GPIO15
523
524
#define SPI_SELECT_SLAVE1_PORT GPIOA
525
#define SPI_SELECT_SLAVE1_PIN GPIO4
526
527
#define SPI_SELECT_SLAVE2_PORT GPIOB
528
#define SPI_SELECT_SLAVE2_PIN GPIO12
529
530
#define SPI_SELECT_SLAVE3_PORT GPIOC
531
#define SPI_SELECT_SLAVE3_PIN GPIO13
532
533
#define SPI_SELECT_SLAVE4_PORT GPIOC
534
#define SPI_SELECT_SLAVE4_PIN GPIO12
535
536
#define SPI_SELECT_SLAVE5_PORT GPIOC
537
#define SPI_SELECT_SLAVE5_PIN GPIO4
538
539
#define SPI1_GPIO_PORT_NSS GPIOA
540
#define SPI1_GPIO_NSS GPIO4
541
542
#define SPI2_GPIO_PORT_NSS GPIOB
543
#define SPI2_GPIO_NSS GPIO12
544
545
#define SPI3_GPIO_PORT_NSS GPIO
546
553
#ifndef USE_BARO_BOARD
554
#define USE_BARO_BOARD 1
555
#endif
556
557
/*
558
* Actuators for fixedwing
559
*/
560
/* Default actuators driver */
561
#define DEFAULT_ACTUATORS "subsystems/actuators/actuators_pwm.h"
562
#define ActuatorDefaultSet(_x,_y) ActuatorPwmSet(_x,_y)
563
#define ActuatorsDefaultInit() ActuatorsPwmInit()
564
#define ActuatorsDefaultCommit() ActuatorsPwmCommit()
565
566
#if !defined(_FROM_ASM_)
567
#ifdef __cplusplus
568
extern
"C"
{
569
#endif
570
void
boardInit
(
void
);
571
#ifdef __cplusplus
572
}
573
#endif
574
#endif
/* _FROM_ASM_ */
575
576
#endif
/* _BOARD_H_ */
boardInit
void boardInit(void)
Board-specific initialization code.
Definition:
board.c:261
sw
airborne
boards
lia
chibios
v1.1
board.h
Generated on Sat Feb 9 2019 07:05:36 for Paparazzi UAS by
1.8.8