-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwdef: Volanti custom CAN node boards
Added 9 different boards which are based on CarbonixF405 and have default. parm
- Loading branch information
Showing
27 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CAN_NODE 17 @READONLY | ||
OUT1_FUNCTION 61 @READONLY | ||
OUT1_REVERSED 0 @READONLY | ||
OUT2_FUNCTION 57 @READONLY | ||
OUT2_REVERSED 0 @READONLY | ||
COMPASS_ENABLE 1 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
undef HAL_PERIPH_ENABLE_ADSB | ||
undef HAL_PERIPH_ADSB_PORT_DEFAULT | ||
undef HAL_PERIPH_ADSB_BAUD_DEFAULT | ||
undef HAL_PERIPH_ENABLE_MAG | ||
|
||
define CAN_APP_NODE_NAME "CPN-17-Left-Tail" | ||
|
||
# default ADSB off by setting 0 baudrate | ||
define HAL_PERIPH_ENABLE_ADSB | ||
define HAL_PERIPH_ADSB_PORT_DEFAULT 3 | ||
define HAL_PERIPH_ADSB_BAUD_DEFAULT 57600 | ||
|
||
# enable Compass | ||
define HAL_PERIPH_ENABLE_MAG | ||
COMPASS QMC5883P I2C:0:0x2C false ROTATION_YAW_180 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CAN_NODE 26 @READONLY | ||
OUT1_FUNCTION 60 @READONLY | ||
OUT1_REVERSED 0 @READONLY | ||
OUT2_FUNCTION 59 @READONLY | ||
OUT2_MIN 200 @READONLY | ||
OUT2_MAX 10000 @READONLY | ||
OUT2_TRIM 5000 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
|
||
define CAN_APP_NODE_NAME "VOl-CPN-26-Left-Wing" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CAN_NODE 11 @READONLY | ||
OUT1_FUNCTION 33 @READONLY | ||
OUT1_MIN 1000 @READONLY | ||
OUT1_MAX 2000 @READONLY | ||
OUT1_TRIM 1000 @READONLY | ||
ESC_PWM_TYPE 1 @READONLY | ||
ESC_TELEM_PORT 1 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
undef HAL_WITH_ESC_TELEM | ||
|
||
define CAN_APP_NODE_NAME "VOl-CPN-11-Motor-1" | ||
|
||
# enable ESC control | ||
define HAL_WITH_ESC_TELEM 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CAN_NODE 12 @READONLY | ||
OUT1_FUNCTION 34 @READONLY | ||
OUT1_MIN 1000 @READONLY | ||
OUT1_MAX 2000 @READONLY | ||
OUT1_TRIM 1000 @READONLY | ||
ESC_PWM_TYPE 1 @READONLY | ||
ESC_TELEM_PORT 1 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
undef HAL_WITH_ESC_TELEM | ||
|
||
define CAN_APP_NODE_NAME "VOl-CPN-12-Motor-2" | ||
|
||
# enable ESC control | ||
define HAL_WITH_ESC_TELEM 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CAN_NODE 23 @READONLY | ||
OUT1_FUNCTION 35 @READONLY | ||
OUT1_MIN 1000 @READONLY | ||
OUT1_MAX 2000 @READONLY | ||
OUT1_TRIM 1000 @READONLY | ||
ESC_PWM_TYPE 1 @READONLY | ||
ESC_TELEM_PORT 1 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
undef HAL_WITH_ESC_TELEM | ||
|
||
define CAN_APP_NODE_NAME "VOl-CPN-23-Motor-3" | ||
|
||
# enable ESC control | ||
define HAL_WITH_ESC_TELEM 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CAN_NODE 24 @READONLY | ||
OUT1_FUNCTION 36 @READONLY | ||
OUT1_MIN 1000 @READONLY | ||
OUT1_MAX 2000 @READONLY | ||
OUT1_TRIM 1000 @READONLY | ||
ESC_PWM_TYPE 1 @READONLY | ||
ESC_TELEM_PORT 1 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
undef HAL_WITH_ESC_TELEM | ||
|
||
define CAN_APP_NODE_NAME "VOl-CPN-24-Motor-4" | ||
|
||
# enable ESC control | ||
define HAL_WITH_ESC_TELEM 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CAN_NODE 15 @READONLY | ||
OUT1_FUNCTION 37 @READONLY | ||
OUT1_MIN 1000 @READONLY | ||
OUT1_MAX 2000 @READONLY | ||
OUT1_TRIM 1000 @READONLY | ||
ESC_PWM_TYPE 1 @READONLY | ||
ESC_TELEM_PORT 1 @READONLY | ||
BARO_ENABLE 1 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
undef HAL_WITH_ESC_TELEM | ||
undef HAL_PERIPH_ENABLE_BATTERY | ||
undef HAL_PERIPH_ENABLE_GPS | ||
undef HAL_PERIPH_GPS_PORT_DEFAULT | ||
undef HAL_PERIPH_ENABLE_NOTIFY | ||
undef HAL_PERIPH_ENABLE_MAG | ||
undef HAL_PROBE_EXTERNAL_I2C_COMPASSES | ||
undef HAL_PERIPH_ENABLE_BARO | ||
|
||
define CAN_APP_NODE_NAME "VOl-CPN-15-Pusher" | ||
|
||
# enable ESC control | ||
define HAL_WITH_ESC_TELEM 1 | ||
|
||
# enable GPS | ||
define HAL_PERIPH_ENABLE_GPS | ||
define HAL_PERIPH_GPS_PORT_DEFAULT 2 | ||
define HAL_PERIPH_ENABLE_NOTIFY | ||
|
||
# enable Compass | ||
define HAL_PERIPH_ENABLE_MAG | ||
define HAL_PROBE_EXTERNAL_I2C_COMPASSES | ||
COMPASS IST8310 I2C:ALL_EXTERNAL:0x0E true ROTATION_NONE | ||
|
||
#enable baro | ||
define HAL_PERIPH_ENABLE_BARO | ||
BARO MS56XX I2C:0:0x76 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CAN_NODE 27 @READONLY | ||
OUT1_FUNCTION 61 @READONLY | ||
OUT1_REVERSED 1 @READONLY | ||
OUT2_FUNCTION 57 @READONLY | ||
OUT2_REVERSED 0 @READONLY | ||
COMPASS_ENABLE 1 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
undef HAL_PERIPH_ENABLE_ADSB | ||
undef HAL_PERIPH_ADSB_PORT_DEFAULT | ||
undef HAL_PERIPH_ADSB_BAUD_DEFAULT | ||
undef HAL_PERIPH_ENABLE_MAG | ||
|
||
define CAN_APP_NODE_NAME "VOl-CPN-27-Right-Tail" | ||
|
||
# default ADSB off by setting 0 baudrate | ||
define HAL_PERIPH_ENABLE_ADSB | ||
define HAL_PERIPH_ADSB_PORT_DEFAULT 3 | ||
define HAL_PERIPH_ADSB_BAUD_DEFAULT 57600 | ||
|
||
# enable Compass | ||
define HAL_PERIPH_ENABLE_MAG | ||
COMPASS QMC5883P I2C:0:0x2C false ROTATION_YAW_180 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
CAN_NODE 16 @READONLY | ||
OUT1_FUNCTION 60 @READONLY | ||
OUT1_REVERSED 0 @READONLY | ||
OUT2_FUNCTION 59 @READONLY | ||
OUT2_MIN 200 @READONLY | ||
OUT2_MAX 10000 @READONLY | ||
OUT2_TRIM 5000 @READONLY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../CarbonixF405/hwdef-bl.dat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include ../CarbonixF405/hwdef.dat | ||
|
||
undef CAN_APP_NODE_NAME | ||
|
||
define CAN_APP_NODE_NAME "VOl-CPN-16-Right-Wing" |