Skip to content

Commit d76dffb

Browse files
committed
Update UAVCAN drivers, Add UAVCAN boot loader support. Add UAVCAN parameter support. Update get node info responses
1 parent 8b9e3bf commit d76dffb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+7346
-291
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ build
55
.project
66
.cproject
77
.settings/language.settings.xml
8+
.DS_Store
9+
workspace.code-workspace

hwconf/hw_410.h

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#define HW_410_H_
2020

2121
#define HW_NAME "410"
22+
#define HW_MAJOR 4
23+
#define HW_MINOR 10
2224

2325
// Macros
2426
#define ENABLE_GATE() palSetPad(GPIOC, 10)

hwconf/hw_60.h

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
#define HW_NAME "60"
3131
#endif
3232

33+
#define HW_MAJOR 6
34+
#define HW_MINOR 0
35+
3336
// HW properties
3437
#define HW_HAS_DRV8301
3538
#define HW_HAS_3_SHUNTS

libcanard/canard.mk

+12-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@ CANARDSRC = libcanard/canard.c \
22
libcanard/canard_driver.c \
33
libcanard/dsdl/uavcan/equipment/esc/esc_Status.c \
44
libcanard/dsdl/uavcan/equipment/esc/esc_RawCommand.c \
5-
libcanard/dsdl/uavcan/equipment/esc/esc_RPMCommand.c
5+
libcanard/dsdl/uavcan/equipment/esc/esc_RPMCommand.c \
6+
libcanard/dsdl/uavcan/protocol/protocol_GetNodeInfo.c \
7+
libcanard/dsdl/uavcan/protocol/protocol_HardwareVersion.c \
8+
libcanard/dsdl/uavcan/protocol/protocol_NodeStatus.c \
9+
libcanard/dsdl/uavcan/protocol/protocol_SoftwareVersion.c \
10+
libcanard/dsdl/uavcan/protocol/param/param_Empty.c \
11+
libcanard/dsdl/uavcan/protocol/param/param_ExecuteOpcode.c \
12+
libcanard/dsdl/uavcan/protocol/param/param_GetSet.c \
13+
libcanard/dsdl/uavcan/protocol/param/param_NumericValue.c \
14+
libcanard/dsdl/uavcan/protocol/param/param_Value.c \
15+
libcanard/dsdl/uavcan/protocol/file/file_BeginFirmwareUpdate.c \
16+
libcanard/dsdl/uavcan/protocol/file/file_Read.c
617

718
CANARDINC = libcanard \
819
libcanard/dsdl

0 commit comments

Comments
 (0)