Skip to content

Commit 4c37a27

Browse files
Huibeantridge
authored andcommitted
AP_HAL_ChibiOS:add vimdrones ap_periph pico and servo hub 4chp
1 parent 828c130 commit 4c37a27

16 files changed

+2826
-0
lines changed
20.3 KB
Binary file not shown.

Tools/bootloaders/VM-L431-Periph-Pico_bl.hex

Lines changed: 1303 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
20.3 KB
Binary file not shown.

Tools/bootloaders/VM-L431-SRV-Hub-4CHP_bl.hex

Lines changed: 1303 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
### VM-L431-Periph-Pico
2+
3+
Vimdrones AP_Periph Pico board to convert serial(GPS) and I2C(COMPASS/Air Speed) device in to Dronecan device.
4+
5+
#### Hardware Features
6+
7+
- STM32L431 microcontroller
8+
- CAN bus interface
9+
- 1 Telem with I2C
10+
- 1 Telem with Flow Control
11+
12+
#### Wiring Diagram
13+
14+
![Vimdrones AP_Periph Pico Wiring Diagram](vimdrones_ap_periph_pico_wiring.png)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FORMAT_VERSION 2
2+
CAN_NODE 0
3+
CAN_BAUDRATE 1000000
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ../VM-L431/hwdef-bl.inc
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
include ../VM-L431/hwdef.inc
2+
3+
define CAN_APP_NODE_NAME "com.vimdrones.periph_pico"
4+
SERIAL_ORDER EMPTY USART1 USART2
5+
PB6 USART1_TX USART1
6+
PB7 USART1_RX USART1
7+
PB4 USART1_CTS USART1
8+
PB3 USART1_RTS USART1
9+
10+
PA2 USART2_TX USART2
11+
PA3 USART2_RX USART2
12+
13+
# one I2C bus
14+
I2C_ORDER I2C1
15+
PA9 I2C1_SCL I2C1
16+
PA10 I2C1_SDA I2C1
17+
18+
define HAL_USE_ADC FALSE
19+
20+
# GPS / default enable
21+
define AP_PERIPH_GPS_ENABLED 1
22+
define GPS_MAX_RATE_MS 200
23+
24+
define GPS_MAX_RECEIVERS 1
25+
define GPS_MAX_INSTANCES 1
26+
27+
define HAL_PERIPH_GPS_PORT_DEFAULT 2
28+
29+
# Compass / default enable
30+
define AP_PERIPH_MAG_ENABLED 1
31+
define HAL_COMPASS_MAX_SENSORS 1
32+
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
33+
34+
define AP_PERIPH_SERIAL_OPTIONS_ENABLED 1
35+
36+
# Rangefinder
37+
define AP_PERIPH_RANGEFINDER_ENABLED 1
38+
# disable rangefinder by default
39+
define AP_PERIPH_RANGEFINDER_PORT_DEFAULT -1
40+
41+
# MSP
42+
define AP_PERIPH_MSP_ENABLED 1
43+
define HAL_MSP_ENABLED 1
44+
define AP_PERIPH_MSP_PORT_DEFAULT -1
45+
46+
# ADSB
47+
define AP_PERIPH_ADSB_ENABLED 1
48+
define HAL_PERIPH_ADSB_PORT_DEFAULT -1
49+
50+
# BARO
51+
define AP_PERIPH_BARO_ENABLED 1
52+
define BARO_MAX_INSTANCES 1
53+
54+
# bootloader embedding / bootloader flashing not available
55+
define AP_BOOTLOADER_FLASHING_ENABLED 0
Loading
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
### VM-L431-SRV-Hub-4CHP
2+
3+
Vimdrones CAN Servo Hub peripheral with 4 channels PWM output and 4 channel Servo VCC current measure (4CHP).
4+
5+
#### Hardware Features
6+
7+
- STM32L431 microcontroller
8+
- CAN bus interface
9+
- 4 PWM output channels
10+
- 4 ADC inputs for current sensing
11+
12+
#### Wiring Diagram
13+
14+
![Vimdrones CAN Servo Hub 4CHP Wiring Diagram](vimdrones_can_servo_hub_4chp_wiring.png)

0 commit comments

Comments
 (0)