Skip to content

Commit 28cabb3

Browse files
committed
wip
1 parent 3a2cfb1 commit 28cabb3

File tree

21 files changed

+126
-389
lines changed

21 files changed

+126
-389
lines changed

boards/com.hex.here_pro_2.0/board.c

Lines changed: 0 additions & 38 deletions
This file was deleted.

boards/com.hex.here_pro_2.0/board.h

Lines changed: 0 additions & 50 deletions
This file was deleted.

boards/com.hex.here_pro_2.0/board.mk

Lines changed: 0 additions & 4 deletions
This file was deleted.

boards/com.hex.here_pro_2.0/mcuconf.h

Lines changed: 0 additions & 190 deletions
This file was deleted.

bootloader/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ can \
2121
can_autobaud \
2222
uavcan \
2323
uavcan_nodestatus_publisher \
24-
uavcan_allocatee \
25-
usb_slcan
24+
uavcan_allocatee
2625

2726
MESSAGES_ENABLED = \
2827
uavcan.protocol.GetNodeInfo \

bootloader/include/framework_conf.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#define UAVCAN_BEGINFIRMWAREUPDATE_SERVER_WORKER_THREAD lpwork_thread
1414
#define UAVCAN_ALLOCATEE_WORKER_THREAD lpwork_thread
1515
#define BOOTLOADER_APP_THREAD lpwork_thread
16+
#define LOGGER_WORKER_THREAD lpwork_thread
1617
#define USB_SLCAN_WORKER_THREAD can_thread
1718

1819
#define CAN_TRX_WORKER_THREAD can_thread
@@ -29,9 +30,9 @@
2930
// Configure debug checks
3031
//
3132

32-
#define CH_DBG_SYSTEM_STATE_CHECK FALSE
33-
#define CH_DBG_ENABLE_CHECKS FALSE
34-
#define CH_DBG_ENABLE_ASSERTS FALSE
35-
#define CH_DBG_ENABLE_STACK_CHECK FALSE
33+
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
34+
#define CH_DBG_ENABLE_CHECKS TRUE
35+
#define CH_DBG_ENABLE_ASSERTS TRUE
36+
#define CH_DBG_ENABLE_STACK_CHECK TRUE
3637

3738
#define CAN_TX_QUEUE_LEN 256

bootloader/openocd.cfg

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

examples/basic_uavcan_functionality/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ uavcan_beginfirmwareupdate_server \
2222
uavcan_allocatee \
2323
uavcan_restart \
2424
freemem_check \
25-
uavcan_timesync \
26-
logger
25+
uavcan_timesync
2726

2827
MESSAGES_ENABLED = \
2928
uavcan.protocol.debug.LogMessage
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
source [find interface/stlink-v2-1.cfg]
2-
source [find target/stm32f3x.cfg]
2+
source [find target/stm32h7x.cfg]
3+
reset_config srst_only separate connect_assert_srst
4+
$_TARGETNAME configure
5+
# -rtos ChibiOS
36
init
4-
reset run
5-
$_TARGETNAME configure -rtos ChibiOS
7+
#reset run

0 commit comments

Comments
 (0)