Skip to content

Commit d0fac79

Browse files
committed
wip
1 parent c63dfe5 commit d0fac79

File tree

21 files changed

+299
-71
lines changed

21 files changed

+299
-71
lines changed

bootloader/Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,19 @@ uavcan_nodestatus_publisher \
2424
uavcan_allocatee \
2525
spi_device \
2626
driver_profiLED \
27-
uavcan_timesync
27+
uavcan_timesync \
28+
uavcan_debug
2829

2930
MESSAGES_ENABLED = \
3031
uavcan.protocol.GetNodeInfo \
3132
uavcan.protocol.file.BeginFirmwareUpdate \
3233
uavcan.protocol.file.Read \
3334
uavcan.protocol.RestartNode \
34-
uavcan.equipment.indication.LightsCommand
35+
uavcan.equipment.indication.LightsCommand \
36+
com.hex.file.FileStreamStart \
37+
com.hex.file.FileStreamChunk
38+
39+
DSDL_NAMESPACE_DIRS += dsdl/com
3540

3641
LOAD_REGION = bl
3742

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
int18[3] body_pos_mm
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
uavcan.Timestamp timestamp
2+
uint8[16] base_in_use_hwid
3+
void6
4+
uint2 CARRIER_SOLUTION_TYPE_NONE = 0
5+
uint2 CARRIER_SOLUTION_TYPE_FLOAT = 1
6+
uint2 CARRIER_SOLUTION_TYPE_FIXED = 2
7+
uint2 carrier_solution_type
8+
float32[<=3] pos_rel_body
9+
float32[3] pos_rel_ecef
10+
float16[<=6] pos_rel_ecef_covariance
474 Bytes
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
bool preserve_source
2+
bool overwrite_destination
3+
void6
4+
5+
uavcan.protocol.file.Path source
6+
uavcan.protocol.file.Path destination
7+
8+
---
9+
10+
uavcan.protocol.file.Error error
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
uavcan.protocol.file.Path path
2+
uint40 offset
3+
---
4+
uavcan.protocol.file.Error error
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
uint8 source_node_id
2+
uavcan.protocol.file.Path source_path
3+
uavcan.protocol.file.Path dest_path
4+
---
5+
void7
6+
bool ack
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
uavcan.protocol.file.Path path
2+
uint40 offset
3+
uint8[<=256] data

bootloader/openocd.cfg

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
source [find interface/stlink.cfg]
22
source [find target/stm32h7x.cfg]
3-
reset_config srst_only separate connect_assert_srst
4-
$_TARGETNAME configure -rtos ChibiOS
5-
$_TARGETNAME configure -event gdb-attach {
6-
halt
7-
}
8-
$_TARGETNAME configure -event gdb-attach {
9-
reset init
10-
}
3+
$_CHIPNAME.cpu0 configure -rtos ChibiOS
114
init
12-
reset halt

bootloader/out.bin

42.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)