-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathframework_conf.h
More file actions
38 lines (30 loc) · 1.33 KB
/
framework_conf.h
File metadata and controls
38 lines (30 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once
//
// Configure worker threads
//
#define TIMING_WORKER_THREAD lpwork_thread
#define UAVCAN_NODESTATUS_PUBLISHER_WORKER_THREAD lpwork_thread
#define CAN_AUTOBAUD_WORKER_THREAD lpwork_thread
#define UAVCAN_PARAM_INTERFACE_WORKER_THREAD lpwork_thread
#define UAVCAN_GETNODEINFO_SERVER_WORKER_THREAD lpwork_thread
#define UAVCAN_RESTART_WORKER_THREAD lpwork_thread
#define UAVCAN_BEGINFIRMWAREUPDATE_SERVER_WORKER_THREAD lpwork_thread
#define UAVCAN_ALLOCATEE_WORKER_THREAD lpwork_thread
#define BOOTLOADER_APP_THREAD lpwork_thread
#define LOGGER_WORKER_THREAD lpwork_thread
#define USB_SLCAN_WORKER_THREAD can_thread
#define CAN_TRX_WORKER_THREAD can_thread
#define CAN_EXPIRE_WORKER_THREAD can_thread
#define UAVCAN_RX_WORKER_THREAD can_thread
//
// Configure topic groups
//
#define PUBSUB_DEFAULT_TOPIC_GROUP default_topic_group
//
// Configure debug checks
//
#define CH_DBG_SYSTEM_STATE_CHECK TRUE
#define CH_DBG_ENABLE_CHECKS TRUE
#define CH_DBG_ENABLE_ASSERTS TRUE
#define CH_DBG_ENABLE_STACK_CHECK TRUE
#define CAN_TX_QUEUE_LEN 256